Read the audit log
GET
Every change in the organization, newest first: who made it (a person, or the person behind an API key), when, from where, and what changed. Owner and admins only.
bearerheader
AuthorizationBearer <token>An API key (opk_…) or a CLI token (opc_…).
projectId?stringactorId?stringA person's user id.
Length
length <= 200action?stringAn action such as service.update, or a resource such as service for all of its actions.
Length
length <= 100resourceId?stringLength
length <= 200since?stringFrom this time on (ISO 8601).
Length
length <= 40until?stringBefore this time (ISO 8601).
Length
length <= 40limit?integerHow many items to return, 1 to 100. Default 50.
Range
1 <= value <= 100cursor?stringThe nextCursor of the previous page.
Length
length <= 500Read the audit log
application/json- response
data*array<>nextCursor*|Pass as cursor for the next page; null on the last.
curl "https://openpanel.sh/api/v1/audit" \ -H "Authorization: Bearer $OPENPANEL_TOKEN"Example response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "createdAt": "2019-08-24T14:15:22Z", "actorType": "user", "actorId": "string", "actorLabel": "string", "keyId": "468bcefd-6536-4844-8249-aff3ecb2ef7b", "action": "string", "resourceType": "string", "resourceId": "string", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "before": null, "after": null, "ip": "string" } ], "nextCursor": "string"}