Get traffic allocation
Returns a single allocation by id, including its targets and actor attribution.
Authentication
AuthorizationBearer
Authenticate server-side requests with a private Vapi API key. Create or copy a key from the Vapi Dashboard and send it in the Authorization header as Bearer <token>. Keep private API keys out of client-side code and public repositories.
Path parameters
id
Response
id
Unique identifier. The most recently created allocation for an assistant is the one in effect.
orgId
allocationIntent
‘explicit’ splits calls across this allocation’s targets. ‘follow-latest’ sends every call to the newest published version.
Allowed values:
createdAt
When this allocation was created, which is also when it took effect.
actorType
Who created this allocation. ‘system’ means Vapi created it automatically, for example when a publish advances a follow-latest allocation.
Allowed values:
targets
The versions this allocation splits calls across, in position order. Empty for follow-latest allocations.
assistantId
The assistant this allocation splits calls for.
actorId
The user id or API key id that created this allocation. Absent for system rows.
actorEmail
Email of the user who created this allocation, as of that time.
description
The note given when this allocation was created, if any.
Errors
403
Forbidden Error
404
Not Found Error