AlmondTill/G3N API

AiCall

object type

One AI call your group made, with the words: 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!
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.
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!
statusString String!ok | refused | error | timeout.
providerErrorCodeString
tokensAiCallTokens AiCallTokens!See [AiCallTokens](/types/AiCallTokens/).
billedKernelsFloat Float!What your plan meters for this call, in kernels.
billedUsdString String!The same at the standard rate, in USD — a decimal string (the money-string law; never a float); volume tiers price lower.
latencyMsInt Int!
bytesInInt
bytesOutInt
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!
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!
refsAiCallRef [AiCallRef!]!See [AiCallRef](/types/AiCallRef/).
userIdID
sessionIdID
organizationIdID