This is a beta feature and only appears once it’s enabled for the platform. You’ll find it in the pod workspace under Settings → OpenAI-compatible access.
1. Create a key
In the pod’s Settings → OpenAI-compatible access:- Copy the base URL — it looks like
https://compute.x402layer.cc/pods/{id}/v1. - Give a key a name (e.g. “my app”) and hit Create key. The key is shown once — copy it immediately.
2. Point any OpenAI client at it
Use the base URL asbaseURL and your pod key as the API key.
What to expect
- One turn per request — a call runs the agent once (it may use its tools, wallet, skills, and memory), then returns the reply. It’s the agent answering, not a raw model passthrough.
- The pod’s model — the request uses whatever model the pod is set to (Settings → Model applies across chat, Telegram, and this API). See Models.
- Same policies as chat — the pod’s wallet, autonomy mode, and spend caps all apply to API-driven turns.
The pod’s configured model is the source of truth — you don’t select an arbitrary model per request the way you would against a raw provider. Set the model once in Settings → Model.
Full API spec
The examples above are the essentials. For the complete endpoint list, auth details, request/response schemas, and field-level reference, see the API reference.Related
Models
Set the model this API uses.
Wallet
Spend caps that apply to API turns.
API reference
The full spec.
