Skip to main content
Version: 2.0.0

Biel.ai API

Use the REST API to send messages, search and read documentation, manage projects and sources, and retrieve analytics.

Base URL: https://app.biel.ai

Chat, search, and indexed-document retrieval are included on every plan and during the trial. Private sources and private projects require Professional or higher. Source and project management, sync jobs, analytics API access, and team management require Business or Enterprise.

Starter requires the Powered by Biel.ai attribution in customer-facing interfaces. Professional and higher can remove Biel branding.

Answers, standalone searches, and document retrievals share your team's interaction allowance. New billable requests are blocked when it runs out, unless extra usage is enabled and your spending limit permits them.

See plan access for feature availability.

Versioning​

Use API v2 (/api/v2/) for new integrations. API v1 is scheduled for retirement in January 2027. See the migration guide to update an existing integration.

Authorization & permissions​

  • Public projects: Reading project configuration, searching, retrieving indexed documents, sending messages, tracking search clicks, and submitting feedback do not require an API key. Management operations require one. Check each endpoint's permissions.
  • Private projects: All operations require an API key.

Projects are public by default. To require authentication, open Settings > Security & Privacy > Access Control and enable Require authentication for all API access.

Available permissions​

PermissionAllows
projects_readRead project details and list projects.
projects_createCreate projects.
projects_updateUpdate project settings.
projects_deleteDelete projects.
searchSearch content, read indexed documents, track search clicks, and submit message feedback.
sources_readList and read project sources.
sources_createAdd sources to projects.
sources_deleteRemove sources.
sync_createRefresh all sources or recrawl one page.
sync_readRead sync status and logs.
analytics_readRead chat, search, MCP, and insights analytics.
chats_createSend messages and continue answers.
chats_readList and read conversations.
chats_deleteDelete conversations.
teams_updateUpdate team settings and manage members and invitations.

Keys with legacy permission names (project_read, project_search, project_sources_*, project_sync, chat_create) keep working. You do not need to replace them.

Create an API key​

  1. In app.biel.ai, open Team and scroll to API keys.
  2. Click Create API key and enter a Key name.
  3. Under Project access, select the project. Choose All projects in this team for integrations that need team-level operations. Select only the required permissions.
  4. Click Create API Key and copy the key. You cannot view it again.

Using your API key​

Send the key in the Authorization header:

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

Client-side keys are visible to visitors. Restrict them to one project and the permissions the widget needs. Search, document reads, and generated answers consume interactions. Keep keys with management permissions on your server.

Authentication​

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

Create a key in Team > API keys with access to the project and the permissions required by the endpoint.

Security Scheme Type:

apiKey

Header parameter name:

Authorization