Deprecated

List distinct user IDs from span attributes.

Returns the distinct values of ag.user.id across spans in the current project. Same pagination and realtime semantics as POST /tracing/sessions/query; pass the returned windowing.next cursor on subsequent calls.

post/tracing/users/query

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/tracing/users/query
  • Auth
    API key in header Authorization

Request body

realtimeboolean nullable

When true, paginate by last_active. When false or unset, paginate by the stable first_active cursor.

Response

Successful Response

countinteger

Number of user IDs in this page.

user_idsstring[]

Distinct values of ag.user.id in this page.

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api tag Deprecated added

    • info

      api tag Traces removed

    • info

      endpoint deprecated