Skip to content

API keys

OpenAI-compatible

API access for your agents

Create a key for each app. Choose its models and spending limit, then connect it to your wallet's AI credit.

One wallet balance for Chat and API requests.

Read API docs

Connect your app

API docs

Start with the model catalog

Set these variables in your server environment. Use a model ID returned by the catalog for chat completions.

AGENTPASS_BASE_URL

/api/v1

AGENTPASS_API_KEY is the key you saved after creation. Listing models does not spend AI credit.

GET/models
curl "$AGENTPASS_BASE_URL/models" \
  -H "Authorization: Bearer $AGENTPASS_API_KEY"