Audit

Every audit event, newest first, filtered and keyset-paginated on the server.

Filters: source, kind, resource_type, action, exclude_action, operation, result and actor_type repeat and OR within themselves; resource_id, user_id, actor_id, request_id, since and until narrow further. q keeps rows whose action, operation, resource type or name, actor username or details contain it, ignoring case. include_total=true adds a count of every match. offset jumps to a page by position instead of a cursor; next_cursor then continues from it.

get/api/v1/audits

Request

  • The document declares no server URL.
  • Auth
    • OAuth 2
      Password
      Token URL: api/v1/login
    • or API key in query parameter x-api-key
    • or API key in header x-api-key

Query parameters

sourcestring[]

The store the event came from. Repeatable; values are ORed.

kindstring[]

What the event is about. Repeatable; values are ORed.

resource_typestring[]

Resource type slug. Repeatable; values are ORed.

actionstring[]

Exact action. Repeatable; values are ORed.

exclude_actionstring[]

Action to leave out. Repeatable; values are ORed.

operationstring[]

Shape of the mutation. Repeatable; values are ORed.

resultstring[]

Outcome. Repeatable; values are ORed.

actor_typestring[]

How the request authenticated. Repeatable; values are ORed.

resource_idstring uuid

Exact resource.

user_idstring uuid

Exact Langflow account.

actor_idstring uuid

Exact authenticated principal or credential.

request_idstring uuid

Exact request correlation id.

sincestring date-time

Inclusive RFC 3339 timestamp.

untilstring date-time

Exclusive RFC 3339 timestamp, later than since.

qstring

Free text kept against action, operation, resource type or name, actor username and details.

cursorstring

Opaque cursor from the previous page.

limitinteger

Page size.

offsetinteger

Jump to a page by position instead of a cursor; cannot be combined with one.

include_totalboolean

Add a count of every match.

Response

Successful Response

next_cursorstring nullable required
totalinteger nullable required

Changes