Label a call
/v1/calls/{call_id} Needs an API keySet or clear one of your organization's calls' label.
Send {"label": null} to clear it. Find labelled calls with GET /v1/calls?label=.... Read-only keys answer 403.
Path parameters
call_idstringRequiredThe call's ID.
Request body
What to change on a call.
labelstringRequiredThe call's new label, or null to clear it.
1 to 100 characters.
Response
The call, with its new label. A call, without its output.
idstringThe call's ID. Read the call again with GET /v1/calls/{call_id}.
toolstringThe tool called.
statusstringpendingWhile providers are tried.succeededOnce one served the call.failedWhen none did.failure_reasonstringWhy a failed call was not served. Null unless the call failed.
all_attempts_failedNo provider served it.billed_provider_failureThe provider failed the call and billed it, so no other was tried.rate_limitedEvery provider tried refused it for its rate limit; retry later.deadline_exceededThe call ran out of time.internal_errorNo provider served it.abandonedThe call ran out of time.providerstringThe provider that served the call. Null unless the call succeeded.
requested_providerstringThe provider the request named in provider. Null when it named none.
inputobjectThe input as you sent it.
resolved_inputobjectThe input as the tool read it: case-insensitive values lowercased, defaults filled in, and a page token as its provider issued it.
requirearray of stringThe optional outputs the request required, by name.
costobjectWhat the call was charged, in USD. All zeros for a failed call, unless it failed billed_provider_failure. Null while the call is pending.
cost.provider_usdstringThe data provider's part of total_usd.
cost.platform_fee_usdstringVoxoria's part of total_usd.
cost.total_usdstringWhat the call cost you, drawn from your balance: the sum of the other two.
labelstringThe name you gave the call. Null when it has none.
created_atstringWhen the call was made.
Format date-time.
completed_atstringWhen the call succeeded or failed. Null while it is pending.
Format date-time.
The request was refused.
The API key is missing, wrong or revoked.
The key's scope does not permit changes.
Your workspace has no call with this ID.
The request is not valid.
Too many requests with this API key.
Retry-After: Seconds until the limit resets.