Get GPT logs

Retrieve a list of GPT bot chat logs with details such as tokens, price, and timestamps.

Query Params
integer

Starting point to return records from a result set.

integer
Defaults to 10

Maxium number of returning records.

string

Comma-separated list of a record's fields to be fetched. Available fields: transactionDate, personalAccountId, companyId, companyName, amount, purpose, externalId, payerNameFromTransaction

string

Comma-separated list of fields to sort by. Each sort field can have special prefix indicating a desirable sort order: + (ascending order, default) or - (descending order). The available sort fields: dialogId, botId, model, provider, inputTokens, outputTokens, testMode, price, createdAt.

string

The start date (for example, 2018-05-27T21:30:54+00:00). (For get request need encode url)

string

The end date (for example, 2018-05-27T21:30:54+00:00). (For get request need encode url)

integer

The ID of the company to filter logs by.

boolean
Defaults to false

Exclude the count of total entries in the response.

boolean
Defaults to false

Exclude the list of items in the response.

Response

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json