Audit

Stream every matching event as CSV (default) or NDJSON, newest first.

The window is frozen when the export starts, so it is one consistent snapshot however long it runs, and the rows are never gathered in memory.

get/api/v1/audits/export

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.

format'csv' | 'ndjson'

csv (the default) or ndjson.

Response

Successful Response

unknown required

Changes