Syndai Docs

List audit events

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/coding/customers/{customer_id}/audit-events

The workspace's recent audit events, newest first: who did what and when. Owners and admins.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

customer_id*string
Formatuuid

Query Parameters

limit?integer
Default50

Response Body

Request fulfilled, document follows

application/json
  1. response
audit_events*array<>
export_available?boolean
Defaultfalse
Example Request
curl -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}
Was this page helpful?