Api
Issue an API key
Admin-only. Returns the raw key exactly once; only its argon2 hash is stored.
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/keys" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "string", "key": "string", "prefix": "string", "name": "string", "env": "string", "tier": "string"}{ "error": "string", "error_class": "string", "format_version": "string", "marker_coverage": 0}{ "error": "string", "error_class": "string", "format_version": "string", "marker_coverage": 0}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}List API keys GET
Admin-only. Lists key metadata (never the raw key) for an owner, including revoked keys for the audit trail.
Provision or regenerate the owner's test key POST
Admin-only. Revokes any existing active test key for the owner and issues a fresh one (exactly one active test key per owner). Returns the raw key exactly once.