Read the credential audit trail
Credential events (created, rotated, edited, revoked, used with a step-up, policy changes), newest first, with a cursor. format=csv returns the same page as CSV. Needs the organization's credential features to be enabled; while they are not, this answers 404 feature_disabled.
Person only: a dashboard session. The person's role must hold credential_events:read. API keys, agent connection keys and agents are refused.
Request
- Base URLhttps://api.primitive.dev/v1
- URLhttps://api.primitive.dev/v1/credential-events
- AuthHTTP bearer
Query parameters
Opaque next_cursor from the preceding page. Omit for the first page.
Events per page, from 1 to 500.
Only events this person caused.
Only events about this credential.
Only events of this type, for example key.created.
Only events at or after this time (ISO 8601).
Only events before this time (ISO 8601).
json (the default) or csv.
Response
Success
Changes
No operation changes recorded.