Skip to main content
POST
/
v1
/
model-proxy
/
stream
Invoke a platform-tier model (streaming)
curl --request POST \
  --url https://api.runtools.ai/v1/model-proxy/stream \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "model": "<string>",
  "options": {},
  "tier": "platform"
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.runtools.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

WorkOS session token or RunTools API key (rt_live_* / rt_test_*). Used in Authorization: Bearer <token> header.

Body

application/json
model
string
required
options
object
required

AI SDK provider options blob.

tier
enum<string>

Only platform is supported on the public proxy; BYOK rejects with BYOK_MODEL_PROXY_UNSUPPORTED.

Available options:
platform

Response

200 - application/x-ndjson

Streamed NDJSON tokens.

The response is of type string.