Queries
Queries History
Fetch history of queries sorted by Timestamp in Descending order.
get/v1/queries/
Request
- Base URL: https://apipie.ai
- URL: https://apipie.ai/v1/queries/
- Auth: one of:
- HTTP bearer
- API key in header x-api-key
Query parameters
limitinteger
Limit number of returned queries per page (max 100)
offsetinteger
Offset used for pagination
show'all' | 'hourly' | 'daily' | 'weekly'
Which table to query:
- all: all records
- hourly: hourly aggregation
- daily: daily aggregation (default)
- weekly: weekly aggregation
daysinteger
How many days of history to return (minimum 1, default 30)
userstring
Filter by user (letters and numbers only, max 14 chars)
appstring
Filter by app (letters and numbers only, max 14 chars)
providerstring
Filter by provider (letters and numbers only, max 14 chars)
routestring
Filter by route/model (letters and numbers only, max 14 chars)
Response
Queries Listing
Changes
No recorded changes to this operation across all 1 revision of this API.