Spans

List span groups

Changed on

Group spans by a supported dimension and return one aggregate row per group. trace and thread roll spans up through their dedicated entity views.

get/api/request-logs/groups/

Request

  • Base URL
    https://api.respan.ai
  • URL
    https://api.respan.ai/api/request-logs/groups/
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

group_by'model' | 'provider_id' | 'organization_key_id' | 'prompt_id' | 'deployment_id' | 'deployment_name' | 'custom_identifier' | 'customer_identifier' | 'trace' | 'thread'

Grouping dimension. trace and thread use entity rollups.

sort_bystring
start_timestring date-time
end_timestring date-time
environmentstring
pageinteger
page_sizeinteger

Response

Paginated groups and aggregate metrics.

countinteger required

Number of results on this page, not the total. Request pages until next is null to get every result.

nextstring nullable
previousstring nullable
current_filtersobject
filters_dataobject

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • breaking

      the // response's property type changed from number null to number, and format from double to no format for status

    • info

      api operation id spans_request_logs_groups_list removed and replaced with request_logs_groups_list

    • info

      the endpoint scheme security DashboardJwt was added to the API

    • info

      api tag Spans added

    • info

      api tag spans removed

    • warning

      removed the optional property from the response with the status

    • info

      removed the non-success response with the status

    • info

      the response property became required for the status