Knowledge
A base's costs
GET
What the base's ingestion and searches cost, grouped by group_by (day, stage, document or model) from since to until (ISO dates or times; this month by default).
More in Knowledge API.
apiKeyheader
AuthorizationBearer <token>An API key, sk-syn- and 32 characters. On SynapseOrch Cloud an owner or admin makes it under Settings → Developer; on a self-hosted install, under Settings → API Keys.
kb_id*stringgroup_by?stringDefault
"day"since?string|nulluntil?string|nulllimit?integerRange
1 <= value <= 1000Default
1000Successful Response
application/json- response
[index: integer]?curl -X GET "https://api.synapseorch.com/api/v1/knowledge/bases/kb_01a10d3f5a7c9e1b3d5f7a9c1e3b5d7f/costs" \ -H "Authorization: Bearer sk-syn-..."[ { "key": "string", "est_usd": 0, "charged_microusd": 0, "input_tokens": 0, "units": 0 }]