admin

Get paginated audit sessions (threads)

Changed on

Groups audit log entries by session id into threads and returns one summary per thread — its latest matching entry and complete request count — ordered by latest activity. Entries without a session id appear as single-entry threads. Filters apply to entries before grouping.

get/admin/audit/sessions

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/admin/audit/sessions
  • Auth
    HTTP bearer

Query parameters

daysinteger

Number of days (default 30)

start_datestring

Start date (YYYY-MM-DD)

end_datestring

End date (YYYY-MM-DD)

requested_modelstring

Filter by requested model selector

providerstring

Filter by provider name or provider type

methodstring

Filter by HTTP method

pathstring

Filter by request path

user_pathstring

Filter by tracked user path subtree

user_path_prefixstring

Filter by user paths starting with this text (case-sensitive, index-served)

model_prefixstring

Filter by requested or resolved model starting with this text (case-sensitive, index-served)

request_idstring

Filter by exact request id

session_idstring

Filter by exact session id

error_typestring

Filter by error type

status_codeinteger

Filter by status code

streamboolean

Filter by stream mode (true/false)

exclude_operationstring

Comma-separated endpoint operations to hide, e.g. mcp,provider_passthrough,audio_speech; other entries, including unclassified ones, stay

searchstring

Search across request_id/requested_model/provider/method/path/session_id/error_type/error_message

limitinteger

Page size in threads (default 25, max 100)

offsetinteger

Offset for pagination

Response

OK

limitinteger
offsetinteger
totalinteger

Changes

    • info

      added the new optional query request parameter model_prefix

    • info

      added the new optional query request parameter request_id

    • info

      added the new optional query request parameter session_id

    • info

      added the new optional query request parameter user_path_prefix

    • info

      added the new optional query request parameter exclude_operation