QuotaFlow Docs

Curl examples

When to use this page

Use this page to test a key or debug connectivity without an SDK.

Set a key

export QUOTAFLOW_API_KEY="qf_your_key_here"

List models

curl https://api.quotaflow.ai/openai/v1/models \
  -H "Authorization: Bearer $QUOTAFLOW_API_KEY"

Non-streaming response

curl https://api.quotaflow.ai/openai/v1/responses \
  -H "Authorization: Bearer $QUOTAFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "x-session-id: curl-test" \
  -d '{
    "model": "gpt-5.5",
    "input": "Return a JSON object with status connected.",
    "stream": false
  }'

Streaming response

curl -N https://api.quotaflow.ai/openai/v1/responses \
  -H "Authorization: Bearer $QUOTAFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "x-session-id: curl-stream-test" \
  -d '{
    "model": "gpt-5.5",
    "input": "Count from one to five slowly.",
    "stream": true
  }'
AI agents: start at /llms.txt, fetch /llms-full.txt for full context, and parse /openapi.yaml for endpoint schemas.