Access
Preview

Where the organization's audit entries are streamed to

The destinations the organization sends its audit entries to, at most two, one of each kind. A destination's

GET
/organization/audit-stream/sinks
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

Response Body

The destinations.

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/organization/audit-stream/sinks'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "kind": "s3",      "config": {        "bucket": "string",        "region": "string",        "accessKeyId": "string",        "account": "string",        "container": "string",        "prefix": "string",        "url": "string"      },      "enabled": true,      "state": "active",      "secretHint": "string",      "lastDeliveredAt": "2019-08-24T14:15:22Z",      "lastDeliveredSeq": 0,      "failingSince": "2019-08-24T14:15:22Z",      "lastError": "string",      "pausedAt": "2019-08-24T14:15:22Z",      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}