API and agentsAPI reference
OperationCatalog
object
The verbs this instance offers, as data. An agent discovers what it may ask the run endpoint for by reading this rather than by knowing the verbs in advance — which is why every field a caller needs in order to build a legal request is declared here.
operationsarray(each item)objectidstringgroupstringlabelstringsymbolstringGlyph name a picker draws beside the label — presentation metadata, stable per verb, from the app's shared icon set.
blurbstringOne plain-text line for pickers.
descriptionis the reference text; this is the working surface's sentence.descriptionstringinputsarrayThe datasets this verb takes and what each is for. A verb with two inputs has two that are not interchangeable — a spatial join's left and right mean different things, and the output's geometry comes from one of them. A verb that declares none takes its input from whatever its own SQL names, which is a different thing from taking no input at all.
(each item)objectnamestringlabelstringdescriptionstringacceptsarrayGeometry classes this particular input accepts. "none" is the opposite of "any": it admits only a table without geometry, which is what a verb that writes a geometry column onto every row takes.
(each item)stringOne of
any,none,point,line,polygon
requiredboolean
acceptsarrayInput geometry classes the operation accepts overall; "any" includes a table with no geometry, and "none" admits only one.
(each item)stringOne of
any,none,point,line,polygon
requiresarrayWhat this instance must be configured with for the verb to run at all. A verb that declares none always runs.
(each item)stringOne of
geocoder,isochrone
availabilityobjectWhether this instance can run the verb, resolved when the catalog is served rather than declared — an operator who configures a provider changes the answer without changing a verb. A verb with no requirement answers available.
availablebooleanreasonstringor nullWhy not, when it cannot — one sentence a reader can act on, naming the setting that is missing.
outputGeometryobjectWhere the result's geometry comes from. A verb that fixes its class regardless of input declares it; one that passes geometry through names the input it comes from; one whose result must be inspected says so.
kindstringOne of
probed,none,from_input,fixedinputstringgeometrystringOne of
point,line,polygon
parametersarray(each item)objectminnumberHard lower bound, where the verb has one.
maxnumberHard upper bound, where the verb has one.
namestringtypestringenumis one value fromoptions;enum_listis several, as a list. They are distinct because a caller toldenumwhere a list is required has been given the wrong shape.fieldis one column of the named input;column_listis several columns, as names;field_listis several aggregate specifications —{aggregate, field, as}— and sending one shape where the other is expected is refused.One of
string,number,boolean,enum,enum_list,field,column_list,field_list,number_listrequiredbooleandescriptionstringoptionsarray of stringThe permitted values for an enum or enum list, fixed by the operation's own contract rather than by whatever the engine happens to offer. On a
field_listthese are the aggregates that parameter accepts, which differ between verbs.aliasablebooleanWhether a carried value may be given a name of its own. A summary's aggregates cannot, and an editor offering the field would produce a name the operation ignores.
requiredWhenobjectWhat makes this parameter required, when it is not always — a distance is needed only for a within-distance relationship. Declared so a caller knows before it sends rather than after the refusal.
parameterstringequalsstring
relevantWhenobjectWhen this parameter is part of the question at all — absent means always; present, it only applies while the named parameter holds one of these values. A distance is no part of an "intersects" question. Distinct from requiredWhen: a parameter can be used without being required. A value sent for an inapplicable parameter is ignored or refused by the operation's own admission, so callers should omit it.
parameterstringoneOfarray of string
ofInputstringWhich input a field parameter names a column of.
fieldTypestringThe kind of column a field parameter may name, when the verb needs one kind. Declared so a caller offers or sends a column that can work rather than learning from a refusal; admission checks the same rule.
One of
text,numberminItemsnumberFor a number_list: the fewest items the list takes.
maxItemsnumberFor a number_list: the most items the list takes — the isochrone's four bands is the protocol's own maximum.
itemMinnumberFor a number_list: the floor every item must clear.
itemIntegerbooleanFor a number_list: items must be whole numbers.
itemsUniquebooleanFor a number_list: duplicate items are refused — each band is asked once.
unitstringPresent when the value is not a bare number:
metresis a ground measurement — metres on the earth, at the latitude the data occupies, never degrees and never metres on a map projection; a caller that ignores this and sends the geometry's own units gets a buffer five hundred degrees wide.minutesis travel time: the number the user typed is the number on the wire, no conversion exists.One of
metres,minutesdefaultThe value used when the parameter is omitted.
7439201b