Cotal
DocsAPI Reference

Auth HTTP API

The public Auth HTTP API exchanges identity proofs and handles manager authority, service authority, and chat sessions. Each operation has its own proof requirements.

Connection

The public listener binds to 127.0.0.1. An operator HTTPS proxy provides the configured public URL. Query strings and trailing slashes do not match Auth routes.

Authentication

Protected operations carry proofs in the JSON body. They do not require the host capability used by the Auth host API. The token exchange accepts an identity-provider proof or a managed-agent secret, depending on the caller.

The listener sends no CORS headers. POST routes and the service authority GET route reject any Origin header.

Request limits

JSON bodies default to 64 KiB. POST /service-endpoint-authority allows 2 MiB. Public work has a limit of 64 concurrent admissions and a 10-second deadline. Operation pages describe proof rules, refusal budgets, and response codes.

Reference downloads

OpenAPI specification · Complete Markdown reference

Schema reference links

Schemas

Expand request and response schemas on an operation page. The complete definitions are also available in the OpenAPI download and Markdown reference.

Error

Submit a native service authority envelope

ChatError

OpenAPI definition · Complete Markdown reference

Bearer

Exchange an identity proof · Mint a short chat bearer

UserAuthGrant

OpenAPI definition · Complete Markdown reference

Health

Read auth service health

PublicKey

OpenAPI definition · Complete Markdown reference

Jwks

Read issuer verification keys

ManagerCatalog

List the authenticated owner’s manager instances

IdpRequest

List the authenticated owner’s manager instances

ExchangeRequest

Exchange an identity proof

ManagerRequest

Dispatch a native manager authority request

ManagerResult

Dispatch a native manager authority request

ServiceWitness

OpenAPI definition · Complete Markdown reference

ServiceRequest

OpenAPI definition · Complete Markdown reference

ServiceEnvelope

Submit a native service authority envelope

ServiceInfo

Read enabled service authority metadata

ServiceResult

Submit a native service authority envelope

HostRequest

Submit an owner-scoped native host operation

HostResult

Submit an owner-scoped native host operation

ChatOpen

Admit a narrowed chat session

ChatBearer

Mint a short chat bearer

ChatRetire

Retire a chat session

ChatAdmitted

Admit a narrowed chat session

ChatRetired

Retire a chat session

MeshBundle

Read the generated mesh registration bundle