Skip to main content
POST
/
api
/
runtime-security
/
proxy
/
openai
/
v1
/
completions
Wire-compatible OpenAI legacy Completions proxy
curl --request POST \
  --url https://api.antidote.example.com/api/runtime-security/proxy/openai/v1/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

The body is of type object.

Response

OpenAI Completion response

The response is of type object.