Skip to content

Call record

The kept record of one call: what was called, by which Key, through which Interface, what it answered and cost.

A Call record is the kept record of one call: what was called, by which Key, through which Interface, what it answered and cost.

Parts

FieldWhat it holds
requestThe request id, as X-Request-Id carries it; a Batch item adds its place.
atWhen the call was answered, in ISO 8601.
msHow long the call took, in milliseconds.
verbThe operation that was called.
faceThe Interface the call came through: rest for the API, mcp or batch; the field keeps the name it has on the wire.
keyA reference to the Key: key_ and 24 hex digits of its SHA-256, or anonymous.
customerThe Customer who called, when the Key is entitled on the API.
statusThe HTTP status the call answered.
okWhether the call answered a result.
codeThe Problem code, when the call answered one.
detailThe Problem detail, when the call answered one.
priceWhat the call cost the caller, at the posted rate.
upstreamWhat serving the call cost upstream.
currencyThe currency of the price and the upstream cost.
inputThe input the call sent.
batchFor a Batch item: the Action id of its Batch.
itemFor a Batch item: its place in the Batch.

Guarantees

  • Every call is kept. Each call is a record that never expires, holding a digest of the Key and never the Key.

Example

One kept call to the Openhours sample: the wire name of its Interface field is face
{
  "request": "req_3f9a1c07b2e4d6a85c11",
  "at": "2026-10-24T09:14:03.120Z",
  "ms": 42,
  "verb": "getHours",
  "face": "rest",
  "key": "key_9b1f0c3e5a7d2468ace01357",
  "status": 200,
  "ok": true,
  "price": 0.002,
  "upstream": 0,
  "currency": "USD",
  "input": { "placeId": "pl_4821" }
}