API reference

Every public operation of the Abazi API, one page each, generated from the OpenAPI contract, with the rules that apply to all of them.

View as .mdUpdated
Everything an agent, an owner's app or a merchant does in Abazi is one HTTP call to the Abazi API. These pages are generated from the same OpenAPI contract the product is built against, on every build.

Base URL

Every path in this reference is relative to the base URL https://api.52-28-238-205.sslip.io. Environments lists the MCP endpoint and the networks the current environment settles on. Abazi refuses to start against a network that is not configured for its environment.

A first call
curl "https://api.52-28-238-205.sslip.io/v1/spending" -H "Authorization: Bearer YOUR_AGENT_KEY"

Replace YOUR_AGENT_KEY with an agent credential: create one in the Console under Agents > New agent (shown once). See Credentials.

Authentication

Each operation states the credentials it accepts.

CredentialWho holds itHow it is sent
Agent credentialAn agentAuthorization: Bearer agk_test_...
API keyAn organization's or a merchant's backendAuthorization: Bearer sk_test_...
Console sessionA person in the web appsA session cookie

An agent credential identifies an agent and carries no spending power of its own: the owner's mandate decides what it may buy. Sensitive Console actions also need a recent passkey step-up. See Authentication.

Rules for every call

Resources

Operations are grouped by resource in the sidebar, each with its HTTP method. A few to start with:

Clients

The reference is generated from the OpenAPI contract, so any OpenAPI tool can build a client from it.

Agents usually call the same actions through MCP tools, and integrations receive webhooks and events instead of polling.

On this page