Scale Intelligence■ Docs
Docs / The model / CallEnvelope

CallEnvelope.

What every call carries beside its input: the scope, the two dates for a read, and for a change the key made from the input

Figure 1CallEnvelopespecified
CALLENVELOPEvalue at none scopescopeScopefor a read; both default to nowas_ofTwoDatesoptionalfor a change: made from the input, so a repeat writes nothingkeytextoptionalthe surface it calls fromsurfaceenum:the interface|our agent|an outside…SCOPEthrough scopeTWODATESthrough as_of
CallEnvelope is a value at none scope. The drawing shows its fields and the objects that they point at.
kind
value
scope
none
key
none
store
none
family
harness

Fields#

fieldtyperequirednote
scopeScopeyes
as_ofTwoDatesnofor a read; both default to now
keytextnofor a change: made from the input, so a repeat writes nothing
surfaceone of the interface | our agent | an outside agent | the apiyesthe surface it calls from

Routes that use it#

No route takes or returns CallEnvelope directly. The record holds it, and the objects that point at it reach it.