# Developer Guide overview

Everything an engineer needs to integrate a trading system, automation, or AI agent.

## Base URL and version prefix

The vault exposes a single REST API versioned by URL prefix. All resource endpoints live under `/v1/`. The base URL depends on your deployment and is not embedded in the spec. Your deployment docs provide the correct value. Browse the full [API Reference](/api-reference) for every endpoint.

```
https://<your-vault-host>/v1/<resource>
```

Three paths are available at the root with no version prefix: `/health`, `/openapi.json`, and `/openapi.yaml` (see the [common endpoints](/api-reference#tag/common)). Use `GET /v1/info` to retrieve the current API version string and the RSA public key used for key import.

<span id="feature-discovery" />

## Check supported features

Call `GET /v1/system-info` to discover the networks, assets, sponsorship options, and services your deployment supports. Use this response to populate integration choices instead of hardcoding them. Before calling transaction or balance endpoints, check `transaction_services_enabled`. See [Transaction services](/develop/transaction-services) for the capability fields.

## Request and response conventions

All requests and responses use `application/json`. Set `Content-Type: application/json` on every request that includes a body.

Successful reads generally return `200 OK` with a JSON payload; consult each operation for its documented success codes. The one exception is the backup export (`GET /v1/keys-backup`), which returns an `application/zip` archive.

Most mutation endpoints are **asynchronous**. They return either:

* `200 OK` with the completed resource if the operation finished synchronously.
* `202 Accepted` with a processing or approval response containing `request_id`.

[Poll the request](/api-reference#tag/requests) with `GET /v1/requests/{request_id}` until the operation reports `completed`, `failed`, `rejected`, or `cancelled`; keep waiting through approval and processing states. The completed response is a tagged union containing the operation result.

Signing can complete immediately or return `202` when approval is required. Handle the request through the [request lifecycle](/develop/signing/request-lifecycle). For immediate completion, `POST /v1/keys/{key_id}/sign` (see the [Keys API](/api-reference#tag/keys)) returns `200` with `{"signature": "<string>"}` directly. The wallet endpoints `POST /v1/vaults/{vault_id}/wallets/{address}/sign` and `POST /v1/vaults/{vault_id}/wallets/{address}/raw-sign` (see the [Wallets API](/api-reference#tag/wallets)) return `200` with a structured signature object; see [Sign a transaction](/develop/signing/sign-transaction).

## Caller-supplied IDs

Some resource-creation endpoints accept a caller-supplied `id`; check each request schema. Use stable IDs where supported. Wallet generation, webhook creation, and the managed-transfer API do not accept a caller-supplied resource ID. A fresh authentication nonce does not deduplicate a repeated operation. See [retry guidance](/develop/conventions/errors-pagination).

## Who uses which authentication path

There are two identity types in the vault:

| Identity type | Auth token | Request assertion |
|---|---|---|
| Machine Users and Agents | `ApiKey <uuid>` in `Authorization` header | Ed25519 signature over a SHA-256 transcript |
| Human users | `Bearer <jwt>` in `Authorization` header | WebAuthn passkey assertion |

Machine users and AI agents use the Ed25519 path. This is the right choice for automated systems, trading bots, and any code that runs without human interaction. The UUID API key identifies the caller; the Ed25519 signature proves the request was not tampered with.

Human users authenticate with a JWT from your cloud identity provider (Google) and prove sensitive operations with a WebAuthn passkey. Most integrations do not use this path.

See the [Request signing model](/develop/authentication/overview) for the header layout and the [Machine Users and Agents](/develop/authentication/machine-users) page for the full transcript construction.

## Common integration tasks

| Task | Where to look |
|---|---|
| Authenticate as a machine user or agent | [Machine Users and Agents](/develop/authentication/machine-users) |
| Generate or import a key | [Import and generate keys](/develop/keys-api) |
| Create a vault and generate wallets | [Vaults & wallets](/develop/vaults-wallets) |
| Discover networks and configure system settings | [System settings](/develop/system-settings) |
| Sign an on-chain transaction | [Sign a transaction](/develop/signing/sign-transaction) |
| Review and vote on approval requests | [Approval workflows](/develop/approvals) |
| Receive signed approval notifications | [Approval webhooks](/develop/webhooks) |
| Check managed transfer and balance availability | [Transaction services](/develop/transaction-services) |
| Sign a message | [Raw signing](/develop/signing/raw-sign) |
| Understand signing request states | [Signing request lifecycle](/develop/signing/request-lifecycle) |
| Freeze or unfreeze a key | [Freeze and unfreeze](/develop/freeze) |
| Export an encrypted backup | [Export a backup](/develop/backup-export) |
| Pull audit events | [Export the audit log](/develop/audit-export) |
| Error codes and pagination | [Errors, pagination and idempotency](/develop/conventions/errors-pagination) |
| Connect an AI agent directly | [Connect an AI agent](/develop/connect-ai-agent) |

## Quick reference: read-only endpoints that skip request signing

Some read-only endpoints accept only the `Authorization` header and do not require the nonce, timestamp, or assertion headers:

* `GET /v1/admin-policies`: see [Admin Policies](/api-reference#tag/adminpolicies)
* `GET /v1/audit-logs`: see [Audit Logs](/api-reference#tag/auditlogs)
* `GET /v1/keys`: see [Keys](/api-reference#tag/keys)
* `GET /v1/keys/{key_id}`: see [Keys](/api-reference#tag/keys)
* `GET /v1/vaults`: see [Vaults](/api-reference#tag/vaults)
* `GET /v1/vaults/{vault_id}`: see [Vaults](/api-reference#tag/vaults)
* `GET /v1/vaults/{vault_id}/wallets`: see [Wallets](/api-reference#tag/wallets)
* `GET /v1/vaults/{vault_id}/wallets/{address}`: see [Wallets](/api-reference#tag/wallets)
* `GET /v1/whoami`: see [Whoami](/api-reference#tag/whoami)
* `GET /v1/requests/{request_id}`: see [Requests](/api-reference#tag/requests)
* `GET /v1/system-settings`: see [System Settings](/api-reference#tag/systemsettings)
* `GET /v1/approval-requests`: see [Approval workflows](/develop/approvals)
* `GET /v1/webhooks` and `GET /v1/webhooks/{webhook_id}`: see [Approval webhooks](/develop/webhooks)

The info endpoints (`GET /v1/info`, `GET /v1/system-info`), the health check (`GET /health`), and the spec endpoints (`/openapi.json`, `/openapi.yaml`) require no auth at all (see [Common](/api-reference#tag/common) and [Docs](/api-reference#tag/docs)).

The API reference specifies the authentication requirements for every operation, including transaction and balance reads. Mutations require all four authentication headers. See the [Request signing model](/develop/authentication/overview) for details.
