# GET /v1/workspace/audit-logs (ElevenLabs API)
Base URL: https://api.elevenlabs.io
Auth: xi-api-key: <ELEVENLABS_API_KEY>
Last verified: 2026-09-03

> Get Workspace Audit Logs

## Critical Gotchas
* Authentication uses the non-standard `xi-api-key` header, not `Authorization: Bearer`. Sending a Bearer token returns HTTP 401.
* Text-to-speech responses are raw binary audio, not JSON. Write the body to a file (`--output speech.mp3`) rather than parsing it.

## cURL
curl -X GET 'https://api.elevenlabs.io/v1/workspace/audit-logs?limit=50&cursor=example-cursor&time_from_unix_ms=10&time_to_unix_ms=10&actor_uid=example-actor-uid&class_name=example-class-name&activity_name=example-activity-name' \
  -H "xi-api-key: $ELEVENLABS_API_KEY"

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| limit | query | integer | No | Maximum number of entries per page |
| cursor | query | string | No | Cursor for the next page (from previo... |
| time_from_unix_ms | query | integer | No | Only include entries at or after this... |

## Response (200 OK)
{"entries":[{}],"has_more":true}

---
Need an API key? Get one at https://elevenlabs.io/app/sign-up