Busabase
OpenAPI Reference

Audit

Audit records for workspace operations.

GET
/api/v1/audit-events

Query Parameters

limit?integer

Rows to return, most recent first. Capped at 100; this listing has no cursor.

Range1 <= value <= 100
Default50

Response Body

application/json

curl -X GET "https://example.com/api/v1/audit-events"
[  {    "id": "string",    "action": "record.viewed",    "actorId": "string",    "actor": null,    "sourceAttribution": {      "displayName": "string",      "ownerName": "string",      "channel": "web_ui"    },    "baseId": "string",    "recordId": "string",    "changeRequestId": "string",    "operationId": "string",    "commitId": "string",    "metadata": {      "property1": null,      "property2": null    },    "createdAt": "string"  }]
POST
/api/v1/audit-events

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/audit-events" \  -H "Content-Type: application/json" \  -d '{    "action": "record.viewed"  }'
{  "id": "string",  "action": "record.viewed",  "actorId": "string",  "actor": null,  "sourceAttribution": {    "displayName": "string",    "ownerName": "string",    "channel": "web_ui"  },  "baseId": "string",  "recordId": "string",  "changeRequestId": "string",  "operationId": "string",  "commitId": "string",  "metadata": {    "property1": null,    "property2": null  },  "createdAt": "string"}