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

Autorizaciones

Authorization
string
header
requerido

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 ruta

sessionId
string<uuid>
requerido

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
predeterminado:25

Maximum items per page.

Rango requerido: 1 <= x <= 100

Respuesta

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>
requerido
groupBy
enum<string>
requerido

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.

Opciones disponibles:
model
rows
object[]
requerido
nextCursor
string

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