Skip to main content
POST
/
api
/
runtime-security
/
proxy
/
openai
/
v1
/
chat
/
completions
Wire-compatible OpenAI Chat Completions proxy
curl --request POST \
  --url https://api.antidote.example.com/api/runtime-security/proxy/openai/v1/chat/completions \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{}'
{}

Authorizations

X-API-Key
string
header
required

Antidote workspace API key (ak_live_…). Use this header for the scan API and the OpenAI proxy routes. The required permission scope is runtime_security.scan for scan endpoints, runtime_security.view for read-only analytics, and runtime_security.manage for configuration changes.

Body

application/json

OpenAI Chat Completions request body. See https://platform.openai.com/docs/api-reference/chat/create for the full schema.

The body is of type object.

Response

On stream=false, an OpenAI Chat Completion response. On stream=true, an SSE stream (text/event-stream).

The response is of type object.