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
| Permission | Allows |
|---|---|
projects_read | Read project details and list projects. |
projects_create | Create projects. |
projects_update | Update project settings. |
projects_delete | Delete projects. |
search | Search content, read indexed documents, track search clicks, and submit message feedback. |
sources_read | List and read project sources. |
sources_create | Add sources to projects. |
sources_delete | Remove sources. |
sync_create | Refresh all sources or recrawl one page. |
sync_read | Read sync status and logs. |
analytics_read | Read chat, search, MCP, and insights analytics. |
chats_create | Send messages and continue answers. |
chats_read | List and read conversations. |
chats_delete | Delete conversations. |
teams_update | Update 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
- In app.biel.ai, open Team and scroll to API keys.
- Click Create API key and enter a Key name.
- Under Project access, select the project. Choose All projects in this team for integrations that need team-level operations. Select only the required permissions.
- 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
- API Key: ApiKeyAuth
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 |