ApiA I
Get Ai Task By Key
Requires ai:read. Recover the original request after an interrupted submission under the authenticated project and tenant. Never admits another provider request.
Open AI playground — stable retries and exact billing
Requires ai:read. Recover the original request after an interrupted submission under the authenticated project and tenant. Never admits another provider request.
AuthorizationBearer <token>
Project API key, fc_live_…. Keep keys out of public client code. The trusted Cloud playground accepts credentials temporarily in memory.
In: header
Query Parameters
key*string
Match
^[!-~]+$Length
1 <= length <= 200Header Parameters
X-AI-Provider?string
Select a provider serving the canonical model. Omit when model already identifies a provider route.
Match
^[a-z0-9_-]+$X-Project-Id?string
Project selection for authorized OAuth callers; API keys select their project automatically.
X-Tenant-Id?string
Optional tenant public ID; enforced on tasks and results.
Response Body
application/json
curl -X GET "https://example.com/ai/tasks?key=string"{ "id": "string", "object": "string", "model": "string", "endpoint": "string", "status": "created", "billing": { "currency": "USD", "reserved_micros": "string", "charged_micros": "string", "provider_cost_usd": "string", "retail_basis_usd": "string", "price_version": "string", "margin": {}, "breakdown": {} }, "result": null, "error": null}