Projects

Check whether this project still depends on the retiring signing key

Machine-readable rotation status. A project's anon_key/service_key are DERIVED from the platform signing key and carry no expiry, so they persist in .env files and CI indefinitely; that key is being retired. state is legacy while the project still relies on them and rotatable once it holds individually revocable credentials. There is deliberately NO deadline: retirement is gated on conditions (every tenant migrated, 30 consecutive days of zero legacy-key use, explicit operator approval), not a date — retirement.gated_on[] lists them and retirement.deadline is always null. Requires project.read rather than credential-manage: knowing you should rotate is not a privileged act, and gating it harder would hide the warning from the automation that needs it. The in-band counterpart is the X-Run402-Key-Rotation response header on owner-facing surfaces.

get/projects/v1/{project_id}/credential-status

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/projects/v1/{project_id}/credential-status
  • Auth: one of:
    • API key in header SIGN-IN-WITH-X
    • HTTP bearer

Path parameters

project_idstring required

Query parameters

include_revokedboolean

Headers

SIGN-IN-WITH-Xstring required

SIWX auth header — base64-encoded JSON payload containing a signed CAIP-122 (EIP-4361) message. See https://docs.x402.org/extensions/sign-in-with-x.

Response

Current rotation status for the project.

project_idstring
state'legacy' | 'rotatable'
legacy_keystring
rotatable_credentialsinteger
credentialsobject[]
next_actionsobject[]

Changes

No recorded changes to this operation across all 1 revision of this API.