Skip to main content
This reference covers the public contracts: the endpoints the Python SDK, the platform middleware and the enforcement adapters depend on, and the ones you may call directly. They don’t change without a deprecation window. The endpoint pages under “Public Contracts” are generated from openapi.yaml.

What’s in the public contract

The access-token claim shape and the mudraid_scopes.yaml schema are part of the contract too. Agent identities, OAuth clients, client keys and resource grants are managed in the MudraID portal (and its management API). Those endpoints are not part of this reference.

Retired endpoints

Native agent credentials (an api_key_id + secret pair) are retired. POST /api/v1/auth/token, POST /api/v1/auth/agents/me/platforms, POST /api/v1/agents/register and the agent rotate-secret routes return 410 Gone with code: agent_native_credentials_retired. See Versioning and deprecation.

Server

  • Production: https://api.mudraid.ai
Use the issuer and token endpoint your environment’s authorization-server metadata advertises rather than hardcoding them.