RelayPointdocs

Getting started

Test mode

Build and test your integration with rp_test_ keys at no cost.

Keys starting with rp_test_ run every product endpoint in test mode. Use them in development, CI and staging.

What test mode does

  • Requests are authenticated, validated and rate-limited exactly like live requests, so errors you see in test mode are the ones you will see live.
  • Responses come from RelayPoint's built-in test outputs, not from a real AI model: text and images are sample outputs with the real response shape.
  • Nothing is charged and no hold is placed. Usage is still recorded at $0 so you can test GET /v1/usage, and usage.cost_usd is always "0.000000".
  • Jobs go through the same states (queued → running → succeeded) and send the same webhooks.
  • Test and live data are separate: GET /v1/jobs and GET /v1/usage with a test key only show test-mode records.
JSON
"usage": { "prompt_tokens": 14, "completion_tokens": 9, "total_tokens": 23, "product": "rp/text-fast", "units": 0.023, "unit": "1k_tokens", "cost_usd": "0.000000" }

Live-only operations

Operations that move real money or touch real third-party accounts need a live key. With a test key they return 403 forbidden:

  • Creating connect links and connections, POST /v1/connections/{id}/request and GET /v1/connections/{id}/credentials (see Connections).
  • Credit transfers to and from sub-accounts, and closing a sub-account (see Reselling).
  • The explicit scopes connections:request and connections:credentials can't be given to a test key.