openai_list_audit_logs
List user actions and configuration changes in your OpenAI organization, filtering by time, actor, event type, project, or resource to monitor activity and enhance security.
Instructions
List user actions and configuration changes in the organization.
Args:
effective_start_time: Only events at/after this Unix timestamp (seconds).
effective_end_time: Only events before this Unix timestamp (seconds).
actor_emails: Only events performed by users with these emails.
actor_ids: Only events performed by these actors (user, service
account, or API key tracking IDs).
event_types: Only events of these types, e.g. `project.created`,
`user.added`, `api_key.deleted`, `invite.sent`. See
https://platform.openai.com/docs/api-reference/audit-logs/object
for the full enum.
project_ids: Only events scoped to these projects.
resource_ids: Only events affecting these resource IDs.
after: Pagination cursor from a previous response's `last_id`.
before: Pagination cursor to fetch the previous page.
limit: Maximum number of events to return per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| limit | No | ||
| before | No | ||
| actor_ids | No | ||
| event_types | No | ||
| project_ids | No | ||
| actor_emails | No | ||
| resource_ids | No | ||
| effective_end_time | No | ||
| effective_start_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |