Cotal
DocsAPI Reference

Auth host HTTP API

The Auth host API provides lifecycle, enrollment, human-proof, and consent operations on the auth service's loopback listener. These host-only routes return HTTP 404 on the public listener.

Connection

The owner-private auth-service discovery record provides the loopback port and exchange capability. Query strings and trailing slashes do not match host routes.

Authentication

Host-only operations require Authorization: Bearer <capability> and Content-Type: application/json headers. Requests with an Origin header are refused. The body limit defaults to 64 KiB.

The loopback listener also serves shared Auth routes. Protected shared operations require the host capability in addition to their request proofs. Their request and response shapes are documented in the public Auth reference. Elevated exchange views and operator host operations remain loopback-only.

Operation pages describe the capability checks, lifecycle conditions, and response codes for each host-only route.

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

Retire an interactive lifecycle · Activate a managed lifecycle · Retire a managed lifecycle · Verify a managed agent host decision · Verify a fresh human proof · Issue tool result consent

LifecycleTarget

Retire an interactive lifecycle · Retire a managed lifecycle · Verify a managed agent host decision

Retirement

Retire an interactive lifecycle · Retire a managed lifecycle

Activation

Activate a managed lifecycle

Activated

Activate a managed lifecycle

ManagedDecisionRequest

Verify a managed agent host decision

ConsentRequest

Issue tool result consent

Issue tool result consent