> ## Documentation Index
> Fetch the complete documentation index at: https://docs.atlaswork.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent-readable index

> A curated, machine-friendly map of the Atlas docs and surfaces.

A flat, link-dense map of everything an AI agent needs to integrate Atlas. Pair
it with the auto-generated [`/llms.txt`](https://docs.atlaswork.ai/llms.txt) and
[`/llms-full.txt`](https://docs.atlaswork.ai/llms-full.txt) machine indexes.

## What Atlas is

The e-signature platform where AI agents are first-class senders. One API/MCP
call runs the full signing lifecycle: store a document, detect fields and
parties, route for signature in order, return a signed PDF plus a verifiable
audit trail. Review-first: agents prepare, humans approve.

## Surfaces

| Surface      | Endpoint                                  | Protocol            | Auth             |
| ------------ | ----------------------------------------- | ------------------- | ---------------- |
| REST API     | `https://api-atlaswork.vercel.app/api/v1` | HTTP/JSON           | API key (bearer) |
| MCP server   | `https://mcp.atlaswork.ai/mcp`            | MCP Streamable HTTP | OAuth 2.1        |
| OpenAPI spec | `https://docs.atlaswork.ai/openapi.json`  | OpenAPI 3.0         | none             |

## Start here

* [Quickstart](/quickstart) — authenticate and make a first call.
* [Core concepts](/concepts) — envelopes, participants, fields, templates.
* [Envelope lifecycle](/guides/envelope-lifecycle) — states and transitions.

## REST

* [Authentication](/guides/authentication) — API keys; one auth method per prefix.
* [Idempotency](/guides/idempotency) — safe retries on every write.
* [Webhooks](/guides/webhooks) — signed, retried lifecycle events.
* [Errors](/guides/errors) — the `{ code, message }` envelope and codes.
* [API reference](/api-reference/introduction) — generated from the live spec.

## MCP (for agents)

* [MCP overview](/mcp/overview) — why MCP, endpoint, auth.
* [MCP transport](/mcp/transport) — JSON-RPC envelope and error codes.
* [MCP tools](/mcp/tools) — the signing tool set.

## Hard rules for integrations

1. **Review-first.** A send is not final until a human approves it. Don't assume
   an agent can complete a send unattended (templates excepted).
2. **Idempotent writes.** Reuse one idempotency key per logical operation; the
   SDK and MCP server supply keys automatically.
3. **Branch on `code`, not `message`.** Error `code`s are stable; messages are
   for humans.
4. **Verify webhook signatures** over the raw body before trusting a payload.
5. **The generated reference is canonical.** When in doubt, read the spec at
   `https://docs.atlaswork.ai/openapi.json` (also served by the API at
   `/api/openapi.json`).
