gateway.openapi_Gateway

List User Audit Logs

get/v1/accounts/{account_id}/auditLogs

Request

  • Base URL: https://api.fireworks.ai
  • URL: https://api.fireworks.ai/v1/accounts/{account_id}/auditLogs
  • Auth: HTTP bearer

Path parameters

account_idstring required

The Account Id

Query parameters

startTimestring date-time

Start time of the audit logs to retrieve. If unspecified, the default is 30 days before now.

endTimestring date-time

End time of the audit logs to retrieve. If unspecified, the default is the current time.

emailstring

Optional. Filter audit logs for user email associated with the account.

pageSizeinteger

The maximum number of audit logs to return. The maximum page_size is 200, values above 200 will be coerced to 200. If unspecified, the default is 10.

pageTokenstring

A page token, received from a previous ListAuditLogs call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuditLogs must match the call that provided the page token.

filterstring

Optional. An AIP-160 filter expression (https://google.aip.dev/160) over the fields message, resource, email, api_key_id, event_type, and target_api_key_id. Use = for an exact match and : for a substring match, for example email="user@example.com" or message:"Create".

orderBystring

Unused. Audit log entries are always returned ordered by timestamp descending (newest first).

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

nextPageTokenstring

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. This is the only signal that results are exhausted: an empty auditLogs list or a short page does not mean the scan is finished.

totalSizeinteger

Always 0 for audit logs. The number of matching entries is not known until the scan completes, so this field cannot be used to size a loop or compute a page count.

Changes

No recorded changes to this operation across all 1 revision of this API.