{
  "format": "promptreports-id/v1",
  "about": "How an agent signs in with PromptReports ID and which products accept its token. Made from https://promptreports.ai/family.json (id_for_agents and the state lines) on every build; checked_at is when those facts were last checked. A product accepts the ID agent token only when its state is live.",
  "page": "https://promptreports.ai/id-for-agents/",
  "markdown": "https://promptreports.ai/id-for-agents.md",
  "checked_at": "2026-11-23",
  "source": "promptcompute.ai docs/promptreports-id.md (Issuer and endpoints, The family MCP resource, Agent tokens for family products), packages/approvals/src/product-tokens.ts, and https://accounts.promptreports.ai/.well-known/promptreports-agent-audiences.json, read 2026-11-14",
  "issuer": "https://accounts.promptreports.ai",
  "discovery": "https://accounts.promptreports.ai/.well-known/openid-configuration",
  "authorization_endpoint": "https://accounts.promptreports.ai/oauth/authorize",
  "token_endpoint": "https://accounts.promptreports.ai/oauth/token",
  "agent_token_keys": "https://accounts.promptreports.ai/.well-known/agent-token-keys.json",
  "audiences": "https://accounts.promptreports.ai/.well-known/promptreports-agent-audiences.json",
  "agents_api": "https://api.promptcompute.ai/v1/agents",
  "setup": "https://promptreports.ai/id/setup/",
  "connect": "https://promptreports.ai/id/connect/",
  "skill": "https://promptreports.ai/skills/promptreports-family/SKILL.md",
  "family_org_claim": "org_id",
  "agent_token": {
    "grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
    "subject_token_type": "urn:promptreports:params:oauth:token-type:product-grant",
    "actor_token_type": "urn:ietf:params:oauth:token-type:jwt",
    "token_type": "DPoP",
    "lifetime_seconds": 60,
    "refresh_token": false,
    "grant_days_max": 90,
    "claims": [
      "iss",
      "aud",
      "sub",
      "client_id",
      "act",
      "org_id",
      "scope",
      "cnf",
      "grant_id",
      "iat",
      "exp",
      "jti"
    ],
    "state": "live",
    "state_text": "Live"
  },
  "person_token": {
    "grant_type": "authorization_code",
    "code_challenge_method": "S256",
    "resource": "https://mcp.promptreports.ai/mcp",
    "scopes": [
      "promptreports:read",
      "promptreports:write"
    ],
    "lifetime_seconds": 300,
    "refresh_token": {
      "for": "a public MCP client (a Client ID Metadata Document client or one that registered itself) that lists refresh_token in its grant types",
      "rotates": true,
      "days_max": 30,
      "idle_days": 7,
      "dpop_bound": false,
      "source": "promptcompute.ai docs/promptreports-id.md (Refresh tokens for MCP clients: on unless ID_REFRESH_TOKENS=off), read 2026-11-22"
    },
    "mcp": "https://mcp.promptreports.ai/mcp",
    "state_text": "Switching on"
  },
  "device_flow": {
    "state": "live",
    "state_text": "On in production since 2026-11-19"
  },
  "products": [
    {
      "name": "RepoOps",
      "product": "repoops",
      "site": "https://repoops.ai/",
      "mcp": "https://mcp.repoops.ai/mcp",
      "audience": "https://www.repoops.ai",
      "scopes": [
        "repoops:read",
        "repoops:write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "PROMPTREPORTS_AGENT_TOKENS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "PromptCompute",
      "product": "promptcompute",
      "site": "https://promptcompute.ai/",
      "mcp": "https://mcp.promptcompute.ai/mcp",
      "audience": "https://mcp.promptcompute.ai",
      "scopes": [
        "promptcompute:read",
        "promptcompute:write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "MCP_ID_AGENT_TOKENS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "ContextFile",
      "product": "contextfile",
      "site": "https://contextfile.ai/",
      "mcp": "https://mcp.contextfile.ai/mcp",
      "audience": "https://mcp.contextfile.ai",
      "scopes": [
        "contextfile:read:wiki",
        "contextfile:read:artifact",
        "contextfile:read:trust",
        "contextfile:write:doc",
        "contextfile:write:wiki",
        "contextfile:build:image",
        "contextfile:delete"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "PROMPTREPORTS_ID_AGENTS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "Sales as Code",
      "product": "salesascode",
      "site": "https://salesascode.com/",
      "mcp": "https://salesascode.com/api/v1/mcp",
      "audience": "https://salesascode.com",
      "scopes": [
        "salesascode:read",
        "salesascode:write",
        "salesascode:account.read",
        "salesascode:brief.read",
        "salesascode:capture.write",
        "salesascode:prospect.write",
        "salesascode:plan.write",
        "salesascode:meeting.write",
        "salesascode:usage.write",
        "salesascode:meddpicc.write",
        "salesascode:site.write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "PROMPTREPORTS_AGENT_TOKENS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "CommitOps",
      "product": "commitops",
      "site": "https://commitops.ai/",
      "mcp": "https://mcp.commitops.ai/mcp",
      "audience": "https://commitops.ai",
      "scopes": [
        "commitops:read",
        "commitops:write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "PROMPTREPORTS_AGENT_TOKENS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "AI Source of Truth",
      "product": "aisot",
      "site": "https://aisourceoftruth.com/",
      "mcp": "https://aisourceoftruth.com/mcp",
      "audience": "https://aisourceoftruth.com",
      "scopes": [
        "aisot:read",
        "aisot:write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "AISOT_PRID_AGENT_TOKENS on since 2026-11-16; reads live once the daily agent journey check passes"
    },
    {
      "name": "PromptReports",
      "product": "promptreports",
      "site": "https://promptreports.ai/",
      "mcp": "https://mcp.promptreports.ai/mcp",
      "audience": "https://promptreports.ai",
      "scopes": [
        "promptreports:read",
        "promptreports:write"
      ],
      "accepts_id_agent_token": "switching on",
      "state_text": "Built, off until FAMILY_MCP_ID_AGENT_TOKENS is on"
    }
  ],
  "refusals": [
    {
      "at": "token endpoint",
      "code": "unsupported_grant_type",
      "says": "Agent tokens are switching on",
      "means": "The ID's agent token keys are not set, so it issues no agent token.",
      "next": "Use the product's own key until the exchange is live."
    },
    {
      "at": "token endpoint",
      "code": "invalid_request",
      "says": "subject_token_type must be ..., or actor_token_type must be ...",
      "means": "A token type field is missing or wrong.",
      "next": "Send the subject_token_type and actor_token_type listed above, exactly."
    },
    {
      "at": "token endpoint",
      "code": "invalid_client (401)",
      "says": "An agent assertion is required, or why the assertion failed",
      "means": "The actor_token is missing or did not verify: an unknown or revoked key or agent, a wrong aud, an old or reused assertion.",
      "next": "Sign a fresh assertion with the agent's registered key, aud the token endpoint."
    },
    {
      "at": "token endpoint",
      "code": "invalid_target",
      "says": "resource must be one published product audience, or The grant is for another product",
      "means": "resource is not exactly one audience from the list, or the grant names a different product.",
      "next": "Send one audience exactly as published, for the product the grant names."
    },
    {
      "at": "token endpoint",
      "code": "invalid_grant",
      "says": "Unknown grant for this agent, The grant was revoked, The grant expired, The grant is for another version of this agent, or The person who made the grant is no longer a member",
      "means": "This agent cannot use the product grant now.",
      "next": "Ask your person for a new product grant on the agent's page."
    },
    {
      "at": "token endpoint",
      "code": "invalid_scope",
      "says": "scope must be a subset of the grant's, That scope is not issued, or The grant holds no scope that is issued",
      "means": "You asked for a scope the grant does not hold or the ID does not issue.",
      "next": "Leave scope out to get the grant's scopes, or ask your person for a grant with the scope you need."
    },
    {
      "at": "product",
      "code": "token_missing",
      "status": 401,
      "means": "No agent token was sent.",
      "next": "Exchange the person's product grant for a new agent token at https://accounts.promptreports.ai/oauth/token with resource this product's audience, and send it as Authorization: DPoP <token> with a DPoP proof in the DPoP header."
    },
    {
      "at": "product",
      "code": "invalid_agent_token",
      "status": 401,
      "means": "The agent token did not verify: issuer, audience, signature or lifetime.",
      "next": "Exchange the person's product grant for a new agent token at https://accounts.promptreports.ai/oauth/token with resource this product's audience; a token for another product is refused here."
    },
    {
      "at": "product",
      "code": "token_expired",
      "status": 401,
      "means": "The agent token has expired.",
      "next": "Exchange the person's product grant for a new agent token at https://accounts.promptreports.ai/oauth/token with resource this product's audience. Agent tokens live 60 seconds, so get one for each run of calls."
    },
    {
      "at": "product",
      "code": "act_chain_required",
      "status": 401,
      "means": "The agent token must name the person (sub) and the agent acting for them (act.sub).",
      "next": "Use the product grant or run-as exchange at PromptReports ID, which names the person (sub) and the agent (act)."
    },
    {
      "at": "product",
      "code": "org_required",
      "status": 401,
      "means": "The agent token names no PromptReports org (org_id).",
      "next": "Exchange again at PromptReports ID: every product grant token carries org_id."
    },
    {
      "at": "product",
      "code": "unknown_org",
      "status": 401,
      "means": "This product has no org for the PromptReports org the agent token names.",
      "next": "An owner or admin of that org signs in to this product with PromptReports once, which links the org. Then the agent gets a new token."
    },
    {
      "at": "product",
      "code": "unknown_person",
      "status": 401,
      "means": "The person this agent acts for has no account in this product in that PromptReports org.",
      "next": "The person signs in to this product with PromptReports once, in the org the agent token names."
    },
    {
      "at": "product",
      "code": "agent_revoked",
      "status": 403,
      "means": "The person revoked or paused this agent in this product.",
      "next": "The person can see it, and turn it back on, at this product's Settings."
    },
    {
      "at": "product",
      "code": "scope_missing",
      "status": 401,
      "means": "The agent token carries no scope, so it allows no call here.",
      "next": "The person grants this agent this product scopes (this product's:read, this product's:write or one this product's:<scope>) in PromptReports ID, then the agent exchanges for a new token."
    },
    {
      "at": "product",
      "code": "scope_not_for_site",
      "status": 401,
      "means": "The agent token carries none of the scopes this product publishes (this product's:...).",
      "next": "The person grants this agent this product scopes (this product's:read, this product's:write or one this product's:<scope>) in PromptReports ID, then the agent exchanges for a new token."
    },
    {
      "at": "product",
      "code": "scope_required",
      "status": 403,
      "means": "This call needs the scope this call needs, and the agent token does not carry it.",
      "next": "The person grants the scope this call needs to this agent in PromptReports ID, then the agent exchanges for a new token."
    },
    {
      "at": "product",
      "code": "key_binding_missing",
      "status": 401,
      "means": "This agent token is bound to a key, and the call carried no DPoP proof by it.",
      "next": "Send a DPoP proof (RFC 9449) signed by the key the token is bound to, in the DPoP header of each call."
    },
    {
      "at": "product",
      "code": "bad_proof",
      "status": 401,
      "means": "The DPoP proof did not verify.",
      "next": "Sign a new DPoP proof for this method and URL, with ath set to the SHA-256 of this token, by the key the token is bound to."
    },
    {
      "at": "product",
      "code": "proof_replayed",
      "status": 401,
      "means": "This DPoP proof was already used.",
      "next": "Sign a new DPoP proof, with a new jti, for each call."
    },
    {
      "at": "product",
      "code": "approval_pending",
      "status": 403,
      "means": "This action needs the person's approval, and none is recorded yet.",
      "next": "Ask the person to approve it in PromptCompute, then send the call again with the approval id."
    },
    {
      "at": "product",
      "code": "agent_tokens_off",
      "status": 401,
      "means": "This product does not accept PromptReports ID agent tokens yet.",
      "next": "Use this product's own key from this product's Settings instead."
    }
  ],
  "refusal_codes_from": "The token endpoint codes come from promptcompute.ai docs/promptreports-id.md (Issuer and endpoints, The family MCP resource, Agent tokens for family products), packages/approvals/src/product-tokens.ts, and https://accounts.promptreports.ai/.well-known/promptreports-agent-audiences.json, read 2026-11-14. The product codes are the family contract kit's (product_refusals, copied from refusals.ts by scripts/contract-kit-sync.mjs). They start from Sales as Code's codes; a product that has not taken them up yet refuses the same cases with codes of its own.",
  "product_refusals_source": {
    "repo": "RepoOps/promptcompute.ai",
    "commit": "d9144e26660a2ca437da2fe350e0edca5092c7b4",
    "path": "packages/connector-sdk/src/contract/refusals.ts"
  }
}
