API reference

Responses

Send OpenAI-compatible Responses requests.

Create a response

Send a Bearer-authenticated request to POST https://api.get-apikey.com/v1/responses:

curl "https://api.get-apikey.com/v1/responses" \
  -H "Authorization: Bearer $GETRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_MODEL","input":"Hello"}'

Replace YOUR_MODEL with a model ID from the GetRun model catalog. Add "stream": true to receive a streaming response.

Compact a conversation

Send a Responses request body to POST https://api.get-apikey.com/v1/responses/compact.

On this page