Create chat completion (pod OpenAI adapter)
Agent Pods
Create chat completion (pod adapter)
Runs ONE agent turn on your pod and returns an OpenAI chat.completion. Non-streaming only: stream:true is rejected with 400 stream_unsupported. usage is always null (token counts are not faked in v1). Point any OpenAI SDK at https://compute.x402layer.cc/pods/{id}/v1 with model="agent-pod". Authenticate with a pod integration key as a bearer token: Authorization: Bearer sk-sglpod-int-<key>.
POST
Create chat completion (pod OpenAI adapter)
Drop-in with the OpenAI SDK
The pod adapter is OpenAI-compatible. Point any OpenAI SDK at your pod’s/v1
base URL, use the pod integration key (sk-sglpod-int-...) as the API key, and
call the model agent-pod. Each request runs one agent turn on your pod.
Non-streaming only. Setting
stream: true returns 400 stream_unsupported.
The response usage field is always null in v1.https://compute.x402layer.cc/pods/{id}/v1
Quickstart (cURL)
Headers
Pod integration key as a bearer token.
Example:
"Bearer sk-sglpod-int-..."
Path Parameters
Body
application/json
