List audit logs
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/audit-logs \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "log_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"actor_id": "user_xyz789",
"action": "member.invited",
"resource_type": "member",
"resource_id": "member_456def",
"changes": {
"email": "newuser@example.com",
"role": "editor"
},
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0...",
"created_at": "2024-02-15T10:30:00Z"
}
],
"pagination": {
"limit": 50,
"cursor": "log_1a2b3d",
"has_more": true
}
}Obter Logs de Auditoria
Retrieve workspace audit logs with cursor-based pagination
GET
/
api
/
workspace
/
{workspaceId}
/
audit-logs
List audit logs
curl --request GET \
--url https://app.alana.shopping/api/workspace/{workspaceId}/audit-logs \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "log_1a2b3c",
"workspace_id": "ws_1a2b3c4d",
"actor_id": "user_xyz789",
"action": "member.invited",
"resource_type": "member",
"resource_id": "member_456def",
"changes": {
"email": "newuser@example.com",
"role": "editor"
},
"ip_address": "203.0.113.42",
"user_agent": "Mozilla/5.0...",
"created_at": "2024-02-15T10:30:00Z"
}
],
"pagination": {
"limit": 50,
"cursor": "log_1a2b3d",
"has_more": true
}
}Autorizações
Bearer token authentication via Auth0. Users authenticate through Auth0 Universal Login. Include the access token in the Authorization header: Authorization: Bearer <token>
Parâmetros de caminho
The workspace ID
Pattern:
^ws_[a-z0-9]+$Parâmetros de consulta
Intervalo obrigatório:
1 <= x <= 100Pagination cursor from previous response
Filter by action type
Filter by user ID
Última modificação em 16 de fevereiro de 2026
⌘I