Skip to main content

Two supported paths

CREAO supports two API paths for running agents: Both are current supported paths. They serve different product entry points and keep separate key scopes, route families, and request shapes.

App-scoped API Trigger

Use this path when you want a key that can only run one specific agent. Create the key from the agent detail page in agent.creao.ai.
If your platform cannot set a custom Authorization header, pass the key as a creao-api-key query parameter instead. The header always takes precedence when both are present.
Prefer the Authorization header whenever possible. A key passed via query parameter can be captured in infrastructure access logs (e.g. CDN/load-balancer request logs), browser history, and referrer headers — sinks the header form avoids. Only use the query parameter when your platform genuinely cannot set a custom header, and rotate keys used this way more frequently.

Developer Platform API

Use this path when your backend needs account-level agent lifecycle management, async run records, realtime SSE, webhooks, or usage analytics. Create the key in Developer Console.

Contract comparison

Keep route families separate

Do not send Developer Platform request bodies to agent.creao.ai/api/v1/*, and do not send app-scoped request bodies to developer.creao.ai/v1/*. For example, /v1/runs expects agent_id and input, not appId or inputs. The app-scoped path already has the agent id in the URL and expects inputs.