# Bifrost: API ## API - [API / Integrations (179 pages)](https://docs.getbifrost.ai/_llms/api/integrations.txt): OpenAI Integration, Anthropic Integration, GenAI Integration, Bedrock Integration, Cohere Integration, Typesafe Integration, Cursor Integration, LiteLLM Integration, LangChain Integration, PydanticAI Integration. - [API / Platform (237 pages)](https://docs.getbifrost.ai/_llms/api/platform.txt): Health, Configuration, Session, Providers, Plugins, MCP, Virtual MCPs, MCP Tool Groups (deprecated), Agent Gateway, Relays, OAuth, Logging, Prompt Repository, Skills, Cache, Vault, Infrastructure, API Keys, Webhooks, Notifications, News Feeds, Warp. ### Authentication - [Creating API Keys](https://docs.getbifrost.ai/api/procuring-api-keys.md): Create and use API keys to call Bifrost management API endpoints. ### Inference #### Models - [List available models](https://docs.getbifrost.ai/api-reference/models/list-available-models.md): Lists available models. If provider is not specified, lists all models from all configured providers. #### Chat Completions - [Create a chat completion](https://docs.getbifrost.ai/api-reference/chat-completions/create-a-chat-completion.md): Creates a completion for the provided messages. Supports streaming via SSE. #### Text Completions - [Create a text completion](https://docs.getbifrost.ai/api-reference/text-completions/create-a-text-completion.md): Creates a completion for the provided prompt. Supports streaming via SSE. #### Responses - [Responses API over WebSocket](https://docs.getbifrost.ai/api-reference/responses/responses-api-over-websocket.md): Upgrades the connection to a WebSocket and runs the OpenAI Responses API in WebSocket Mode. Clients send `response.create` events on the socket and receive streamed events through the standard inference pipeline (PreLLMHook, key selection, provider call, PostLLMHook). - [Create a response](https://docs.getbifrost.ai/api-reference/responses/create-a-response.md): Creates a response using the OpenAI Responses API format. Supports streaming via SSE. - [Retrieve a response](https://docs.getbifrost.ai/api-reference/responses/retrieve-a-response.md): Retrieves a stored response by ID. - [Delete a response](https://docs.getbifrost.ai/api-reference/responses/delete-a-response.md): Deletes a stored response. - [Cancel a response](https://docs.getbifrost.ai/api-reference/responses/cancel-a-response.md): Cancels an in-flight response. Only responses created with `background: true` can be cancelled. - [List response input items](https://docs.getbifrost.ai/api-reference/responses/list-response-input-items.md): Lists the input items of a stored response. #### OCR - [Perform OCR](https://docs.getbifrost.ai/api-reference/ocr/perform-ocr.md): Extracts text and content from documents or images using optical character recognition. Supports PDF URLs, base64-encoded documents, and image URLs. #### Rerank - [Rerank documents](https://docs.getbifrost.ai/api-reference/rerank/rerank-documents.md): Reorders input documents by relevance to a query. #### Decisions - [Evaluate a decision](https://docs.getbifrost.ai/api-reference/decisions/evaluate-a-decision.md): Asks a list of questions about some input and returns one typed answer per question, in order, with per-answer confidence and probabilities. Served by any decision model: Typesafe's jev models (and Laya, Nimble, and Clef), or any chat model through structured output. #### Embeddings - [Create embeddings](https://docs.getbifrost.ai/api-reference/embeddings/create-embeddings.md): Creates an embedding vector representing the input text. #### Audio - [Create speech](https://docs.getbifrost.ai/api-reference/audio/create-speech.md): Generates audio from the input text. Returns audio data or streams via SSE. - [Create transcription](https://docs.getbifrost.ai/api-reference/audio/create-transcription.md): Transcribes audio into text in the input language. #### Images - [Generate an image](https://docs.getbifrost.ai/api-reference/images/generate-an-image.md): Generates images from text prompts using the specified model. - [Edit an image](https://docs.getbifrost.ai/api-reference/images/edit-an-image.md): Edits an image using a text prompt and optional mask. Accepts either `application/json` (sources as URLs or base64 under `images`) or `multipart/form-data` (to upload the image as `image` or `image[]`). Requires at least `model`, one image, and `prompt` - the latter except for the operation types dr… - [Create Variation](https://docs.getbifrost.ai/api-reference/images/create-variation.md): Creates variations of an image. Request must be sent as multipart/form-data with `model` and `image` (or `image[]`). Does not support streaming. #### Videos - [List video generation jobs](https://docs.getbifrost.ai/api-reference/videos/list-video-generation-jobs.md): Lists video generation jobs for a specific provider. Results are paginated and can be filtered using query parameters. - [Generate a video](https://docs.getbifrost.ai/api-reference/videos/generate-a-video.md): Creates a video generation job from a text prompt. This is an asynchronous operation that returns immediately with a job ID. Use the retrieve endpoint to check the status and get the video URL when generation is complete. - [Retrieve a video generation job](https://docs.getbifrost.ai/api-reference/videos/retrieve-a-video-generation-job.md): Retrieves the status and metadata for a video generation job. Use this endpoint to poll for completion status after creating a video generation job. When the status is "completed", the response will include a URL to download the video. - [Delete a video generation job](https://docs.getbifrost.ai/api-reference/videos/delete-a-video-generation-job.md): Deletes a video generation job and its associated assets. This operation cannot be undone. - [Download video content](https://docs.getbifrost.ai/api-reference/videos/download-video-content.md): Downloads the binary content of a generated video. The video must have a status of "completed" to be downloadable. Returns the raw video file (typically MP4 format). - [Remix a video](https://docs.getbifrost.ai/api-reference/videos/remix-a-video.md): Creates a new video generation job by remixing an existing video with a new prompt. The source video must have a status of "completed" to be remixed. Returns a new video generation job that can be polled for completion. #### Count Tokens - [Count tokens](https://docs.getbifrost.ai/api-reference/count-tokens/count-tokens.md): Counts the number of tokens in the provided messages. #### Compaction - [Compact context](https://docs.getbifrost.ai/api-reference/compaction/compact-context.md): Compresses a conversation into an opaque encrypted compaction item using the OpenAI-compatible context compaction API. #### Batch - [List batch jobs](https://docs.getbifrost.ai/api-reference/batch/list-batch-jobs.md): Lists batch jobs for a provider. - [Create a batch job](https://docs.getbifrost.ai/api-reference/batch/create-a-batch-job.md): Creates a batch job for asynchronous processing. - [Retrieve a batch job](https://docs.getbifrost.ai/api-reference/batch/retrieve-a-batch-job.md): Retrieves a specific batch job by ID. - [Cancel a batch job](https://docs.getbifrost.ai/api-reference/batch/cancel-a-batch-job.md): Cancels a batch job. - [Get batch results](https://docs.getbifrost.ai/api-reference/batch/get-batch-results.md): Retrieves results from a completed batch job. #### Files - [List files](https://docs.getbifrost.ai/api-reference/files/list-files.md): Lists files for a provider. - [Upload a file](https://docs.getbifrost.ai/api-reference/files/upload-a-file.md): Uploads a file to be used with batch operations or other features. - [Retrieve file metadata](https://docs.getbifrost.ai/api-reference/files/retrieve-file-metadata.md): Retrieves metadata for a specific file. - [Delete a file](https://docs.getbifrost.ai/api-reference/files/delete-a-file.md): Deletes a file. - [Download file content](https://docs.getbifrost.ai/api-reference/files/download-file-content.md): Downloads the content of a file. #### Containers - [List containers](https://docs.getbifrost.ai/api-reference/containers/list-containers.md): Lists containers for a provider. - [Create a container](https://docs.getbifrost.ai/api-reference/containers/create-a-container.md): Creates a new container for storing files and data. - [Retrieve a container](https://docs.getbifrost.ai/api-reference/containers/retrieve-a-container.md): Retrieves a specific container by ID. - [Delete a container](https://docs.getbifrost.ai/api-reference/containers/delete-a-container.md): Deletes a container. - [List files in a container](https://docs.getbifrost.ai/api-reference/containers/list-files-in-a-container.md): Lists all files in a container. - [Create a file in a container](https://docs.getbifrost.ai/api-reference/containers/create-a-file-in-a-container.md): Creates a new file in a container. You can either upload file content directly via multipart/form-data or reference an existing file by its ID. - [Retrieve a file from a container](https://docs.getbifrost.ai/api-reference/containers/retrieve-a-file-from-a-container.md): Retrieves metadata for a specific file in a container. - [Delete a file from a container](https://docs.getbifrost.ai/api-reference/containers/delete-a-file-from-a-container.md): Deletes a file from a container. - [Download file content from a container](https://docs.getbifrost.ai/api-reference/containers/download-file-content-from-a-container.md): Downloads the content of a file from a container. #### Async Jobs - [Create async chat completion](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-chat-completion.md): Submits a chat completion request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async text completion](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-text-completion.md): Submits a text completion request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async response](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-response.md): Submits a response request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async embedding](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-embedding.md): Submits an embedding request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. - [Create async speech](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-speech.md): Submits a speech synthesis request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. SSE streaming is not supported for async requests. - [Create async transcription](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-transcription.md): Submits a transcription request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async image generation](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-image-generation.md): Submits an image generation request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async image edit](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-image-edit.md): Submits an image edit request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. Streaming is not supported for async requests. - [Create async image variation](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-image-variation.md): Submits an image variation request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. - [Get async chat completion job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-chat-completion-job.md): Retrieves the status and result of an async chat completion job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async text completion job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-text-completion-job.md): Retrieves the status and result of an async text completion job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async response job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-response-job.md): Retrieves the status and result of an async response job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async embedding job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-embedding-job.md): Retrieves the status and result of an async embedding job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async speech job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-speech-job.md): Retrieves the status and result of an async speech job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async transcription job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-transcription-job.md): Retrieves the status and result of an async transcription job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async image generation job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-image-generation-job.md): Retrieves the status and result of an async image generation job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async image edit job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-image-edit-job.md): Retrieves the status and result of an async image edit job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Get async image variation job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-image-variation-job.md): Retrieves the status and result of an async image variation job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Create async rerank](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-rerank.md): Submits a rerank request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. - [Get async rerank job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-rerank-job.md): Retrieves the status and result of an async rerank job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. - [Create async OCR job](https://docs.getbifrost.ai/api-reference/async-jobs/create-async-ocr-job.md): Submits an OCR request for asynchronous execution. Returns a job ID immediately with HTTP 202. Poll the corresponding GET endpoint with the job ID to retrieve the result. - [Get async OCR job](https://docs.getbifrost.ai/api-reference/async-jobs/get-async-ocr-job.md): Retrieves the status and result of an async OCR job. Returns HTTP 202 if the job is still pending or processing, HTTP 200 if completed or failed. #### Realtime - [Realtime API WebSocket](https://docs.getbifrost.ai/api-reference/realtime/realtime-api-websocket.md): Opens a bidirectional WebSocket session to a realtime-capable provider (e.g. OpenAI Realtime, Azure Realtime preview, Bedrock Nova Sonic). Bifrost proxies the upstream session and applies governance, observability, and key selection on connect. - [Realtime WebRTC SDP exchange](https://docs.getbifrost.ai/api-reference/realtime/realtime-webrtc-sdp-exchange.md): Negotiates a WebRTC peer connection with the realtime provider on behalf of the client. Implements the OpenAI GA `/realtime/calls` contract: the request body is `multipart/form-data` with `sdp` (client SDP offer) and `session` (JSON session description containing `model`). - [Mint a realtime ephemeral client secret](https://docs.getbifrost.ai/api-reference/realtime/mint-a-realtime-ephemeral-client-secret.md): Calls the upstream realtime provider's `client_secrets` endpoint to mint a short-lived ephemeral token (e.g. for browser-based WebRTC clients). Bifrost selects a provider key, evaluates governance, and proxies the response. The returned token is cached and mapped to the originating virtual key for d… - [Mint a realtime session (legacy alias)](https://docs.getbifrost.ai/api-reference/realtime/mint-a-realtime-session-legacy-alias.md): Legacy alias for the realtime client-secret minting endpoint. Behaves identically to `createRealtimeClientSecret` but uses the `sessions` route shape; provided for compatibility with older OpenAI Realtime client libraries. ### Governance #### Teams - [List teams](https://docs.getbifrost.ai/api-reference/governance/list-teams.md): Returns a list of all teams. - [Create team](https://docs.getbifrost.ai/api-reference/governance/create-team.md): Creates a new team. - [Get team](https://docs.getbifrost.ai/api-reference/governance/get-team.md): Returns a specific team by ID. - [Update team](https://docs.getbifrost.ai/api-reference/governance/update-team.md): Updates an existing team. - [Delete team](https://docs.getbifrost.ai/api-reference/governance/delete-team.md): Deletes a team. - [List team members](https://docs.getbifrost.ai/api-reference/teams/list-team-members.md): Returns all members of a team with their user details and membership source. - [Add team member](https://docs.getbifrost.ai/api-reference/teams/add-team-member.md): Adds a user to a team. Both the team and user must exist. - [Remove team member](https://docs.getbifrost.ai/api-reference/teams/remove-team-member.md): Removes a user from a team. - [Get user's teams](https://docs.getbifrost.ai/api-reference/users/get-users-teams.md): Returns the list of teams a user belongs to, including the membership source. - [Update user's team assignments](https://docs.getbifrost.ai/api-reference/users/update-users-team-assignments.md): Replaces the user's manual team assignments. Synced team memberships (from SCIM providers) are preserved and cannot be removed via this endpoint. - [List customers attached to a team](https://docs.getbifrost.ai/api-reference/teams/list-customers-attached-to-a-team.md) - [Attach a customer to a team](https://docs.getbifrost.ai/api-reference/teams/attach-a-customer-to-a-team.md) - [Detach a customer from a team](https://docs.getbifrost.ai/api-reference/teams/detach-a-customer-from-a-team.md) - [List teams attached to a customer](https://docs.getbifrost.ai/api-reference/customers/list-teams-attached-to-a-customer.md) #### Virtual Keys - [List virtual keys](https://docs.getbifrost.ai/api-reference/governance/list-virtual-keys.md): Returns a list of all virtual keys with their configurations. - [Create virtual key](https://docs.getbifrost.ai/api-reference/governance/create-virtual-key.md): Creates a new virtual key with the specified configuration. - [Get virtual key quota](https://docs.getbifrost.ai/api-reference/governance/get-virtual-key-quota.md): Returns the overall budget and rate limit quota for the authenticated virtual key, as well as per-provider and per-model budgets and rate limits (with current usage). Each budget also carries the actual per-model usage for its current cycle. This is a self-service endpoint - no admin authentication… - [Rotate multiple virtual keys](https://docs.getbifrost.ai/api-reference/governance/rotate-multiple-virtual-keys.md): Generates a new value for each listed virtual key. When the client vk_rotation_cooldown setting is non-zero, each retired value keeps authenticating until previous_value_expires_at; otherwise it stops working immediately. If the cooldown setting cannot be read, the keys rotate with a zero cooldown,… - [Get virtual key](https://docs.getbifrost.ai/api-reference/governance/get-virtual-key.md): Returns a specific virtual key by ID. - [Update virtual key](https://docs.getbifrost.ai/api-reference/governance/update-virtual-key.md): Updates an existing virtual key's configuration. - [Delete virtual key](https://docs.getbifrost.ai/api-reference/governance/delete-virtual-key.md): Deletes a virtual key. - [Rotate virtual key](https://docs.getbifrost.ai/api-reference/governance/rotate-virtual-key.md): Generates a new credential value for the virtual key while leaving its configuration, assignments, budgets, and rate limits unchanged. - [List users attached to a virtual key](https://docs.getbifrost.ai/api-reference/virtual-keys/list-users-attached-to-a-virtual-key.md) - [Attach users to a virtual key](https://docs.getbifrost.ai/api-reference/virtual-keys/attach-users-to-a-virtual-key.md) - [Detach a user from a virtual key](https://docs.getbifrost.ai/api-reference/virtual-keys/detach-a-user-from-a-virtual-key.md) - [Set virtual key budget override](https://docs.getbifrost.ai/api-reference/governance/set-virtual-key-budget-override.md): Sets or replaces the spending override on one of a virtual key's budgets. The override is additive — while it is active the budget is enforced against `max_limit + override_amount` — and it leaves the budget's base limit, current usage, and reset schedule untouched. - [Remove virtual key budget override](https://docs.getbifrost.ai/api-reference/governance/remove-virtual-key-budget-override.md): Removes any active override from the budget, so it is enforced against its base `max_limit` again. The budget's current usage and reset schedule are unchanged, and the removal is permanent — a cleared grant cannot be re-derived. Safe to call on a budget that has no override. - [List virtual keys available to a user](https://docs.getbifrost.ai/api-reference/users/list-virtual-keys-available-to-a-user.md): Returns every virtual key assigned to the user, independent of access profiles, so directly-assigned standalone keys are visible alongside profile-issued ones. - [Mint an extra virtual key for a user](https://docs.getbifrost.ai/api-reference/users/mint-an-extra-virtual-key-for-a-user.md): Issues an additional virtual key for the user. - [Get user's virtual keys by email](https://docs.getbifrost.ai/api-reference/users/get-users-virtual-keys-by-email.md): **Enterprise only.** Returns all virtual keys associated with a user, looked up by email address. Returns an empty `virtual_keys` array when the user exists but has no virtual keys assigned. Intended for MDM and credential-helper integrations that need to resolve a user's keys without knowing their… #### Customers - [List customers](https://docs.getbifrost.ai/api-reference/governance/list-customers.md): Returns a list of all customers. - [Create customer](https://docs.getbifrost.ai/api-reference/governance/create-customer.md): Creates a new customer. - [Get customer](https://docs.getbifrost.ai/api-reference/governance/get-customer.md): Returns a specific customer by ID. - [Update customer](https://docs.getbifrost.ai/api-reference/governance/update-customer.md): Updates an existing customer. - [Delete customer](https://docs.getbifrost.ai/api-reference/governance/delete-customer.md): Deletes a customer. #### Users - [List users](https://docs.getbifrost.ai/api-reference/users/list-users.md): Returns a paginated list of users with optional search. - [Create user](https://docs.getbifrost.ai/api-reference/users/create-user.md): Manually creates a new user in the organization. - [Get user](https://docs.getbifrost.ai/api-reference/users/get-user.md): Returns a single Enterprise user. - [Delete user](https://docs.getbifrost.ai/api-reference/users/delete-user.md): Permanently removes a user from the organization. This cascades to delete the user's governance settings (budget/rate limits), team memberships, access profiles, and OIDC sessions. Cannot delete yourself. - [Get user by email](https://docs.getbifrost.ai/api-reference/users/get-user-by-email.md): Returns a single Enterprise user resolved by URL-encoded email address. - [Get current user permissions](https://docs.getbifrost.ai/api-reference/users/get-current-user-permissions.md): Returns the RBAC permissions for the authenticated user. When SCIM is not enabled, returns full permissions for all resources. Otherwise returns the permissions associated with the user's assigned role. - [Get the calling user's virtual-key creation policy](https://docs.getbifrost.ai/api-reference/users/get-the-calling-users-virtual-key-creation-policy.md): Resolves the access profile that would govern a virtual key the **calling** user creates, returning its name or none. Whether governance applies at all is decided separately from the `VirtualKeys:CreateStandalone` permission (see `/api/governance/users/me/permissions`); this endpoint only resolves t… - [Assign role to user](https://docs.getbifrost.ai/api-reference/users/assign-role-to-user.md): Assigns an RBAC role to a user. This also auto-assigns the default access profile for the new role and reloads the RBAC permission cache. - [Create user governance](https://docs.getbifrost.ai/api-reference/users/create-user-governance.md) - [Update user governance](https://docs.getbifrost.ai/api-reference/users/update-user-governance.md) - [Delete user governance](https://docs.getbifrost.ai/api-reference/users/delete-user-governance.md) #### Business Units - [List business units](https://docs.getbifrost.ai/api-reference/governance/list-business-units.md): Returns a paginated list of business units, each with its user count. - [Create business unit](https://docs.getbifrost.ai/api-reference/governance/create-business-unit.md): Creates a new business unit. Names must be unique. - [Get business unit](https://docs.getbifrost.ai/api-reference/governance/get-business-unit.md): Returns a specific business unit by ID, including governance and user count. - [Update business unit](https://docs.getbifrost.ai/api-reference/governance/update-business-unit.md): Updates the business unit name. - [Delete business unit](https://docs.getbifrost.ai/api-reference/governance/delete-business-unit.md): Deletes a business unit. Every user membership of it is atomically removed as part of the deletion, and each affected user's governance is refreshed so the business unit stops applying to their requests. - [List business unit users](https://docs.getbifrost.ai/api-reference/governance/list-business-unit-users.md): Returns a paginated list of users that belong to the business unit, each with the provenance of its membership edge so a caller can tell an admin assignment apart from an identity-provider-synced one. - [Assign user to business unit](https://docs.getbifrost.ai/api-reference/governance/assign-user-to-business-unit.md): Assigns an existing user to the business unit. Membership is many-to-many, so a user may belong to several business units and there is no conflict to reject. - [Remove user from business unit](https://docs.getbifrost.ai/api-reference/governance/remove-user-from-business-unit.md): Removes a user's membership of the business unit. - [Create business unit governance](https://docs.getbifrost.ai/api-reference/governance/create-business-unit-governance.md): Configures budget and/or rate limit governance for a business unit. At least one of `budget` or `rate_limit` is required. Returns 409 if the business unit already has governance configured (use PUT to update). - [Update business unit governance](https://docs.getbifrost.ai/api-reference/governance/update-business-unit-governance.md): Updates budget and/or rate limit governance for a business unit. Passing an empty `budget` or `rate_limit` object removes that governance component. - [Delete business unit governance](https://docs.getbifrost.ai/api-reference/governance/delete-business-unit-governance.md): Removes all budget and rate limit governance from a business unit. - [List customers attached to a business unit](https://docs.getbifrost.ai/api-reference/business-units/list-customers-attached-to-a-business-unit.md) - [Attach customers to a business unit](https://docs.getbifrost.ai/api-reference/business-units/attach-customers-to-a-business-unit.md) - [Detach a customer from a business unit](https://docs.getbifrost.ai/api-reference/business-units/detach-a-customer-from-a-business-unit.md) - [List business units attached to a customer](https://docs.getbifrost.ai/api-reference/customers/list-business-units-attached-to-a-customer.md) #### Access Profiles - [List access profiles](https://docs.getbifrost.ai/api-reference/access-profiles/list-access-profiles.md): Returns access profiles visible to the caller. - [Create access profile](https://docs.getbifrost.ai/api-reference/access-profiles/create-access-profile.md): Creates a new access profile template. The profile is inactive until attached to a role. No size limits are enforced on create; the limits apply on update. - [Get access profile by ID](https://docs.getbifrost.ai/api-reference/access-profiles/get-access-profile-by-id.md): Returns the profile plus its role attachments and the count of users holding a copy. - [Update access profile](https://docs.getbifrost.ai/api-reference/access-profiles/update-access-profile.md): Partial update. Omitted fields preserve the current value. `rate_limit: null` explicitly clears the existing rate limit. Size limits enforced: max 100 provider_configs, max 100 budgets, max 50 tags. - [Delete access profile](https://docs.getbifrost.ai/api-reference/access-profiles/delete-access-profile.md): Blocked with 409 if any users still hold copies. Detach role attachments or remove user assignments first. - [Activate access profile](https://docs.getbifrost.ai/api-reference/access-profiles/activate-access-profile.md): Sets the profile active. Idempotent. - [Deactivate access profile](https://docs.getbifrost.ai/api-reference/access-profiles/deactivate-access-profile.md): Sets the profile inactive. Idempotent. User copies are preserved; the profile is hidden from selection menus. - [Clone an access profile](https://docs.getbifrost.ai/api-reference/access-profiles/clone-an-access-profile.md): Creates a fresh copy of the profile under a new name. The clone has no role attachments or user copies. - [Propagate template changes to user copies](https://docs.getbifrost.ai/api-reference/access-profiles/propagate-template-changes-to-user-copies.md): Pushes selected fields from the template to every user that holds a copy. Use `dry_run: true` to preview the impact. By default, accumulated usage is preserved. - [Attach roles to access profile](https://docs.getbifrost.ai/api-reference/access-profiles/attach-roles-to-access-profile.md): Attaches one or more roles. Setting `is_default: true` makes the profile the role's default for new users. `apply_to_existing: true` provisions the profile to users already in the role. - [Detach role from access profile](https://docs.getbifrost.ai/api-reference/access-profiles/detach-role-from-access-profile.md) - [List version snapshots for an access profile](https://docs.getbifrost.ai/api-reference/access-profiles/list-version-snapshots-for-an-access-profile.md) - [Get a single version snapshot](https://docs.getbifrost.ai/api-reference/access-profiles/get-a-single-version-snapshot.md) - [List audit log entries for a single profile](https://docs.getbifrost.ai/api-reference/access-profiles/list-audit-log-entries-for-a-single-profile.md) - [List workspace-wide audit log entries](https://docs.getbifrost.ai/api-reference/access-profiles/list-workspace-wide-audit-log-entries.md) - [List access profiles held by a user](https://docs.getbifrost.ai/api-reference/access-profiles/list-access-profiles-held-by-a-user.md) - [Detach a user's access profile](https://docs.getbifrost.ai/api-reference/access-profiles/detach-a-users-access-profile.md): Removes the profile from the user and deletes every virtual key it produced. Fails closed if a virtual key cannot be deleted. - [Set a user's access-profile budget override](https://docs.getbifrost.ai/api-reference/access-profiles/set-a-users-access-profile-budget-override.md): Sets or replaces the spending override on one budget of a single user's copy of an access profile. The override is additive — while it is active the budget is enforced against `max_limit + override_amount` — and it leaves the budget's base limit, current usage, and reset schedule untouched. Only thi… - [Remove a user's access-profile budget override](https://docs.getbifrost.ai/api-reference/access-profiles/remove-a-users-access-profile-budget-override.md): Removes any active override from the user's budget, so it is enforced against its base `max_limit` again. The budget's current usage and reset schedule are unchanged, and the removal is permanent — a cleared grant cannot be re-derived. Safe to call on a budget that has no override. - [Add an extra virtual key under a user's access profile (deprecated) (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/add-an-extra-virtual-key-under-a-users-access-profile-deprecated-deprecated-path.md): Issues an additional virtual key for the user. - [Delete a virtual key from a user's access profile](https://docs.getbifrost.ai/api-reference/access-profiles/delete-a-virtual-key-from-a-users-access-profile.md) #### Projects - [List projects](https://docs.getbifrost.ai/api-reference/projects/list-projects.md): Returns projects visible to the caller: those they created, those with no recorded creator, and those they belong to. Each project's roster is narrowed the same way, so `members` is a subset of the true roster and `pagination.total` counts only what the caller may see. - [Create project](https://docs.getbifrost.ai/api-reference/projects/create-project.md): Creates a project. `access_rule` is required and has no default, since a rule that could be assumed might widen a request. The project starts with no members: add the roster through the member routes. - [Get project](https://docs.getbifrost.ai/api-reference/projects/get-project.md): Returns one project with its caps, its provider and MCP access, and the part of its roster the caller may see. A project outside the caller's data access reads as not found rather than forbidden. - [Update project](https://docs.getbifrost.ai/api-reference/projects/update-project.md): Applies a patch to the stored project. Fields the body omits are left as stored, and child lists are paired with their stored rows by `id`, so a cap keeps its accumulated spend and its window across an edit while a child the body stops naming is deleted. - [Delete project](https://docs.getbifrost.ai/api-reference/projects/delete-project.md): Deletes the project with its providers, its caps, the spend recorded against them, and its roster. A roster is not a reason to refuse, so there is no force flag. Log rows keep the attribution they already carry. - [List project members](https://docs.getbifrost.ai/api-reference/projects/list-project-members.md): Returns the roster with each member's caps, narrowed to what the caller's data access permits. There is no pagination on this route. - [Add project members](https://docs.getbifrost.ai/api-reference/projects/add-project-members.md): Adds users to the roster. The call is create-only: a user already on the roster keeps their existing membership and caps. - [Update project member caps](https://docs.getbifrost.ai/api-reference/projects/update-project-member-caps.md): Restates one member's caps in full: a source the body does not name loses its cap, and an empty body clears every cap the member holds. The member's identity is not editable. - [Remove project member](https://docs.getbifrost.ai/api-reference/projects/remove-project-member.md): Removes a member from the roster and deletes the caps derived for them. On a project with `split_policy: equal` this enlarges every remaining member's slice, and the recalculation is queued and reported as `redivision_job_id`. - [List a user's projects](https://docs.getbifrost.ai/api-reference/projects/list-a-users-projects.md): Returns the projects the named user belongs to, intersected with the projects the caller may see, so asking about a user reveals nothing the caller could not already read. An unknown user returns an empty list rather than a not-found error. #### RBAC - [List roles](https://docs.getbifrost.ai/api-reference/rbac/list-roles.md): Returns all roles visible to the caller, scoped by data access control. - [Create role](https://docs.getbifrost.ai/api-reference/rbac/create-role.md): Creates a custom role with the specified data access control scope. If `dac` is omitted, defaults to `all-data`. - [Get role by ID](https://docs.getbifrost.ai/api-reference/rbac/get-role-by-id.md) - [Update role](https://docs.getbifrost.ai/api-reference/rbac/update-role.md): Partial update. Omitted fields preserve the current value. Notable: omitting `dac` preserves the current scope (does not default to `all-data`). - [Delete role](https://docs.getbifrost.ai/api-reference/rbac/delete-role.md): Deletes a custom role. Built-in system roles cannot be deleted and return 403. - [List permissions assigned to a role](https://docs.getbifrost.ai/api-reference/rbac/list-permissions-assigned-to-a-role.md) - [Replace the permission set on a role](https://docs.getbifrost.ai/api-reference/rbac/replace-the-permission-set-on-a-role.md): Replaces the permission set assigned to the role. Send the complete list of permission IDs that should be active for the role. - [List RBAC resources](https://docs.getbifrost.ai/api-reference/rbac/list-rbac-resources.md): Returns the set of resource names that permissions can target. - [List RBAC operations](https://docs.getbifrost.ai/api-reference/rbac/list-rbac-operations.md): Returns the set of operation names that permissions can grant. - [List all RBAC permissions](https://docs.getbifrost.ai/api-reference/rbac/list-all-rbac-permissions.md): Returns every (resource, operation) pair that can be granted to a role. #### Audit Logs - [List audit logs](https://docs.getbifrost.ai/api-reference/audit-logs/list-audit-logs.md): Retrieves CADF-compliant audit log events with filtering, search, and pagination via query parameters. Most filter dimensions accept either a single value (singular parameter, e.g. `action`) or a JSON-encoded array of values (plural parameter, e.g. `actions`); when both are supplied the plural array… - [Get audit log filter data](https://docs.getbifrost.ai/api-reference/audit-logs/get-audit-log-filter-data.md): Returns the distinct values available for each audit log filter dimension, used to populate filter dropdowns in the dashboard. - [Export audit logs](https://docs.getbifrost.ai/api-reference/audit-logs/export-audit-logs.md): Streams audit log events matching the supplied filters as a downloadable file. Accepts the same filter query parameters as `GET /api/governance/audit-logs`. The response is returned as an attachment with a generated filename. Exported events include the `changes` diff. Requires `AuditLogs:Download`;… - [Get audit log by ID](https://docs.getbifrost.ai/api-reference/audit-logs/get-audit-log-by-id.md): Retrieves a single audit log event by its unique ID, including its `changes` diff. - [Verify audit log signature](https://docs.getbifrost.ai/api-reference/audit-logs/verify-audit-log-signature.md): Recomputes the HMAC-SHA256 signature for a single audit log event and compares it (in constant time) against the stored signature to detect tampering. The response reports the result, the signature scheme and the key ID. It never returns the expected signature, since a reader holding it could forge… #### Budgets & Rate Limits - [List budgets](https://docs.getbifrost.ai/api-reference/governance/list-budgets.md): Returns a list of all budgets. Use the `from_memory` query parameter to get data from in-memory cache. - [List rate limits](https://docs.getbifrost.ai/api-reference/governance/list-rate-limits.md): Returns a list of all rate limits. Use the `from_memory` query parameter to get data from in-memory cache. - [Approve a budget increase request](https://docs.getbifrost.ai/api-reference/governance/approve-a-budget-increase-request.md): Approves a pending budget increase request and applies the approved amount as an override on the target budget. The override is additive: the budget's `max_limit`, `current_usage` and reset schedule are unchanged. The status change and the override write happen in one transaction, so a failed write… #### Model Configs - [List model limits](https://docs.getbifrost.ai/api-reference/governance/list-model-limits.md): Returns a paginated list of model limits with their budget and rate limit settings. - [Create model config](https://docs.getbifrost.ai/api-reference/governance/create-model-config.md): Creates a new model configuration with budget and rate limit settings. - [Get model config](https://docs.getbifrost.ai/api-reference/governance/get-model-config.md): Returns a specific model configuration by ID. - [Update model config](https://docs.getbifrost.ai/api-reference/governance/update-model-config.md): Updates an existing model configuration's budget and rate limit settings. - [Delete model config](https://docs.getbifrost.ai/api-reference/governance/delete-model-config.md): Deletes a model configuration. #### Provider Governance - [List provider governance](https://docs.getbifrost.ai/api-reference/governance/list-provider-governance.md): Returns a list of all providers with their governance settings (budget and rate limits). - [Update provider governance](https://docs.getbifrost.ai/api-reference/governance/update-provider-governance.md): Updates governance settings (budget and rate limits) for a specific provider. - [Delete provider governance](https://docs.getbifrost.ai/api-reference/governance/delete-provider-governance.md): Removes governance settings (budget and rate limits) for a specific provider. #### Pricing Overrides - [List pricing overrides](https://docs.getbifrost.ai/api-reference/governance/list-pricing-overrides.md): Returns all pricing overrides, optionally filtered by scope. - [Create pricing override](https://docs.getbifrost.ai/api-reference/governance/create-pricing-override.md): Creates a new pricing override. The most specific matching scope always wins during cost resolution. - [Update pricing override](https://docs.getbifrost.ai/api-reference/governance/update-pricing-override.md): Updates an existing pricing override. Omitted fields are merged from the existing record. The `patch` field is always replaced in full when provided. - [Delete pricing override](https://docs.getbifrost.ai/api-reference/governance/delete-pricing-override.md): Deletes a pricing override by ID. ### Routing #### Routing Rules - [List routing rules](https://docs.getbifrost.ai/api-reference/routing/list-routing-rules.md): Returns a list of all routing rules configured for intelligent request routing across providers. - [Create routing rule](https://docs.getbifrost.ai/api-reference/routing/create-routing-rule.md): Creates a new CEL-based routing rule for intelligent request routing. Provider and model can be left empty to use the incoming request values. Only `name` and at least one target are required: `scope` defaults to `global`, `priority` to `0`, `enabled` to `true` and `chain_rule` to `false`, and an em… - [Get routing rule](https://docs.getbifrost.ai/api-reference/routing/get-routing-rule.md): Returns a specific routing rule by ID. - [Update routing rule](https://docs.getbifrost.ai/api-reference/routing/update-routing-rule.md): Updates an existing routing rule's configuration. - [Delete routing rule](https://docs.getbifrost.ai/api-reference/routing/delete-routing-rule.md): Deletes a routing rule. #### Complexity Analyzer - [Get complexity analyzer config](https://docs.getbifrost.ai/api-reference/routing/get-complexity-analyzer-config.md): Returns the full complexity analyzer runtime config, including the selected classifier, semantic embedding and decision-model settings, optional LLM fallback settings, and per-tier reference phrase lists. Returns built-in defaults if none have been configured. - [Update complexity analyzer config](https://docs.getbifrost.ai/api-reference/routing/update-complexity-analyzer-config.md): Replaces the full complexity analyzer runtime config and hot-reloads the routing plugin. Changing the embedding configuration or reference phrases triggers a background re-warm of the semantic classifier; unchanged phrases are not re-embedded. Setting semantic.fallback to llm requires an llm block.… - [Reset complexity analyzer config](https://docs.getbifrost.ai/api-reference/routing/reset-complexity-analyzer-config.md): Restores the built-in reference phrase lists and hot-reloads the routing plugin. The selected classifier, decision-model settings, semantic and LLM configuration, and session settings are preserved. - [Get complexity classifier status](https://docs.getbifrost.ai/api-reference/routing/get-complexity-classifier-status.md): Returns the runtime status of the semantic complexity classifier (disabled, warming, ready, or failed), including warmup progress and whether a previous generation is still serving. When the llm fallback block is configured, also returns its readiness and the shipped default classification prompt. - [Retry failed complexity classifier warmup](https://docs.getbifrost.ai/api-reference/routing/retry-failed-complexity-classifier-warmup.md): Restarts the saved semantic classifier warmup only when its current state is failed. The retry runs asynchronously and does not change the saved configuration. #### Adaptive Routing - [Get adaptive routing settings](https://docs.getbifrost.ai/api-reference/adaptive-routing/get-adaptive-routing-settings.md): Returns the adaptive routing settings in effect on this node. Before adaptive routing has started, returns the defaults. - [Update adaptive routing settings](https://docs.getbifrost.ai/api-reference/adaptive-routing/update-adaptive-routing-settings.md): Replaces every adaptive routing setting and applies the change on every node in the cluster. A switch left out of the body is turned off, so read the settings first and send them all back with your change. `history_retention_days` applies from the next restart; every other setting applies at once. #### Circuit Breaker - [List circuit breaker policies](https://docs.getbifrost.ai/api-reference/circuit-breaker/list-circuit-breaker-policies.md): Returns all circuit breaker policies defined in this workspace. - [Create circuit breaker policy](https://docs.getbifrost.ai/api-reference/circuit-breaker/create-circuit-breaker-policy.md): Creates a new circuit breaker policy and immediately activates it in the running gateway. Returns 409 if a policy with the same name already exists. - [Update circuit breaker policy](https://docs.getbifrost.ai/api-reference/circuit-breaker/update-circuit-breaker-policy.md): Replaces a circuit breaker policy by name. The `name` field in the request body must match the URL parameter or be omitted. Changes take effect immediately in the running gateway. - [Delete circuit breaker policy](https://docs.getbifrost.ai/api-reference/circuit-breaker/delete-circuit-breaker-policy.md): Deletes a circuit breaker policy by name and removes it from the running gateway. Any open circuits for this policy are discarded immediately. - [Get circuit breaker state](https://docs.getbifrost.ai/api-reference/circuit-breaker/get-circuit-breaker-state.md): Returns a snapshot of all currently-open circuits. Main circuits are keyed by policy name. Per-key sub-circuits are keyed by `"\x00"`. Circuits not present in the map are closed. ### Deprecated #### Virtual Keys - [List users attached to a virtual key (deprecated path)](https://docs.getbifrost.ai/api-reference/virtual-keys/list-users-attached-to-a-virtual-key-deprecated-path.md) - [Attach users to a virtual key (deprecated path)](https://docs.getbifrost.ai/api-reference/virtual-keys/attach-users-to-a-virtual-key-deprecated-path.md) - [Detach a user from a virtual key (deprecated path)](https://docs.getbifrost.ai/api-reference/virtual-keys/detach-a-user-from-a-virtual-key-deprecated-path.md) #### Teams - [List customers attached to a team (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/list-customers-attached-to-a-team-deprecated-path.md) - [Attach a customer to a team (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/attach-a-customer-to-a-team-deprecated-path.md) - [Detach a customer from a team (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/detach-a-customer-from-a-team-deprecated-path.md) - [List team members (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/list-team-members-deprecated-path.md): Returns all members of a team with their user details and membership source. - [Add team member (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/add-team-member-deprecated-path.md): Adds a user to a team. Both the team and user must exist. - [Remove team member (deprecated path)](https://docs.getbifrost.ai/api-reference/teams/remove-team-member-deprecated-path.md): Removes a user from a team. #### Customers - [List teams attached to a customer (deprecated path)](https://docs.getbifrost.ai/api-reference/customers/list-teams-attached-to-a-customer-deprecated-path.md) #### RBAC - [List roles (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/list-roles-deprecated-path.md): Returns all roles visible to the caller, scoped by data access control. - [Create role (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/create-role-deprecated-path.md): Creates a custom role with the specified data access control scope. If `dac` is omitted, defaults to `all-data`. - [Get role by ID (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/get-role-by-id-deprecated-path.md) - [Update role (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/update-role-deprecated-path.md): Partial update. Omitted fields preserve the current value. Notable: omitting `dac` preserves the current scope (does not default to `all-data`). - [Delete role (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/delete-role-deprecated-path.md): Deletes a custom role. Built-in system roles cannot be deleted and return 403. - [List permissions assigned to a role (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/list-permissions-assigned-to-a-role-deprecated-path.md) - [Replace the permission set on a role (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/replace-the-permission-set-on-a-role-deprecated-path.md): Replaces the permission set assigned to the role. Send the complete list of permission IDs that should be active for the role. - [List RBAC resources (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/list-rbac-resources-deprecated-path.md): Returns the set of resource names that permissions can target. - [List RBAC operations (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/list-rbac-operations-deprecated-path.md): Returns the set of operation names that permissions can grant. - [List all RBAC permissions (deprecated path)](https://docs.getbifrost.ai/api-reference/rbac/list-all-rbac-permissions-deprecated-path.md): Returns every (resource, operation) pair that can be granted to a role. #### Users - [List users (deprecated path)](https://docs.getbifrost.ai/api-reference/users/list-users-deprecated-path.md): Returns a paginated list of users with optional search. - [Create user (deprecated path)](https://docs.getbifrost.ai/api-reference/users/create-user-deprecated-path.md): Manually creates a new user in the organization. - [Get user (deprecated path)](https://docs.getbifrost.ai/api-reference/users/get-user-deprecated-path.md): Returns a single Enterprise user. - [Delete user (deprecated path)](https://docs.getbifrost.ai/api-reference/users/delete-user-deprecated-path.md): Permanently removes a user from the organization. This cascades to delete the user's governance settings (budget/rate limits), team memberships, access profiles, and OIDC sessions. Cannot delete yourself. - [Get current user permissions (deprecated path)](https://docs.getbifrost.ai/api-reference/users/get-current-user-permissions-deprecated-path.md): Returns the RBAC permissions for the authenticated user. When SCIM is not enabled, returns full permissions for all resources. Otherwise returns the permissions associated with the user's assigned role. - [Assign role to user (deprecated path)](https://docs.getbifrost.ai/api-reference/users/assign-role-to-user-deprecated-path.md): Assigns an RBAC role to a user. This also auto-assigns the default access profile for the new role and reloads the RBAC permission cache. - [Get user's teams (deprecated path)](https://docs.getbifrost.ai/api-reference/users/get-users-teams-deprecated-path.md): Returns the list of teams a user belongs to, including the membership source. - [Update user's team assignments (deprecated path)](https://docs.getbifrost.ai/api-reference/users/update-users-team-assignments-deprecated-path.md): Replaces the user's manual team assignments. Synced team memberships (from SCIM providers) are preserved and cannot be removed via this endpoint. - [Get user's virtual keys by email (deprecated path)](https://docs.getbifrost.ai/api-reference/users/get-users-virtual-keys-by-email-deprecated-path.md): **Enterprise only.** Returns all virtual keys associated with a user, looked up by email address. Returns an empty `virtual_keys` array when the user exists but has no virtual keys assigned. Intended for MDM and credential-helper integrations that need to resolve a user's keys without knowing their… - [Get user by email (deprecated path)](https://docs.getbifrost.ai/api-reference/users/get-user-by-email-deprecated-path.md): Returns a single Enterprise user resolved by URL-encoded email address. - [List virtual keys available to a user (deprecated path)](https://docs.getbifrost.ai/api-reference/users/list-virtual-keys-available-to-a-user-deprecated-path.md): Returns every virtual key assigned to the user, independent of access profiles, so directly-assigned standalone keys are visible alongside profile-issued ones. #### Governance - [List teams (deprecated path)](https://docs.getbifrost.ai/api-reference/governance/list-teams-deprecated-path.md): Legacy alias that lists teams one page at a time. `page` is 1-based and `limit` defaults to 20 with a maximum of 100. Use `/api/governance/teams` for new integrations. - [Create team (deprecated path)](https://docs.getbifrost.ai/api-reference/governance/create-team-deprecated-path.md): Creates a new team. - [Get team (deprecated path)](https://docs.getbifrost.ai/api-reference/governance/get-team-deprecated-path.md): Returns a specific team by ID. - [Update team (deprecated path)](https://docs.getbifrost.ai/api-reference/governance/update-team-deprecated-path.md): Updates an existing team. - [Delete team (deprecated path)](https://docs.getbifrost.ai/api-reference/governance/delete-team-deprecated-path.md): Deletes a team. #### Access Profiles - [List access profiles (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/list-access-profiles-deprecated-path.md): Returns access profiles visible to the caller. - [Create access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/create-access-profile-deprecated-path.md): Creates a new access profile template. The profile is inactive until attached to a role. No size limits are enforced on create; the limits apply on update. - [Get access profile by ID (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/get-access-profile-by-id-deprecated-path.md): Returns the profile plus its role attachments and the count of users holding a copy. - [Update access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/update-access-profile-deprecated-path.md): Partial update. Omitted fields preserve the current value. `rate_limit: null` explicitly clears the existing rate limit. Size limits enforced: max 100 provider_configs, max 100 budgets, max 50 tags. - [Delete access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/delete-access-profile-deprecated-path.md): Blocked with 409 if any users still hold copies. Detach role attachments or remove user assignments first. - [Activate access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/activate-access-profile-deprecated-path.md): Sets the profile active. Idempotent. - [Deactivate access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/deactivate-access-profile-deprecated-path.md): Sets the profile inactive. Idempotent. User copies are preserved; the profile is hidden from selection menus. - [Clone an access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/clone-an-access-profile-deprecated-path.md): Creates a fresh copy of the profile under a new name. The clone has no role attachments or user copies. - [Propagate template changes to user copies (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/propagate-template-changes-to-user-copies-deprecated-path.md): Pushes selected fields from the template to every user that holds a copy. Use `dry_run: true` to preview the impact. By default, accumulated usage is preserved. - [Attach roles to access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/attach-roles-to-access-profile-deprecated-path.md): Attaches one or more roles. Setting `is_default: true` makes the profile the role's default for new users. `apply_to_existing: true` provisions the profile to users already in the role. - [Detach role from access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/detach-role-from-access-profile-deprecated-path.md) - [List version snapshots for an access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/list-version-snapshots-for-an-access-profile-deprecated-path.md) - [Get a single version snapshot (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/get-a-single-version-snapshot-deprecated-path.md) - [List audit log entries for a single profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/list-audit-log-entries-for-a-single-profile-deprecated-path.md) - [List workspace-wide audit log entries (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/list-workspace-wide-audit-log-entries-deprecated-path.md) - [List access profiles held by a user (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/list-access-profiles-held-by-a-user-deprecated-path.md) - [Set a user's access-profile budget override (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/set-a-users-access-profile-budget-override-deprecated-path.md): Sets or replaces the spending override on one budget of a single user's copy of an access profile. The override is additive — while it is active the budget is enforced against `max_limit + override_amount` — and it leaves the budget's base limit, current usage, and reset schedule untouched. Only thi… - [Remove a user's access-profile budget override (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/remove-a-users-access-profile-budget-override-deprecated-path.md): Removes any active override from the user's budget, so it is enforced against its base `max_limit` again. The budget's current usage and reset schedule are unchanged, and the removal is permanent — a cleared grant cannot be re-derived. Safe to call on a budget that has no override. - [Detach a user's access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/detach-a-users-access-profile-deprecated-path.md): Removes the profile from the user and deletes every virtual key it produced. Fails closed if a virtual key cannot be deleted. - [Add an extra virtual key under a user's access profile (deprecated) (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/add-an-extra-virtual-key-under-a-users-access-profile-deprecated-deprecated-path.md): Issues an additional virtual key for the user. - [Delete a virtual key from a user's access profile (deprecated path)](https://docs.getbifrost.ai/api-reference/access-profiles/delete-a-virtual-key-from-a-users-access-profile-deprecated-path.md) #### Audit Logs - [List audit logs (deprecated path)](https://docs.getbifrost.ai/api-reference/audit-logs/list-audit-logs-deprecated-path.md): Retrieves CADF-compliant audit log events with filtering, search, and pagination via query parameters. Most filter dimensions accept either a single value (singular parameter, e.g. `action`) or a JSON-encoded array of values (plural parameter, e.g. `actions`); when both are supplied the plural array… - [Get audit log filter data (deprecated path)](https://docs.getbifrost.ai/api-reference/audit-logs/get-audit-log-filter-data-deprecated-path.md): Returns the distinct values available for each audit log filter dimension, used to populate filter dropdowns in the dashboard. - [Export audit logs (deprecated path)](https://docs.getbifrost.ai/api-reference/audit-logs/export-audit-logs-deprecated-path.md): Streams audit log events matching the supplied filters as a downloadable file. Accepts the same filter query parameters as `GET /api/governance/audit-logs`. The response is returned as an attachment with a generated filename. Exported events include the `changes` diff. Requires `AuditLogs:Download`;… - [Get audit log by ID (deprecated path)](https://docs.getbifrost.ai/api-reference/audit-logs/get-audit-log-by-id-deprecated-path.md): Retrieves a single audit log event by its unique ID, including its `changes` diff. - [Verify audit log signature (deprecated path)](https://docs.getbifrost.ai/api-reference/audit-logs/verify-audit-log-signature-deprecated-path.md): Recomputes the HMAC-SHA256 signature for a single audit log event and compares it (in constant time) against the stored signature to detect tampering. The response reports the result, the signature scheme and the key ID. It never returns the expected signature, since a reader holding it could forge… #### Adaptive Routing - [Get adaptive routing settings (deprecated path)](https://docs.getbifrost.ai/api-reference/adaptive-routing/get-adaptive-routing-settings-deprecated-path.md): Returns the adaptive routing settings in effect on this node. Before adaptive routing has started, returns the defaults. - [Update adaptive routing settings (deprecated path)](https://docs.getbifrost.ai/api-reference/adaptive-routing/update-adaptive-routing-settings-deprecated-path.md): Replaces every adaptive routing setting and applies the change on every node in the cluster. A switch left out of the body is turned off. `history_retention_days` applies from the next restart; every other setting applies at once. ## OpenAPI Specs - [openapi](/openapi/openapi.json)