{
  "name": "Publr Agent API",
  "version": "0.1.0",
  "description": "Publish one inline file to a Publr sandbox URL using a revocable agent token.",
  "provider": {
    "name": "Publr",
    "url": "https://publr.host"
  },
  "url": "https://publr.host/.well-known/agent-card.json",
  "documentationUrl": "https://publr.host/docs/agent-api.md",
  "openapiUrl": "https://publr.host/openapi.json",
  "llmsTxtUrl": "https://publr.host/llms.txt",
  "interfaces": {
    "http": {
      "baseUrl": "https://api.publr.host",
      "openapi": "https://publr.host/openapi.json"
    },
    "cli": {
      "package": "@publr/cli",
      "binary": "publr"
    }
  },
  "capabilities": [
    {
      "id": "account-self-signup",
      "name": "Provision an account from an email code",
      "endpoint": "POST /api/v1/agent/auth/request-code, POST /api/v1/agent/auth/verify-code"
    },
    {
      "id": "agent-token-whoami",
      "name": "Inspect agent token",
      "endpoint": "GET /api/v1/agent/whoami"
    },
    {
      "id": "inline-publish",
      "name": "Publish one inline file",
      "endpoint": "POST /api/v1/agent/publish"
    },
    {
      "id": "agent-token-management",
      "name": "Create and revoke agent tokens",
      "endpoint": "POST /api/v1/agent/tokens"
    }
  ],
  "security": {
    "agentToken": "Authorization: Bearer pk_live_...",
    "idempotency": "POST /api/v1/agent/publish requires Idempotency-Key."
  }
}
