Scale Intelligence■ Docs
Docs / The model / Operation

Operation.

One tool as the API serves it: a route, its input and output as owning types, its errors, its limits; generated

Figure 1Operationspecified
OPERATIONrow at platform scopetoolToolverbVerbroutetextmethodenum:GET|POSTinput_typetextoutput_typetexteach a Refusal with its ruleerrors[text]limitsRateBounda change carries its idempotency keyidempotentboolthe API's versionversiontextTOOLthrough toolVERBthrough verbRATEBOUNDthrough limits
Operation is a row at platform scope. The drawing shows its fields and the objects that they point at.
kind
row
scope
platform
key
the tool
store
postgres
family
gateway

Fields#

fieldtyperequirednote
toolToolyes
verbVerbyes
routetextyes
methodone of GET | POSTyes
input_typetextyes
output_typetextyes
errors[text]yeseach a Refusal with its rule
limitsRateBoundyes
idempotentboolyesa change carries its idempotency key
versiontextyesthe API’s version

Routes that use it#

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