API Keys
List API keys
GET
/auth/keysReturns all API keys for the account, including revoked ones. Session token required — API keys cannot be used to manage other API keys. Raw key values are never returned after the initial creation response.
Example
curl https://api.pinstripes.io/auth/keys \ -H "Authorization: Bearer <session-token>"
Response
{
"keys": [
{
"id": 1,
"label": "prod",
"created_at": 1746057600.0,
"revoked_at": null,
"rpm_limit": 0
},
{
"id": 2,
"label": "old-staging",
"created_at": 1743379200.0,
"revoked_at": 1746057000.0,
"rpm_limit": 30
}
]
}rpm_limit: 0 means the key inherits the account default (60 RPM). revoked_at is null for active keys.