AlmondTill/G3N API

AiCall

object type

One AI provider call YOUR group made, WITH the words (🧾 THE AI LEDGER): the merchant's prompt · the office-composed context · what the model said it understood · the answer · the refs — beside the metering facts the daily rollup already shows. The words live here and in the event lake ONLY; no log line ever carries them.

Fields

FieldTypeNotes
idID ID!= the meter event's callId (the provider call's own uuidV7) — the same id the response envelope's extensions.at.ai.calls.id carries.
atString String!No further notes.
requestIdID ID!The wire request's own id (= that response's extensions.at.callId) — every AI call of one press carries it (a planner's route + steps + resolve; a consultation's rounds).
opString String!The wire operation the call served — draftReport · askConsultation · interpretFilter · …
surfaceString String!The metered surface token (the at.ai.call.v1 roster) — e.g. office.report_draft.
providerString String!No further notes.
modelString String!The EXACT model id the provider reported.
effortString String!The reasoning effort the call rode — low | medium | high | xhigh (low everywhere in slice 1).
schemaNameString String!No further notes.
statusString String!ok | refused | error | timeout.
providerErrorCodeStringNo further notes.
tokensAiCallTokens AiCallTokens!No further notes.
costUsdString String!The call's cost — a DECIMAL STRING in USD (nano-dollar exact; the money-string law — never a float).
priceTableVersionString String!No further notes.
latencyMsInt Int!No further notes.
bytesInIntNo further notes.
bytesOutIntNo further notes.
promptStringThe MERCHANT's words; null where the surface has none (a summary roll, a material extraction, a training draft).
contextStringThe office-composed context the merchant handed the surface (the page's identity form · the filled fields · the thread); null where none; cut at 8192 with contextTruncated true.
contextTruncatedBoolean Boolean!No further notes.
understoodStringWhat the model said it understood the request to be (the echo rule — one sentence, at most 240 characters); null when the call did not answer.
answerStringThe surface's answer as it parsed it (the strict JSON text after the echo strip); null when the call did not answer; cut at 16000 with answerTruncated true.
answerTruncatedBoolean Boolean!No further notes.
refsAiCallRef [AiCallRef!]!No further notes.
userIdIDNo further notes.
sessionIdIDNo further notes.
organizationIdIDNo further notes.