cost

List Cost Entries

List cost log entries with optional filters.

Access: Admin only (cost data is sensitive per spec section 7.2).

get/api/cost

Query parameters

categorystring nullable

Filter by category: enrichment, llm, infra, sending

Filter by category: enrichment, llm, infra, sending

record_idstring uuid nullable

Filter by associated record UUID

Filter by associated record UUID

date_fromstring date-time nullable

Include entries after this datetime (ISO 8601)

Include entries after this datetime (ISO 8601)

date_tostring date-time nullable

Include entries before this datetime (ISO 8601)

Include entries before this datetime (ISO 8601)

pageinteger
limitinteger

Response

Successful Response

totalinteger required

Total records matching the query (before pagination)

pageinteger required

Current page number (1-indexed)

limitinteger required

Records per page (default 50, max 200)

has_moreboolean required

True if (page * limit) < total

Changes

No recorded changes to this endpoint across all 1 revision of this API.