List calls
/v1/calls Needs an API keyList your organization's calls, newest first.
Calls are listed without their output; fetch one call to read it. Results are paged: pass the next_cursor of one page as cursor to read the next, until has_more is false. Filter by tool, status or label.
To find the calls of one request, pass its input as JSON with tool, and its provider and require if it had them. A paid result is kept with no time limit, so you can read it again instead of calling again.
Query parameters
limitintegerThe most calls to return.
From 1 to 100.
cursorstringThe next_cursor of the previous page. Omit to read the first page.
toolstringOnly calls of this tool, by its ID.
statusstringOnly calls with this status.
pendingsucceededfailedinputstringOnly calls made with exactly this input: the tool's input as a JSON object, URL-encoded. Needs tool. Matched as reuse_within matches a call, with provider and require.
providerstringWith input: only calls that named this provider. Omit for calls that named none.
1 or more characters.
requirearray of stringWith input: only calls that required these optional outputs. Repeat for each.
Each item: 1 or more characters.
Repeat for each value.
labelstringOnly calls with this label, matched exactly.
1 to 100 characters.
Response
One page of calls, newest first.
itemsarray of objectThis page's items.
items.idstringThe call's ID. Read the call again with GET /v1/calls/{call_id}.
items.toolstringThe tool called.
items.statusstringpendingWhile providers are tried.succeededOnce one served the call.failedWhen none did.items.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.items.providerstringThe provider that served the call. Null unless the call succeeded.
items.requested_providerstringThe provider the request named in provider. Null when it named none.
items.inputobjectThe input as you sent it.
items.resolved_inputobjectThe input as the tool read it: case-insensitive values lowercased, defaults filled in, and a page token as its provider issued it.
items.requirearray of stringThe optional outputs the request required, by name.
items.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.
items.cost.provider_usdstringThe data provider's part of total_usd.
items.cost.platform_fee_usdstringVoxoria's part of total_usd.
items.cost.total_usdstringWhat the call cost you, drawn from your balance: the sum of the other two.
items.labelstringThe name you gave the call. Null when it has none.
items.created_atstringWhen the call was made.
Format date-time.
items.completed_atstringWhen the call succeeded or failed. Null while it is pending.
Format date-time.
next_cursorstringPass as cursor to read the next page. Null on the last page.
has_morebooleanWhether another page follows.
The request was refused.
The API key is missing, wrong or revoked.
The request is not valid, such as input without tool.
Too many requests with this API key.
Retry-After: Seconds until the limit resets.