Skip to main content
GET
ListAuditEvents
Retrieve event data from your 1Password account to determine who performed an action and when, like when a team member edits an item’s password or invites another team member to a shared vault. Authorize the request with an OAuth access token that has the audit-events.view scope. Set account to the ID of the account that owns the OAuth application, or use - to select the account associated with the token. Use start_time and end_time to filter events by the time they were ingested by 1Password (insert_time). After retrieving all pages, use the insert_time of the last event as start_time in your next poll. Learn more about continuous polling. Use RFC 3339 format for both time parameters. Fractional seconds are optional and can have up to nine digits. Use max_page_size to set the number of events returned per page (100 by default, up to 1000). If the response contains a non-empty next_page_token, pass it in the page_token query parameter to fetch the next page.
Don’t use the start_time or end_time query parameters in a request that also uses page_token. Doing so returns a 400 Bad Request error.
If the response is successful and there aren’t any events for the requested parameters, the results array is empty ([]). Requests that exceed the rate limit return a 429 Too Many Requests error and include a Retry-After header. Learn more about rate limits. See the API conventions for more information about authorization, pagination, filtering, and error handling.

Authorizations

Authorization
string
header
required

Authorize requests with an OAuth 2.0 access token that has the audit-events.view scope.

Path Parameters

account
string
required

The account id.

Query Parameters

max_page_size
integer<int32>

max_page_size is the maximum number of results to return in a single request. Defaults to 100 when omitted or set to 0; must not exceed 1000.

Required range: 0 <= x <= 1000
page_token
string

An opaque token identifying the next page of results to retrieve.

start_time
string<date-time>

The API returns only events with an insert_time later than start_time. Omit start_time when you send page_token.

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"

end_time
string<date-time>

The API returns only events with an insert_time earlier than end_time. Omit end_time when you send page_token.

Examples:

"2023-01-15T01:30:15.01Z"

"2024-12-25T12:00:00Z"

Response

Success

ListAuditEventsResponse is the response message for the ListAuditEvents RPC.

results
AuditEvent · object[]

A subset of the requested audit events.

next_page_token
string

An opaque token used to retrieve the next page of results. Empty on the final page.

Example:

"aGVsbG8hIGlzIGl0IG1lIHlvdSBhcmUgbG9va2luZyBmb3IK"