List a team's audit log
Overview
Lists activity by the team's owner and members, newest first. Filter by filter[action], filter[ip_address], filter[actor] or filter[*] for text search. Use text search for a server's short ID; filter[server_id] requires an internal numeric ID. Sort with sort=created_at or sort=-created_at. per_page defaults to 25 and is limited to 1 to 100. actors lists up to 50 people for filtering, including former members. Members need permission to view both the team and its servers. Personal account events are hidden from members.
Permissions
Requires the account permission teams.read (View teams).
Authorization
Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.
Send it as Bearer <token>.
Path parameters
The team uuid short
Query parameters
Filter records by action.
Filter records by ip address.
Filter records by server id.
Filter records by actor.
Search the records for this text.
The field to sort by, prefixed with - for descending order.
Response 200
application/jsonOne page of results, with the rows under data and the paging figures beside them.
The value of actors.
Show child attributesHide child attributes
The id ID.
The name shown to customers.
The email address.
Which page this is, counting from 1.
The rows on this page.
Show child attributesHide child attributes
The id ID.
The value of action.
An optional description shown to customers.
The value of metadata.
The value of ip_address.
The value of user_agent.
The value of method.
The value of path.
Whether the resource is staff.
Written out with toISOString() rather than left to the date serialiser, because that is the rendering the transformer this replaces published.
Absent as null rather than as a missing key, and null for the events that belong to no server at all - signing in, a firewall group being created, a session being cut off.
Show child attributesHide child attributes
The uuid UUID.
The value of uuid_short.
The name shown to customers.
The fully qualified hostname.
The value of windows.
The value of template_name.
The value of template_icon_url.
Null for automated events or events without an identified person, such as failed sign-ins and scheduled checks.
Show child attributesHide child attributes
The name shown to customers.
The email address.
The value of gravatar_url.
The type of resource this entry describes.
Show child attributesHide child attributes
The type of operation or resource.
The id ID.
The name shown to customers.
A link to the first page.
The position of the first row on this page in the whole result, or null when the page is empty.
How many pages there are.
A link to the last page.
Pagination links in display order.
Show child attributesHide child attributes
A link to the next page, or null on the last one.
The base URL used for pagination.
How many rows a page holds.
A link to the previous page, or null on the first one.
The position of the last row on this page, or null when the page is empty.
How many rows there are altogether.
Errors
- 401
- The key was missing, malformed, revoked, or belongs to an account that no longer exists.
- 403
- Access denied. Check the key's team, permissions and allowed IP addresses. Some actions, such as managing API keys, require a browser session. The response message explains the reason.
- 404
- The resource was not found in the selected team. Resources in another account or team also return 404.
- 429
- Too many requests. The
Retry-Afterheader says how many seconds to wait. Limits are per account, so several keys on one account share them.
Still stuck? Contact our team
View as Markdown