Access
PreviewWhere 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
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
The destinations.
application/json- response
items*array<>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" } ]}Where the organization is in its life GET
Whether the organization is working, and if not why, for the banner every member sees. `state` is `active`,
Stream the audit entries to a bucket or a webhook POST
Adds a destination. A bucket (`s3`, `gcs` or `azure`) takes one JSON Lines object for each batch, written with the