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

Authorizations

Authorization
string
header
required

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.

Path Parameters

sessionId
string<uuid>
required

The session's id.

Query Parameters

cursor
string

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

Maximum string length: 1024
limit
integer
default:25

Maximum items per page.

Required range: 1 <= x <= 100

Response

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

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.

Available options:
model
rows
object[]
required
nextCursor
string

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