Overview
The Task Audit Logs API records actions taken on tasks. Each log entry identifies the task, the action, the actor type and ID, an optional JSON payload, and a timestamp. Access is scoped to tasks owned by the caller or tasks in workspaces where the caller is a member.Base URL
Authentication
All routes require a valid bearer token in theAuthorization header. See Authentication for details.
Audit log object
Endpoints
List audit logs
Query parameters
Response
taskId is omitted, the endpoint returns audit logs for all tasks the caller can access.
Create an audit log entry
Response
Error codes
Related pages
- Tasks — task management
- Agent Runs — agent execution events
- Workspaces — workspace membership and access