GET
/
analytics
/
groups
/
users

Authorizations

x-portkey-api-key
string
headerrequired

Query Parameters

time_of_generation_min
string
required

Minimum time of generation (ISO8601 format)

time_of_generation_max
string
required

Maximum time of generation (ISO8601 format)

total_units_min
integer

Minimum total units (tokens)

total_units_max
integer

Maximum total units (tokens)

cost_min
number

Minimum cost (in cents)

cost_max
number

Maximum cost (in cents)

prompt_token_min
integer

Minimum number of prompt tokens

prompt_token_max
integer

Maximum number of prompt tokens

completion_token_min
integer

Minimum number of completion tokens

completion_token_max
integer

Maximum number of completion tokens

status_code
string

Comma separated response status codes

weighted_feedback_min
number

Minimum weighted feedback score

weighted_feedback_max
number

Maximum weighted feedback score

virtual_keys
string

Comma separated virtual key slugs

configs
string

Comma separated config slugs

workspace_slug
string

Workspace slug filter. If a workspace API key is being used, this filter will not be taken into consideration. If an organisation API key is used and no workspace slug is passed, default workspace will be used.

api_key_ids
string

Comma separated API key UUIDs

current_page
integer

Current page number

page_size
integer

Number of items per page

metadata
string

Stringifed json object with key value metadata pairs

ai_org_model
string

Comma separated ai provider and model combination. Double underscore (__) should be used as a separator for each provider and model combination

trace_id
string

Comma separated trace IDs

span_id
string

Comma separated span IDs

Response

200 - application/json
object
enum<string>
required
Available options:
list
total
integer
required

Total records present across all pages

data
object[]
required