Skip to main content
Version: 0.1.0

Biel.ai REST API (Beta)

Biel is an AI-powered documentation assistant that helps teams create, maintain, and interact with their technical documentation. It uses advanced language models to understand and answer questions about your documentation, making it easier for teams to find the information they need.

Key features

  • AI-powered documentation search and Q&A
  • Support for multiple documentation sources (files, URLs, sitemaps)
  • Team collaboration and access control
  • Customizable project settings and initial messages
  • Real-time chat interface for documentation queries

For more information, visit Biel.ai

Note: The API is only available for Business and Enterprise users. If you're interested in using the API, contact us to upgrade your plan.

Authorization & permissions

Biel.ai REST API uses a granular permission system with API key authentication. The access requirements depend on whether your project is public or private:

Public projects

  • Read operations (like searching, getting project details) don't require authentication
  • Write operations (like uploading sources, creating chats) always require a valid API key with appropriate permissions

Private projects

  • All operations require a valid API key with appropriate permissions

Note: You can configure whether your project is public or private in Project settings. Projects are public by default.

Available permissions

When creating an API key, you can assign specific permissions:

PermissionDescriptionRequired For
project_readRead project detailsGetting project information
project_searchSearch documents within projectsSearching project content, tracking search clicks
project_sources_readView project sourcesListing project sources (files, URLs, sitemaps)
project_sources_createUpload sourcesAdding files, URLs, and sitemaps to projects
project_sources_deleteDelete sourcesRemoving sources from projects
project_syncRefresh/sync project dataTriggering project data refresh
chat_createCreate chats and send messagesInteracting with the AI chat

Creating an API Key

  1. Log in to your Biel account at app.biel.ai.
  2. Navigate to Team.
  3. Scroll to the API Keys section.
  4. Click Create API Key.
  5. Give your key a descriptive name (e.g., "Frontend App", "Data Sync Service").
  6. Select the specific permissions you need:
    • Read only: Select project_read, project_search, project_sources_read for read-only access.
    • Read & write: Add project_sources_create, project_sources_delete, project_sync, chat_create for full access.
    • Custom: Choose specific permissions based on your needs.
  7. Click Create API Key.
  8. Important: Copy the API key immediately - you won't be able to view it again.

Using your API key

Include your API key in the Authorization header for all API requests:

Authorization: Api-Key <your-api-key>

Security notes:

  • Keep your API key secure and never share it publicly.
  • Use environment variables to store API keys in your applications.
  • Assign only the minimum permissions needed for your use case.
  • If compromised, regenerate your API key immediately in Team Settings.

Note: If your use case involves only search or read operations, you can expose an API keys with read-only permissions when necessary. However, always keep keys with write access private.

Authentication

API Key authentication using the format: Api-Key <your-api-key>

Create your API key in Team Settings and assign the required permissions for your use case.

Security Scheme Type:

apiKey

Header parameter name:

Authorization