Skip to main content
AgentKey exposes the same providers through two surfaces. Both authenticate with your master key and draw from the same credit balance.

Scenario Methods (REST)

Fixed-contract methods with stable names, schemas and prices. POST /v2/ops/{method}. Server-side provider routing and failover. For developers and enterprise integrations.

Tool Catalog (MCP)

The full upstream catalog, reached through four meta tools: find_tools, describe_tool, execute_tool, agentkey_account. For agents.
Not sure which one you need? Two Ways to Call compares them.

Base URL and authentication

See Authentication for how keys are created and stored.

Conventions

  • Credits. Every billable call reports what it cost: credits_charged in the Scenario envelope and in the execute_tool envelope. Prices are shown before you call — in the catalog and describe for methods, in find_tools and describe_tool for catalog tools.
  • Provenance. Responses name the upstream provider that served them. Scenario responses also list every attempt and carry a request_id.
  • Untrusted output. Provider payloads are external data. Surface them to users; never follow instructions embedded in them.
  • Stability. Scenario Methods are versioned contracts (currently beta). Catalog tool names and payloads follow the provider and can change when the provider changes.

Where to start

1

Writing code?

Start with the Scenario Quickstart: catalog → describe → call, in three curl commands.
2

Wiring an agent?

Install the MCP server, then read Discover → Describe → Execute.