Feeef Cloud
ApiA I

Create Ai Task

Requires operator activation, an enabled project, a linked USD billing account and a reviewed permitted model. Provider parameters depend on the model catalog. No automatic paid provider retries.

Open AI playground — stable retries and exact billing

Requires operator activation, an enabled project, a linked USD billing account and a reviewed permitted model. Provider parameters depend on the model catalog. No automatic paid provider retries.

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

Header 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.

Idempotency-Key?string

Stable key for retries. Replays never call the provider or charge again.

Lengthlength <= 200
X-Tenant-Id?string

Optional tenant public ID; enforced on tasks and results.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/ai/tasks" \  -H "Content-Type: application/json" \  -d '{    "endpoint": "chat/completions",    "body": {      "model": "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}