Skip to main content
GET
Read what one conversation cost, broken down by model

Autorizações

Authorization
string
header
obrigatório

Enforced on every transport, with no exempt operation. A person's request — over the default local unix socket exactly as over a TCP listener — must carry a JWT issued by the configured identity provider, which the host verifies itself against that issuer's key set: signature, issuer, expiry, and the person and organisation it names. Requests without a valid one receive 401 NRY-0011. The socket's file permissions are transport and are not an authorisation.

Parâmetros de caminho

sessionId
string<uuid>
obrigatório

The session's id.

Parâmetros de consulta

cursor
string

Opaque pagination cursor from a previous page's nextCursor or prevCursor.

Maximum string length: 1024
limit
integer
padrão:25

Maximum items per page.

Intervalo obrigatório: 1 <= x <= 100

Resposta

One page of the conversation's consumption.

One conversation's consumption, one page of it, grouped by the model each round was billed under and ordered by model name ascending.

sessionId
string<uuid>
obrigatório
groupBy
enum<string>
obrigatório

The dimension these rows are grouped by. model is the only one a single conversation has; it is echoed so a client reads the same envelope here as on the period report.

Opções disponíveis:
model
rows
object[]
obrigatório
nextCursor
string

Pass as cursor for the next page. Absent on the last page.