Get latest traffic allocation
The allocation currently in effect for the assistant, with its targets. The response carries no allocation field when traffic splitting has never been configured. Traffic splitting is in beta, rolling out to select organizations; requests from organizations without access receive a 403.
Authentication
AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the [Vapi Dashboard](https://dashboard.vapi.ai) and send it in the `Authorization` header as `Bearer <token>`. Keep private API keys out of client-side code and public repositories.
Query parameters
assistantId
The assistant whose latest allocation to return.
Response
allocation
The source’s current configuration: the newest allocation row with its targets. Absent when the source has never been configured.
Errors
400
Bad Request Error
403
Forbidden Error