Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Tags to filter for queries that are marked with these tags.
Optionally specify an endpoint, or a list of endpoints to filter for
Timestamp of the earliest query to aggregate. Format is YYYY-MM-DD hh:mm:ss.
Timestamp of the latest query to aggregate. Format is YYYY-MM-DD hh:mm:ss.
page_number
integer | null
default:"1"
The query history is returned in pages, with up to 20 prompts per page. Increase the page number to see older prompts.
failures
boolean | string
default:"false"
indicates whether to includes failures in the return (when set as True ), or whether to return failures exlusively (when set as ‘only’).
curl --request GET \
--url 'https://api.unify.ai/v0/queries?tags=my_tag&endpoints=gpt-4o@openai&start_time=2024-07-12%2004:20:32&end_time=2024-08-12%2004:20:32&page_number=1&failures=False' \
--header "Authorization: Bearer $UNIFY_KEY"