List audit events
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
The workspace's recent audit events, newest first: who did what and when. Owners and admins.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidlimit?integerDefault
50Request fulfilled, document follows
application/json- response
audit_events*array<>export_available?booleanDefault
falsecurl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/audit-events'Example Response
{ "audit_events": [ { "actor_email": "string", "actor_user_id": "d6ed4497-4325-4995-9f49-e288b7192e46", "created_at": "2019-08-24T14:15:22Z", "customer_api_key_id": "d8be2f61-5ddb-477d-95d3-4fd7bc664b93", "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e", "event_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "payload": {}, "resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f", "resource_type": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "export_available": false}