REST API reference

The REST API is the public contract of the Ontology. Every screen in the platform, the generated SDK and every agent tool call goes through it, so anything you can do in the platform you can do here, with the same permissions, the same validation and the same audit. This page covers the conventions every endpoint shares, then each endpoint with its parameters and a worked request and response

Base URLYour tenant's host, under /api/v2
AuthOAuth 2.0 bearer tokens: client credentials or authorization code with PKCE
FormatJSON over HTTPS, TLS 1.2 and 1.3, errors as application/problem+json
Stabilityv2 changes additively; new fields can appear in any response

In the platform today

Built
  • The core of this API runs in the platform service: ontology, objects and links, queries and aggregates, change feeds, actions (run, check, batch, propose), proposals, functions, agents and their traces, pipelines, SQL and operational tables
  • More route families run there too, from the catalogue, access requests, metrics and dashboards to retention and erasure, solution packages, push updates and time series. More endpoints in the platform service lists every one, some at paths that differ from the sections below
  • A Python client, a TypeScript client and webhooks
On request
  • Per-client rate limits, token endpoints of ours, idempotency keys, read versions and ETag
  • The full shape of a core endpoint where it differs from the built one. Each section shows the built request and response and names the fields delivered on request

Conventions

All endpoints are served from your tenant's host, https://<tenant>.ontology.marklandstreet.com/api/v2, over TLS 1.2 or 1.3. Request and response bodies are UTF-8 JSON. Clients must ignore response fields they do not recognize, because new fields are added to v2 without notice. Timestamps are RFC 3339 in UTC unless a property's value type says otherwise. Durations are objects such as { "hours": 60 } or ISO 8601 strings such as "PT60H"

Path names and identifiers

PlaceholderAcceptsExample
{type}The object type's idsilo
{key}The source key, URL-encoded. Composite keys are joined with : in key orderSIL-2
{link}The link type's id. On request, also the id of the link's side as seen from the object type in the path, such as drawssilo-draw-silo
{action}The action type's idsend-silo-to-cheese
{function}The function's idsilo_risk
{agent}, {run}The agent's id and a run idagt-milk, run_01M5Y1WMRK3TFZQTDECQMVNZSV
{resource}A resource name, URL-encoded. Datasets use their catalogue name with the dataset: prefixdataset%3Agold.qa_tests
{request}, {grant}An access request id and an access grant idareq_01JB4C2N8F5T, agr_01JB4F0V3K9M

On request, resource names, returned as msrn, look like msrn:ontology:creamery:object-type/silo. Action log ids are ULIDs prefixed alog_, so they sort by time

Common headers

HeaderDirectionMeaning
AuthorizationRequestBearer <access token>, required on every call
Idempotency-KeyRequestOn request. Up to 255 characters on any POST that changes state. Keys are kept for 24 hours; a repeat with the same body returns the original response
MS-Min-Read-VersionRequestOn request. A read version from an earlier response. The read waits up to 5 s until the index reaches it, giving read-your-writes across clients
traceparentBothW3C trace context. Sent by you to join the platform's spans to your trace; returned with the trace id when tracing is on
X-Request-IdBothA unique id for the request. Quote it to support. An id you send, up to 64 letters, digits, dots, underscores and hyphens, is kept; otherwise one is made
X-MSO-BranchRequestAddresses the request to a data branch; ?branch= does the same
X-MSO-AgentRequestAn agent's id, for calls an agent makes on the signed-in person's behalf
MS-Read-VersionResponseOn request. The object store version the response was read at, or the version an action committed at
ETagResponseOn request. On single objects, the object's version. Send it back in If-None-Match for a 304

Pagination

List endpoints and object set loads return at most one page. Pass pageSize (default 100, maximum 1,000) and, for later pages, the pageToken from the previous response. A response with no nextPageToken is the last page. On request, a token pins the query to the read version of the first page, so a walk sees one consistent snapshot, and it is valid for 60 minutes. A token must be used with the same query it came from; changing any other parameter returns INVALID_ARGUMENT

{
  "objectType": "shop-day",
  "totalCount": 3343,
  "data": [ /* up to pageSize items */ ],
  "nextPageToken": "pt_7Q2M9KX4WD"
}

On request, totalCount is returned only when asked for with includeCount=true, as an exact or approximate count, and page tokens carry the read version

Authentication

The API accepts OAuth 2.0 bearer tokens. Services and scheduled jobs use client credentials and run as a named service user that holds groups and access labels like a person. Apps that act for a signed-in person send that person's token, and the API applies their permissions

In the platform service today, tokens come from your own OpenID Connect provider rather than from endpoints of ours: the service checks each bearer token against the provider's keys, issuer and audience, and maps it to a user in the ontology. GET /api/v2/auth/config tells an app where to sign in and GET /api/v2/auth/me returns the signed-in user. See sign-in

On request, we run our own token endpoints for your tenant, with scopes that narrow what a token may do. A scope never adds to the access of the person or service behind the token

Errors and rate limits

Errors follow RFC 9457 problem details with Content-Type: application/problem+json. Every error has a stable, upper-case code that is safe to branch on, a reason written CODE.REASON that narrows it (or null), a params object with the values behind the message, an errors list when one request fails in several places, retryable and a requestId. The title and detail are for people and may change wording between releases

{
  "type": "https://docs.marklandstreet.com/errors#ACTION_VALIDATION_FAILED",
  "title": "Action validation failed",
  "status": 422,
  "code": "ACTION_VALIDATION_FAILED",
  "reason": "ACTION_VALIDATION_FAILED.CONDITION_FAILED",
  "detail": "B-0841 is already on hold",
  "params": {},
  "errors": [
    { "condition": "notHeld", "message": "B-0841 is already on hold",
      "reason": "CONDITION_FAILED" }
  ],
  "retryable": false,
  "requestId": "req_01M5Y20VY0Y6DNWWNGJJM85G2W"
}

On request, the body also carries instance, the path that failed, its top-level params hold the counts behind the message, such as { "actionType": "place-hold", "failed": 1, "evaluated": 2 }, and each entry in errors carries its own params, such as { "batch": "B-0841" }

The codes you will meet most often are below. Every code, with its reasons, parameters, cause, fix and retry advice, is on error codes

CodeStatusMeaningRetry
INVALID_ARGUMENT400A malformed body, unknown property, wrong type or a page token used with a different queryNo
UNAUTHENTICATED401Missing, expired or invalid tokenAfter refreshing the token
PERMISSION_DENIED403The principal lacks the role, scope or access label for this callNo
NOT_FOUND404No object, type, action type or other resource with that id, or the caller cannot see it, with a reason such as NOT_FOUND.OBJECT_NOT_FOUND. The two cases are deliberately indistinguishableNo
CONCURRENCY_CONFLICT409What the request was decided on has moved: a proposal already decided or expired, an undo blocked by a later change, an object the action read that kept changing before commit (OBJECT_CHANGED), or one that changed since the form showed it (STALE_OBJECT)After re-reading
ACTION_VALIDATION_FAILED422Parameters or action conditions failed. errors lists each failureNo
RATE_LIMITED429Too many open streams or webhooks, or a model's capacity is used. On request, the client's rate limit is exhausted, and Retry-After gives seconds to waitYes
INTERNAL500A platform error, such as a misconfigured sign-on or key store. An error the service did not expect is a plain-text 500. The request id is enough for us to find itYes, with backoff
SERVICE_UNAVAILABLE503A dependency is temporarily unavailableYes, with backoff
Branch on the code, never the text

Match on code, then on reason where the fix differs, and read values from params. The branching and retrying section shows both SDKs and the backoff rules the SDK follows

Rate limits

On request, per-client rate limits, so one integration cannot crowd out the others. See limits and quotas

Ontologies and objects

List ontologies

GET /api/v2/ontology

In the platform service, returns the ontology the service runs: its name, description, revision, time zone and access labels, the object types, link types, action types, functions, value types, shared properties and interfaces the caller can see, and the caller as me, with can naming the admin areas they may open. Each action type carries allowed, whether this caller may run it

{
  "name": "Creamery operations",
  "description": "Plant, fleet and shops for the creamery",
  "revision": "aca7ea60f932",
  "timezone": "America/Halifax",
  "accessLabels": [
    { "id": "INTERNAL", "name": "Internal",
      "description": "Everyone at the creamery, shops and office" },
    "…"
  ],
  "objectTypes": ["…"], "linkTypes": ["…"], "actionTypes": ["…"], "functions": ["…"],
  "valueTypes": ["…"], "sharedProperties": ["…"], "interfaces": ["…"],
  "me": { "id": "milk.murphy", "name": "P. Murphy", "title": "Milk receiving lead",
          "groups": ["milk-receiving"], "accessLabels": ["INTERNAL", "SUPPLIER-CONF"],
          "can": { "admin": false, "viewObservability": false, "manageWebhooks": false,
                   "viewEdge": false } }
}

On request, it lists every ontology the caller can see, paged with pageSize and pageToken, with the revision on main

{
  "data": [
    {
      "id": "creamery-ops",
      "msrn": "msrn:ontology:creamery:ontology/creamery-ops",
      "displayName": "Creamery operations",
      "description": "Plant, fleet and shops for the creamery",
      "revision": "rev_01JB2M9T4XR0H6",
      "updatedAt": "2026-10-22T18:04:11Z"
    }
  ]
}

List object types

GET /api/v2/types

Returns every object type visible to the caller. In the platform service the response is a JSON array of the definitions, each as from the single object type endpoint below without links, actions and count. On request, it returns paged summaries, optionally at a revision, shaped as below

ParameterInTypeDescription
revisionQueryStringOn request. A revision or branch/<name>. Defaults to main; today a data branch is chosen with X-MSO-Branch
pageSize, pageTokenQueryInteger, stringOn request. See pagination
{
  "data": [
    { "id": "silo", "displayName": "Raw milk silo", "primaryKey": "siloId",
      "titleProperty": "name", "status": "LIVE", "propertyCount": 14 },
    { "id": "delivery", "displayName": "Reefer delivery", "primaryKey": "deliveryId",
      "titleProperty": "name", "status": "LIVE", "propertyCount": 25 },
    { "id": "shop", "displayName": "Scoop shop", "primaryKey": "shopId",
      "titleProperty": "name", "status": "LIVE", "propertyCount": 37 }
  ],
  "nextPageToken": "pt_K3V8RZ1NQA"
}

Get an object type

GET /api/v2/types/{type}

Returns the full definition: properties with their types, the key, the title template, the link types on either side, the action types on this type and the caller's object count. Every property is listed, with its valueType or sharedProperty when it has one; the values of properties hidden from the caller are withheld on the objects themselves, and on request they are left out of the definition too

ParameterInTypeDescription
typePathStringObject type id
revisionQueryStringOn request. Defaults to main
{
  "id": "silo",
  "name": "Raw milk silo",
  "plural": "Raw milk silos",
  "key": "siloId",
  "title": "{name}",
  "icon": "database",
  "color": "#7DA2FF",
  "accessLabel": "INTERNAL",
  "description": "Raw-milk silos at the creamery. Milk must be pasteurized within 72 hours of receipt; the clock starts at the first load after a clean",
  "backing": "gold.silos",
  "properties": [
    { "id": "siloId", "name": "Silo", "type": "string", "unit": null, "values": null,
      "description": "" },
    { "id": "volume", "name": "volume", "type": "double", "unit": "L", "values": null,
      "description": "" },
    { "id": "temp", "name": "Temperature", "type": "double", "unit": "°C", "values": null,
      "description": "Measured temperature in degrees Celsius, from the probe nearest the product",
      "valueType": "temperature-c", "sharedProperty": "temperatureC" },
    { "id": "limitAt", "name": "72 h limit", "type": "timestamp", "unit": null,
      "values": null, "description": "" },
    "…"
  ],
  "links": [
    { "id": "pickup-silo", "direction": "in", "otherType": "pickup",
      "name": "Loads received" },
    { "id": "waste-silo", "direction": "in", "otherType": "waste", "name": "Waste" },
    { "id": "silo-draw-silo", "direction": "in", "otherType": "silo-draw", "name": "Draws" }
  ],
  "actions": ["send-silo-to-cheese", "log-temperature"],
  "count": 4
}

On request, the definition carries value types, link cardinality and the revision

{
  "id": "silo",
  "msrn": "msrn:ontology:creamery:object-type/silo",
  "displayName": "Raw milk silo",
  "primaryKey": "siloId",
  "titleProperty": "name",
  "properties": {
    "siloId": { "baseType": "String", "nullable": false },
    "name": { "baseType": "String" },
    "volume": { "baseType": "Double" },
    "temp": { "baseType": "Double", "valueType": "temperature-c" },
    "hoursSinceReceipt": { "baseType": "Double" },
    "limitAt": { "baseType": "Timestamp" }
  },
  "links": {
    "loadsReceived": { "target": "pickup", "cardinality": "MANY" },
    "draws": { "target": "silo-draw", "cardinality": "MANY" }
  },
  "accessLabels": ["INTERNAL"],
  "revision": "rev_01JB2M9T4XR0H6"
}

Get an action type

GET /api/v2/actions/{action}

Returns an action type's parameters, their types, constraints and defaults, which is what a form needs to render itself. Action conditions are listed by name and description; their logic is not exposed

ParameterInTypeDescription
actionPathStringAction type id
revisionQueryStringOn request. Defaults to main
{
  "id": "send-silo-to-cheese",
  "name": "Send silo to the cheese make",
  "objectType": "silo",
  "description": "Book a cheese make from a silo before its 72 h limit: creates the make batch and the planned draw",
  "parameters": {
    "silo": { "type": "object", "objectType": "silo", "required": true },
    "litres": { "type": "double", "required": true, "min": 1000 },
    "start": { "type": "string", "values": ["In 1 hour", "In 3 hours", "Tonight 22:00"],
      "required": true, "default": "In 1 hour" }
  },
  "conditions": [
    { "name": "notEmpty", "message": "{{silo.name}} is empty" },
    { "name": "beforeLimit",
      "message": "{{silo.name}} is past its 72 h limit; the milk can't be used" },
    { "name": "enoughMilk", "message": "{{silo.name}} only holds {{silo.volume}} L" },
    { "name": "notCleaning", "message": "{{silo.name}} is being cleaned" }
  ],
  "requiresApproval": true,
  "writeback": ["production-sheet", "receiving"]
}

On request, parameters also carry constraints such as maxLength and typed time values

List objects

GET /api/v2/types/{type}/objects

Lists objects of one type, with optional ordering and a property selection. For filters, use search or an object set load

ParameterInTypeDescription
typePathStringObject type id
selectQueryString, repeatableOn request. Properties to return; today every visible property is returned, and select works on search and object set loads
orderByQueryStringproperty:asc or property:desc; on request, comma-separated, up to 3
includeCountQueryBooleanOn request. Today totalCount is always returned, exact
pageSize, pageTokenQueryInteger, stringSee pagination
GET /api/v2/types/silo/objects?orderBy=hoursSinceReceipt:desc&pageSize=2
Authorization: Bearer eyJhbGciOi…
{
  "objectType": "silo",
  "totalCount": 4,
  "data": [
    { "_key": "SIL-2", "_type": "silo", "_version": 1,
      "_updatedAt": "2026-10-27T06:46:01.318804Z", "_edited": [], "_title": "Silo 2",
      "siloId": "SIL-2", "name": "Silo 2", "volume": 18600.0, "hoursSinceReceipt": 64.0,
      "…": "…" },
    { "_key": "SIL-1", "_type": "silo", "_version": 1,
      "_updatedAt": "2026-10-27T06:46:01.318804Z", "_edited": [], "_title": "Silo 1",
      "siloId": "SIL-1", "name": "Silo 1", "volume": 32400.0, "hoursSinceReceipt": 28.0,
      "…": "…" }
  ],
  "nextPageToken": "pt_H6T2LC9PJE"
}

Get an object

GET /api/v2/types/{type}/objects/{key}

Returns one object, with _key, _type, _version, _updatedAt, _edited (the properties changed by actions), _title and the properties the caller may see. On request, the response's ETag is the object's version, so polling clients can send If-None-Match and receive 304 Not Modified until it changes, and the object carries _msrn and, with includeProvenance, $provenance

ParameterInTypeDescription
keyPathStringURL-encoded primary key
selectQueryString, repeatableOn request. Properties to return
includeProvenanceQueryBooleanOn request. Adds, per property, whether the value came from the source or from an action, and when
{
  "_key": "SIL-2",
  "_type": "silo",
  "_msrn": "msrn:ontology:creamery:object/silo/SIL-2",
  "_version": 2,
  "_updatedAt": "2026-10-27T06:51:09.016908Z",
  "_edited": ["committedLitres", "status"],
  "_title": "Silo 2",
  "siloId": "SIL-2",
  "name": "Silo 2",
  "volume": 18600.0,
  "temp": 3.4,
  "status": "Drawing",
  "committedLitres": 18600.0,
  "limitAt": "2026-10-30T03:00:00Z",
  "…": "…",
  "$provenance": {
    "volume": { "origin": "SOURCE", "at": "2026-10-27T06:49:47Z" },
    "status": { "origin": "ACTION", "actionLogId": "alog_01M5Y211TR3N9QE6W5DE56MGMC",
      "at": "2026-10-27T06:51:09Z" }
  }
}

List linked objects

GET /api/v2/types/{type}/objects/{key}/links/{link}

Returns the objects on the other side of one link from one object. For multi-hop traversals or filters on the linked objects, use an object set load with a follow

ParameterInTypeDescription
linkPathStringThe link type's id, for example silo-draw-silo
pageSizeQueryInteger100 by default
select, orderBy, pageTokenQueryStringOn request. As for list objects
GET /api/v2/types/silo/objects/SIL-1/links/silo-draw-silo?pageSize=20
{
  "objectType": "silo-draw",
  "totalCount": 4,
  "data": [
    { "_key": "DR-6103", "_type": "silo-draw", "_version": 1, "batchNo": "B-0840",
      "litres": 1200.0, "status": "Drawn", "…": "…" },
    { "_key": "DR-6104", "_type": "silo-draw", "_version": 1, "batchNo": "B-0841",
      "litres": 1270.0, "status": "Drawn", "…": "…" },
    { "_key": "DR-6105", "_type": "silo-draw", "_version": 1, "batchNo": "B-0842",
      "litres": 1150.0, "status": "Drawn", "…": "…" },
    { "_key": "DR-6106", "_type": "silo-draw", "_version": 1, "batchNo": "B-0843",
      "litres": 1450.0, "status": "Drawn", "…": "…" }
  ],
  "nextPageToken": null
}

Search objects

POST /api/v2/types/{type}/objects/search

Filters, full-text search and ordering over one object type. The where clause uses the same operators as the SDK. Text operators are $anyWord, $allWords, $phrase, $prefix and $fuzzy. On request, results can also be ranked by relevance with { "$relevance": "desc" } and carry a $score

FieldInTypeDescription
whereBodyObjectFilter clauses; on request, up to 500
orderByBodyArrayFields, each { "property", "direction" }; on request, up to 3
selectBodyArray of stringsProperties to return
pageSize, pageTokenBodyInteger, stringSee pagination
{
  "where": {
    "$and": [
      { "qaStatus": { "$in": ["On hold", "Pending QA"] } },
      { "line": "Line 2" },
      { "holdReason": { "$allWords": "underfill re-weigh" } }
    ]
  },
  "orderBy": [{ "property": "start", "direction": "desc" }],
  "select": ["batchNo", "filler", "qaStatus", "start"],
  "pageSize": 20
}
{
  "objectType": "batch",
  "totalCount": 2,
  "data": [
    { "_key": "B-0842", "batchNo": "B-0842", "filler": "T-2", "qaStatus": "On hold",
      "start": "2026-10-28T16:00:00Z", "…": "…" },
    { "_key": "B-0841", "batchNo": "B-0841", "filler": "T-2", "qaStatus": "On hold",
      "start": "2026-10-28T09:00:00Z", "…": "…" }
  ],
  "nextPageToken": null
}

List object changes

GET /api/v2/types/{type}/changes

Returns the type's change feed: one entry per object version in commit order, whether it came from a source change, an action or a delete, with the changed property names and, with include=values, the values before and after. Pass the cursor from each response as since on the next call, and use wait (up to 30 s) to hold the request open when nothing is new. A cursor older than the type's version history, 30 days by default, returns CHANGE_CURSOR_EXPIRED. Needs ontology:read. Parameters, ordering and permissions are on change capture

In the platform service, since is the table version from the previous response's cursor, -1 for everything, and each entry has op (created, modified or deleted), key, version, tableVersion, at and the object as the caller may see it. include, wait, before values and cursor expiry are delivered on request

Object sets

An object set is a query described as JSON: a base type, then filters, follows across links, set operations and derived properties, nested from the outside in. The same definition can be loaded, aggregated, saved and subscribed to

In the platform service an object set is { "from": <type or interface>, "where": { … }, "steps": [ … ] }, where each step is a follow of a link type, a where or a derive, as in the example below. The node types in the table, set operations, key sets and saved sets are delivered on request

Node typeFieldsMeaning
typeobjectTypeEvery visible object of a type
keysobjectType, primaryKeysSpecific objects, up to 10,000 keys
filterquery, whereObjects of the inner set that match
followquery, linkObjects linked from the inner set
derivequery, derivedAdds derived properties computed by a function or an expression
union, intersect, subtractsetsSet operations on sets of the same type

Load an object set

POST /api/v2/query

Evaluates an object set and returns a page of objects

FieldInTypeDescription
queryBodyObjectThe object set definition
selectBodyArray of stringsProperties of the final type to return
orderByBodyArrayFields as { "property", "direction" }, including derived properties
pageSize, pageTokenBodyInteger, stringSee pagination
{
  "query": {
    "from": "shop",
    "steps": [
      {"where": {"status": {"$ne": "Closed"}}},
      {"derive": {"daysLeft": "tubsOnHand / tubsPerDay"}},
      {"where": {"daysLeft": {"$lt": 3}}},
      {"follow": "delivery-stop-shop"},
      {"follow": "delivery-stop-delivery"},
      {"where": {"status": {"$in": ["Scheduled", "In transit", "At risk"]}}}
    ]
  },
  "select": ["tubs", "eta", "status"],
  "orderBy": [{"property": "eta", "direction": "asc"}],
  "pageSize": 50
}
{
  "data": [
    { "_key": "DLV-5521", "_type": "delivery", "_version": 1, "tubs": 150,
      "eta": "2026-10-31T13:00:00Z", "status": "At risk" }
  ],
  "objectType": "delivery",
  "totalCount": 1,
  "nextPageToken": null
}

A derived value is an expression over the object's properties, or a $distance from a point. On request, a derived value can also call a function, such as { "function": "silo_risk", "output": "hoursToLimit" }, durations compare as { "hours": 60 }, and the response carries its readVersion

Aggregate an object set

POST /api/v2/query/aggregate

Groups and aggregates an object set where the data lives. With {"metric": id} in place of a query, it reads a defined metric. On request, exact results are returned up to 10,000 buckets, above that the call fails with QUERY_TOO_COMPLEX, and distinct counts above 40,000 values are approximate, and the response says so

FieldInTypeDescription
queryBodyObjectThe object set definition
groupBodyArrayProperty names to group by. On request, up to 3 groupings: exact, ranges, or interval for dates and numbers
measureBodyObjectNamed metrics as { "op", "property" }, with count, sum, avg, min, max and countDistinct. On request, also percentile
{
  "query": {
    "from": "delivery",
    "where": {"departs": {"$lt": "2026-10-29T16:00:00-03:00"}}
  },
  "group": ["status"],
  "measure": {
    "runs": {"op": "count"},
    "maxTempC": {"op": "max", "property": "temp"},
    "avgKm": {"op": "avg", "property": "km"}
  }
}
{
  "objectType": "delivery",
  "groups": [
    { "key": { "status": "Delivered" },
      "metrics": { "runs": 1, "maxTempC": -24.1, "avgKm": 12.0 } },
    { "key": { "status": "In transit" },
      "metrics": { "runs": 3, "maxTempC": -23.4, "avgKm": 2662.6666666666665 } }
  ]
}

On request, a percentile measure such as { "p95": "km" } is allowed too, and the response is shaped as buckets with an exact flag

{
  "buckets": [
    { "group": { "status": "Delivered" },
      "metrics": { "runs": 1, "maxTempC": -24.1, "p95Km": 12.0 } },
    { "group": { "status": "In transit" },
      "metrics": { "runs": 3, "maxTempC": -23.4, "p95Km": 5562.0 } }
  ],
  "exact": true,
  "readVersion": "rv_000000000183F2A1"
}

Actions

Actions are the only way to change objects through the API. Apply validates parameters and action conditions, computes edits, commits them atomically, appends the action log and queues writeback and side effects

  • Conditions are checked again just before the commit, and a run whose objects changed in the meantime is checked again; after automatic retries it fails with 409 CONCURRENCY_CONFLICT and reason OBJECT_CHANGED
  • A form that showed objects can send their versions in options.expectedVersions, so a stale screen never overwrites newer data
  • On request, an Idempotency-Key on every apply means a retry after a network failure can never apply twice

Apply an action

POST /api/v2/actions/{action}:run
FieldInTypeDescription
Idempotency-KeyHeaderStringOn request. Strongly recommended. Kept for 24 hours
parametersBodyObjectParameter values by name. Object parameters take the primary key
options.includeEditsBodyBooleanReturn the committed edits with before and after values, as changes. Default false
options.dryRunBodyBooleanValidate and compute the edits without committing anything. Default false
options.expectedVersionsBodyObjectObject versions the caller saw, as {"type:key": version}, for example {"silo:SIL-2": 7}. When one has changed since, the run is refused with 409 CONCURRENCY_CONFLICT, reason STALE_OBJECT, listing each object
options.attachmentsBodyArrayOn request. Ids of attachments uploaded beforehand, each up to files.maxSize (200 MB by default). In the platform today a file is a parameter of type attachment or attachments that takes the id POST /api/v2/files returned; see attachments
POST /api/v2/actions/send-silo-to-cheese:run HTTP/1.1
Host: <tenant>.ontology.marklandstreet.com
Authorization: Bearer eyJhbGciOi…
Idempotency-Key: cheese-SIL-2-20261029
Content-Type: application/json

{
  "parameters": {
    "silo": "SIL-2",
    "litres": 17300,
    "start": "Tonight 22:00"
  },
  "options": { "includeEdits": true }
}
{
  "logId": "alog_01M5Y211TR3N9QE6W5DE56MGMC",
  "result": "APPLIED",
  "action": "send-silo-to-cheese",
  "objectKey": "SIL-2",
  "edits": 3,
  "writeback": [{ "system": "production-sheet", "status": "delivered" },
    { "system": "receiving", "status": "delivered" }],
  "changes": [
    { "op": "create", "objectType": "batch", "primaryKey": "CH-0232",
      "changes": {
        "line": { "before": null, "after": "Cheese make" },
        "litres": { "before": null, "after": 17300.0 },
        "status": { "before": null, "after": "Scheduled" },
        "…": "…"
      } },
    { "op": "create", "objectType": "silo-draw", "primaryKey": "DR-6109",
      "changes": {
        "siloId": { "before": null, "after": "SIL-2" },
        "batchNo": { "before": null, "after": "CH-0232" },
        "litres": { "before": null, "after": 17300.0 },
        "…": "…"
      } },
    { "op": "modify", "objectType": "silo", "primaryKey": "SIL-2",
      "changes": {
        "status": { "before": "Holding", "after": "Drawing" },
        "committedLitres": { "before": 1300.0, "after": 18600.0 }
      } }
  ]
}

On request, the response also carries the validation result, object versions, link counts, side effects with their status and the read version

Validate an action

POST /api/v2/actions/{action}:check

Runs every check that apply would run and commits nothing. Validation is a read: it needs ontology:read and draws from the read bucket. Use it to show inline errors in a form as the person types

FieldInTypeDescription
parametersBodyObjectParameter values, which may be incomplete
{
  "result": "INVALID",
  "conditions": [
    { "name": "notEmpty", "result": "NOT_EVALUATED" },
    { "name": "beforeLimit", "result": "NOT_EVALUATED" },
    { "name": "enoughMilk", "result": "NOT_EVALUATED" },
    { "name": "notCleaning", "result": "NOT_EVALUATED" }
  ],
  "parameters": {
    "silo": { "result": "VALID", "required": true },
    "litres": { "result": "INVALID", "required": true, "reason": "PARAMETER_MISSING",
      "message": "litres is required" },
    "start": { "result": "INVALID", "required": true, "reason": "PARAMETER_INVALID",
      "message": "start: must be one of In 1 hour, In 3 hours, Tonight 22:00" }
  }
}

Conditions are evaluated once every parameter is valid, and each failing one returns its message. On request, conditions are evaluated on incomplete parameters too, and an invalid parameter lists the constraints it failed in failedConditions

Apply actions in a batch

POST /api/v2/actions/{action}:runBatch

Applies one action type to many parameter sets. In the platform service, each set is applied in turn with its own action log entry, and the response gives a result per set, so one that fails does not stop the others. On request, the sets commit in one transaction, every application or none, up to 1,000 sets and 100,000 edited objects, linked by a shared batch id

FieldInTypeDescription
requestsBodyArrayEach item is one parameter set, keyed by parameter name
options.includeEditsBodyBooleanOn request. Default false; batches can be large
{
  "requests": [
    { "batch": "B-0840", "reason": "Same silo draw as B-0841" },
    { "batch": "B-0843", "reason": "Same silo draw as B-0841" },
    { "batch": "B-0841", "reason": "QA-7710 underfill" }
  ]
}
{
  "results": [
    { "index": 0, "logId": "alog_01M5Y216NHTVB21N1JP89XMY6R", "result": "APPLIED",
      "action": "place-hold", "objectKey": "B-0840", "edits": 2,
      "writeback": [
        { "system": "production-sheet", "status": "delivered" },
        { "system": "order-desk", "status": "delivered" }
      ] },
    { "index": 1, "logId": "alog_01M5Y21717048MNM9261KKA7WS", "result": "APPLIED",
      "action": "place-hold", "objectKey": "B-0843", "edits": 1,
      "writeback": [
        { "system": "production-sheet", "status": "delivered" },
        { "system": "order-desk", "status": "delivered" }
      ] },
    { "index": 2, "result": "FAILED", "code": "ACTION_VALIDATION_FAILED",
      "reason": "CONDITION_FAILED", "detail": "B-0841 is already on hold" }
  ],
  "applied": 2
}

On request, the response is the batch instead: batchId, actionLogIds, editedObjects and readVersion

Functions and agents

Execute a function

POST /api/v2/functions/{function}:invoke

Runs a registered function with the caller's permissions. In the platform service, TypeScript functions run in a separate restricted process. On request, TypeScript functions run in V8 isolates and Python functions in sandboxed containers, the default timeout is 60 s and the maximum is 300 s

FieldInTypeDescription
argumentsBodyObjectFunction inputs by name
versionBodyStringOn request. An exact version or a range such as ^2.3.0. Defaults to the version published on main. Today a TypeScript function's version is pinned in the path, as {function}@^2.3:invoke
options.timeoutMsBodyIntegerOn request. Up to the function's configured maximum
{ "arguments": { "silo": "SIL-2" } }
{
  "function": "silo_risk",
  "result": {
    "silo": "SIL-2",
    "hoursToLimit": 8.0,
    "litres": 18600.0,
    "risk": "High",
    "advice": "Draw Silo 2 first or send it to the cheese make"
  },
  "ms": 8.0
}

On request, the response names the function version that ran

{
  "value": {
    "silo": "SIL-2",
    "hoursToLimit": 8.0,
    "litres": 18600.0,
    "risk": "High",
    "advice": "Draw Silo 2 first or send it to the cheese make"
  },
  "functionVersion": "2.3.4",
  "durationMs": 8
}

Start an agent run

POST /api/v2/agents/{agent}/runs

Starts a run. In the platform service the call answers at once with 202 Accepted and the queued run, and a worker runs it in the background

  • With ?wait= (up to 60 seconds) it answers 200 with the finished run when it ends in time: its status (completed, limit_reached, refused, failed, cancelled or interrupted, and cost_limit_reached for a team), answer, the ids of the proposals it staged, usage and trace
  • Follow a run with the trace endpoint's after parameter or the runs stream topic. GET /api/v2/agents lists the agents, GET /api/v2/agents/{agent}/runs its recent runs and GET /api/v2/agent-runs runs across agents
  • Each copy of the service works 4 runs at once and queues 50 more, and one person has at most 3 queued or running; past those the call returns 429, safe to retry
  • The run acts on behalf of the person whose token made the call, or of the service principal for client-credentials tokens, and can never exceed that principal's access
FieldInTypeDescription
inputBodyStringThe request in words. On request, an object matching the agent's declared input
contextBodyObjectKeys and facts the agent needs, such as the object it was opened from
modeBodyStringauto (default) uses the model and falls back to the playbook; playbook runs the playbook only
options.maxStepsBodyIntegerOn request. Lower than the agent's configured limit, which is 16 by default and 64 at most
options.modeBodyStringOn request. propose (default) stages actions for approval; dryRun records proposals without staging them
costTagsBodyObjectOn request. Cost attribution tags for this run, for keys the agent does not already set
Idempotency-KeyHeaderStringOn request. Prevents duplicate runs on retry
{
  "input": "Silo 2 is near its 72 h limit. What should we do with the milk?",
  "context": { "siloId": "SIL-2" }
}
{
  "run_id": "run_01M5Y1WMRK3TFZQTDECQMVNZSV",
  "agent": "agt-milk",
  "user_id": "milk.murphy",
  "status": "completed",
  "mode": "model",
  "answer": "Approve the Silo 2 plan: pints tonight, the rest to the cheese make. Silo 2 reaches its limit Fri 30 Oct 00:00",
  "steps": 7,
  "tool_calls": 9,
  "proposals": ["prop_01M5Y1WMTHJ1T92S1NEWTQTPZQ", "prop_01M5Y1WMVMKY79BQBQ087TR23M"],
  "input_tokens": 18420,
  "output_tokens": 1312,
  "cost_cad": 0.21,
  "trace": [{ "step": 1, "kind": "model", "tool": null, "status": "ok", "ms": 1840 }, "…"]
}

Without wait, the immediate response is the queued run

{
  "run_id": "run_01M5Y1WMRK3TFZQTDECQMVNZSV",
  "agent": "agt-milk",
  "user_id": "milk.murphy",
  "status": "queued",
  "live": true,
  "steps": 0,
  "source": "api",
  "started_at": "2026-10-31T13:44:30Z",
  "trace": []
}

Get an agent run

GET /api/v2/agents/{agent}/runs/{run}

Returns the run's status, its answer when finished, the actions it proposed and its usage, without the trace

Get a run's reasoning trace

GET /api/v2/agents/{agent}/runs/{run}/trace

Returns the step-by-step reasoning trace. In the platform service the response is the run, as from the start call, with trace: each step's number, kind, tool, input, output, status, time in milliseconds, the tokens and cost of a model step and, in a team, the member who took it. ?after= returns only the steps after that number, so a client follows a run as it goes. On request, the trace is paged, carries citations with object versions, and is filtered by the reader's permissions, so a reader with less access than the run's principal sees redacted tool outputs

ParameterInTypeDescription
includeContentQueryBooleanOn request. Include model inputs and outputs. Default true
pageSize, pageTokenQueryInteger, stringOn request. Pages of steps
{
  "run_id": "run_01M5Y1WMRK3TFZQTDECQMVNZSV",
  "agent": "agt-milk",
  "status": "completed",
  "trace": [
    { "step": 2, "kind": "tool", "tool": "fn_silo_plan",
      "input": "{\"siloId\":\"SIL-2\"}",
      "output": "{\"analysis\":{\"cheeseMake\":{\"feasible\":true,\"kgCheese\":1695,…",
      "status": "ok", "ms": 37.3, "member": null }
  ]
}

On request, each step is a record with its own timing and citations

{
  "run": "run_01M5Y1WMRK3TFZQTDECQMVNZSV",
  "data": [
    {
      "step": 3,
      "startedAt": "2026-10-29T19:02:22.170Z",
      "durationMs": 412,
      "tool": "objects.load",
      "input": { "objectType": "silo-draw",
        "where": { "siloId": "SIL-2", "status": "Planned" } },
      "output": { "count": 1, "objects": ["DR-6107"] },
      "citations": [{ "objectType": "silo-draw", "primaryKey": "DR-6107", "version": 1 }]
    }
  ]
}

Cancel an agent run

POST /api/v2/agents/{agent}/runs/{run}/cancel

Stops a queued or running run before its next model, tool or playbook step; a call already under way finishes and is counted. Only the person the run acts for or an administrator can stop it, and a finished run answers 409. Proposals already staged stay pending until someone approves or rejects them. Returns the run as it stands; it ends with status cancelled. POST /api/v2/agents/{agent}/runs/{run}:cancel does the same

{ "run_id": "run_01M5Y1WMRK3TFZQTDECQMVNZSV", "status": "cancelled", "steps": 4,
  "cancelled_by": "milk.murphy", "answer": "Stopped by milk.murphy." }

Answer an agent's questions

POST /api/v2/agents/{agent}/runs/{run}:answer

An agent allowed to ask (ask: true) can stop and ask the person it acts for up to five questions; the run then has status waiting and its questions, each with an id, the text, a kind (choice, choices, text, number or date), options and a default. Send the answers by question id and the run goes on in the background from where it stopped (202). A missing answer takes its question's default; a wrong one is refused with 400. Only the person the run acts for or an administrator can answer, and a run answered or stopped already answers 409. Unanswered, the run ends expired after 24 hours

{ "answers": { "optimize": "Schedule", "tradesCleared": ["VOLTLINE"] },
  "note": "The owner wants options in writing" }

Run an agent over many objects

POST /api/v2/agents/{agent}/batches

One run per object of a type the caller can see, a few at a time, in the background; the call answers at once with the batch. input and context take {{object.<property>}}

  • A batch takes at most half a copy's workers and at most 1,000 objects, a person runs at most 3 batches at once, and a batch stops at costLimitCad when one is given
  • GET /api/v2/agent-batches/{batch} returns its progress (runs by status, cost so far, proposals waiting, time left), GET /api/v2/agent-batches/{batch}/runs each object's run, and POST /api/v2/agent-batches/{batch}:cancel stops it
  • A batch's proposals are grouped in GET /api/v2/proposals: batched says how many each batch has for the reader, batch={batch} lists them and includeBatches=true lists everything, so they are reviewed together
{ "type": "silo", "where": { "status": "Filling" },
  "input": "Check {{object._title}} against its limit",
  "context": { "siloId": "{{object._key}}" }, "parallel": 2, "costLimitCad": 5 }

Compare two runs

GET /api/v2/agents/{agent}/runs/{run}/compare?with={run}

Two runs of one agent side by side, typically a run and the run started again with changes (parent in the start call): what each was asked, its context, answer, proposals, steps, tokens and cost, and whether the answer and the proposals are the same

Action logs

List action log entries

GET /api/v2/action-log

Lists applied actions, newest first. In the platform service it filters by objectType and objectKey, matching an entry's main object or any object it edited, returns up to pageSize rows of ops.action_log, 100 by default and 1,000 at most, and leaves out object types whose access label the caller does not hold and entries about objects outside the caller's row policies. Each row also has reverts, the entry an undo reversed

On request, it also filters by action type, actor and time, pages with a token, each entry includes the read version the action was decided on, and the call requires audit:read

ParameterInTypeDescription
objectTypeQueryStringEntries whose main object, or any edited object, is of this type
objectKeyQueryStringEntries about this object, or that edited it
pageSizeQueryInteger100 by default, 1,000 at most
actionTypeQueryStringOn request. Entries of this action type
actorQueryStringOn request. A user, service principal or agent:<name>
since, untilQueryTimestampOn request. Time range on commit time
pageTokenQueryStringOn request. See pagination
GET /api/v2/action-log?objectType=silo&objectKey=SIL-2&pageSize=20
{
  "data": [
    {
      "log_id": "alog_01M5Y1XP2BX1H6V2JNS8F08PFG",
      "occurred_at": "2026-10-29T19:02:56.352518Z",
      "action": "send-silo-to-cheese", "action_name": "Send silo to the cheese make",
      "object_type": "silo", "object_key": "SIL-2", "object_title": "Silo 2",
      "parameters": "{\"litres\":17300.0,\"silo\":\"SIL-2\",\"start\":\"Tonight 22:00\"}",
      "actor_id": "milk.murphy", "actor_name": "P. Murphy", "agent": "agent:agt-milk",
      "automation": null,
      "proposal_id": "prop_01M5Y1WMTHJ1T92S1NEWTQTPZQ", "approved_by": "milk.murphy",
      "reason": "", "edits": 3,
      "writeback_status": "delivered", "client_app": "app", "reverts": null
    }
  ]
}

On request, entries are shaped like this

{
  "data": [
    {
      "actionLogId": "alog_01M5Y1XP2BX1H6V2JNS8F08PFG",
      "actionType": "send-silo-to-cheese",
      "committedAt": "2026-10-29T19:02:56.352Z",
      "actor": "user:milk.murphy@creamery.example",
      "proposedBy": { "agent": "agt-milk", "run": "run_01M5Y1WMRK3TFZQTDECQMVNZSV",
        "proposal": "prop_01M5Y1WMTHJ1T92S1NEWTQTPZQ" },
      "editedObjects": 3,
      "readVersion": "rv_000000000183F2A1",
      "writeback": "DELIVERED"
    }
  ]
}

Get an action log entry

GET /api/v2/action-log/{entry}

This endpoint is delivered on request; today the before and after values are rows of ops.edits, readable in the SQL workspace. It returns one entry with its parameters, every edit with before and after values and its writeback attempts. Property values the reader is not allowed to see are masked

Access requests

In the platform service, access requests and grants live under /api/v2/catalog/access, as listed in more endpoints in the platform service. On request, a dedicated access requests API with its own shape. See access requests

Certification and tags

In the platform service, certification and tags are set on catalogue entries under /api/v2/catalog, as listed in more endpoints in the platform service. On request, dedicated certification and tag endpoints for every kind of resource. See certified data

Operational tables

Run a statement

POST /api/v2/ops/query

In the platform service, the body is { "sql", "limit" } and the statement runs through the SQL workspace: one SELECT, over the schemas the caller's group is granted in sql.grants, with a row limit of 5,000 and a timeout of 15 s by default. It returns { "columns", "rows", "truncated" }

On request, it runs one read-only SQL statement against the ops schema, with named parameters, and returns typed columns, rows and the table versions it read. Results page like every other list, 100 rows by default and 1,000 at most, and a statement runs for at most 120 s. Needs ops:read and a grant on every table named; a statement that writes or names a table outside ops returns INVALID_ARGUMENT. See operational tables

List tables

GET /api/v2/ops/tables

In the platform service, returns every table in the ops schema with its current version, as { "data": [{ "table", "version" }] }; GET /api/v2/sql/tables lists the tables the caller can read with their columns. On request, it returns the operational tables the caller can read, with their columns, types and current versions, and needs ops:read. Schemas are documented on operational tables

Webhook management endpoints

Endpoints under /api/v2/webhooks create, list, update and test signed webhook subscriptions, list deliveries, and replay dead letters. They run in the platform service with tests. They are documented with the event catalogue in the webhooks reference

More endpoints in the platform service

These route families run in the platform service with tests, alongside the core above. They follow the same conventions: problem details with stable codes, the caller's access on every read, and {id}:verb for commands. Each page has the bodies and limits

RoutesFor
/api/v2/catalog, /catalog/search, /catalog/{kind}/{id} with /lineage, /certification and /tags/{key}Catalogue entries, search, lineage, certification and controlled tags
Data catalogue
/api/v2/catalog/access/requests, /catalog/access/grantsAccess requests and time-boxed grants
Access requests
/api/v2/metrics/{id}:query, :explain; {"metric": id} on /query/aggregateMetric definitions
Metrics
/api/v2/dashboards, /dashboards/{id}:render, :copyDashboards
Dashboards
/api/v2/branches, /branches/what-if, /branches/evaluations; X-MSO-Branch on any routeData branches
Data branches and what-ifs
/api/v2/models/{name}:train, :promote, :predict, :call, :score, :review, :monitor; /models/{name}/signature, /accuracy, /monitor, /versions/{v}/reviews; /models/catalogue, /models/aliases, /models/usageTrained classifiers, regression and forecast models as typed functions, live accuracy, retraining and review checks, and the language model catalogue
Trained models, model adapters
/api/v2/ingest/folders, /api/v2/connectorsFile drops and connectors
Connectors and file drops
/api/v2/edge/status, /edge/agents; signed /edge/{agent}/batches and /heartbeatEdge agents
Edge agents
/api/v2/model-changes, /model-changes/history, /{id}/operations, /{id}/edits, /{id}/reviews, /{id}:check, :preview, :merge, :rebase, :discardOntology changes on a branch, and the active edits each property holds as the change carries them
Branches and proposals
/api/v2/auth/config, /auth/meSign-on
Access model
/api/v2/sharing; the protocol under /delta-sharingPartner sharing
Partner sharing
/api/v2/models/routing, /models/usage?groupBy=tier,purpose,agent,person, /models/budgetsModel routing, usage and budgets
Model adapters, model budgets
/api/v2/documents, /documents/kinds, /documents:import, /documents/{id} with /file, :accept, :reject and :extractDocument extraction and review
Search
/api/v2/search?q=&mode=auto|keyword|vector|hybrid&types=, /search/status, /search/reindexKeyword, similarity and hybrid search
Search
/api/v2/interfaces, /interfaces/{id}, /interfaces/{id}/objects, /interfaces/{id}/objects/search; /api/v2/shared-properties; /api/v2/value-types, /value-types/{id}/violations, /value-types/{id}:checkInterfaces, shared properties and value types
Interfaces, Properties and value types
/api/v2/agents, /agents/{id}, GET /agents/{id}/runsThe agents, an agent and its team's shape, and its recent runs
Agents overview
POST /api/v2/agents/{id}/runs with ?wait=; /agents/{id}/runs/{run}, /trace?after=, /compare?with=, {run}:cancel, :answer; /api/v2/agent-runs?status=&agent=&mine=, /agent-runs/{run}Agent runs in the background: start, follow, compare, stop and answer a waiting run, and runs across agents
Agent runs
POST /api/v2/agents/{id}/batches; /api/v2/agent-batches?status=&mine=, /agent-batches/{id}, /agent-batches/{id}/runs, {id}:cancelBatches of agent runs over many objects
Agent runs
/api/v2/results?status=&category=&from=&to=, /results/summary, /results/config, /results/{id}, {id}:confirm, :reject; /results/briefs, /results/briefs/{id}, /results/briefs:generateThe results ledger and its weekly brief
Results
/api/v2/pipelines, /{id}/steps/{output}, :validate, :preview, :history, /{id}/runs ({"force": true} runs up-to-date steps too)Pipeline editing and runs
Pipelines
/api/v2/pipeline-schedules, /pipeline-schedules/{id}:pause, :resumePipeline triggers and their state
Pipelines
/api/v2/datasets/staleness, /datasets/{name}/versions, /datasets/{name}:build, :rollbackWhat is out of date, building a table's stale ancestors, and restoring a table with the outputs built from it
Pipelines
/api/v2/quarantine, /quarantine:replay, /quarantine:discard; /api/v2/schema-contracts, /schema-contracts:accept, /api/v2/schema-changesDropped rows kept for repair, and schema contracts
Data quality checks
/api/v2/ai-functions, /{id}/steps/{step}, /{id}/tests, {id}:test, :evaluate, :publishAI function editing
AI functions
/api/v2/apps, /apps/{id}/versions, /apps/{id}/render, {id}:publish, :unpublishApps and saved analyses
Dashboards
/api/v2/actions/{id}:propose, /api/v2/proposals?status=, /proposals/{id}:approve, :rejectProposed actions waiting for a person's decision. A proposal is decided once: a second decision at the same moment gets 409 PROPOSAL_DECIDED
Branches and proposals
/api/v2/automations, /automations/{id} with /runs, {id}:run, :pause, :resume, :mute, :unmuteAutomations and their runs
Automations
POST /api/v2/ontology:reload, POST /api/v2/automations:tickLoad the ontology folder again after its files were edited, returning the new revision; evaluate every automation now rather than at the next timer pass. For administrators; anyone else gets 403 ADMIN_ONLY
Quickstart, Automations
/api/v2/audit:verifyChecking the audit hash chain
Audit
/api/v2/directory/people, /directory/people/{id}, {id}:deactivate, :reactivate, /{id}/groups; /directory/rules, /directory:previewThe directory, group-mapping rules, memberships with an end date and offboarding
Directory, SCIM and offboarding
/scim/v2/Users, /scim/v2/Groups, /ServiceProviderConfig, /ResourceTypesSCIM 2.0 for identity providers
Directory, SCIM and offboarding
/api/v2/retention, /retention/policies/{id}:preview, :run, /policies/{id}/passes, /retention/marks, /marks/{id}:undo, /retention/exemptions, /exemptions:removeRetention policies, marks and exemptions
Retention and erasure
/api/v2/erasure/subjects, /erasure/requests, /requests/{id}, {id}:plan, :approve, :reject, :withdraw, :extend, :runErasure requests for one person
Retention and erasure
/api/v2/packages, /packages/{name}, /packages:export, :import, /packages/{name}:plan, :install, :upgrade, :downgrade, :uninstallPreview, :uninstall, :detachSolution packages
Solution packages
/api/v2/health, /deployment, /users, /sync, /refresh, /models/statusService health; where this copy runs (its process, ontology folder and revision, lakehouse and region, shared writes, sign-on, keys and library versions, for administrators and observability viewers); the user list, a full sync or refresh, and the model gateway's status
Deployment
/api/v2/action-log/{logId}:revertUndo an applied action as a new entry, with writeback put back; dryRun returns the plan
Action log
/api/v2/writeback/systems, /writeback/callsWriteback systems and the history of HTTP calls to them, for administrators
Writeback
/api/v2/inbound/{source}, /inbound/{source}/rowsSigned deliveries from a source system, and rows pushed by a named user or group
Writeback, connectors
/api/v2/types/{type}/objects/{key}/discussion with :watch and /people; /api/v2/proposals/{id}/discussion; /api/v2/comments/{id}:edit, :delete; /api/v2/watchesDiscussion threads, mentions and watching
Discussion and object history
/api/v2/notification-preferencesEach person's channel per category: in app, email or none
Discussion and object history
/api/v2/types/{type}/objects/{key}/history?pageSize=&before=Every change to an object, newest first
Discussion and object history
/api/v2/files, /files/{id}, /files/{id}/content, /files:purge; /types/{type}/objects/{key}/attachments; /api/v2/capture, /capture/scan?code=Upload, attach and read files, and look up a scanned barcode or QR code
Attachments and phone capture
/api/v2/schedules, /schedules/{id}, {id}:suggest, /{id}/search/{searchId}:run, /{id}/drafts, /drafts/{draftId}/moves, /drafts/{draftId}:undo, :clear, :discard, :solve, :submitScheduling boards, drafts and the solver
Scheduling boards
/api/v2/inbox, /inbox/{id}:read, /inbox:readAllThe in-app inbox: notifications and system notices, with read state per person
Notifications and webhooks
/api/v2/stream, /stream/tickets, /stream/events, /stream/history, /stream/statusPush updates as server-sent events, with filtered object set subscriptions
Change capture
/api/v2/timeseries, /timeseries/sources, /keys, /alerts, /alerts:evaluate, /eventsTime series and alerts
Time series
$near, $inBox, $inArea and $distance in object set queriesSpatial filters on geopoints
Geospatial
/api/v2/webhooks, /webhooks/{id}, /webhooks/events, /webhooks/deliveries, /webhooks/dead-letters, /webhooks/dead-letters:replay, /webhooks/mutesSigned webhooks, retries and dead letters, and email, Slack and Teams notifications
Webhooks
/api/v2/onboard/imports, /imports/{id}/suggest, /imports/{id}/mapping, /onboard/targets, /onboard/streamsGuided import of a file or source into object types
Connectors and file drops
/api/v2/sql/run, /sql/saved, /sql/tables, /sql/history, /sql/exportThe SQL workspace
Operational tables
/api/v2/evals/suites, /evals/suites/{id}:run, /evals/runs/{id}, /evals/gateEvaluation suites and release gates
Evaluations
/api/v2/functions/typescript, /functions/typescript:check, /functions/typescript/versions, /functions/{name}/versionsTypeScript functions, type checking and versions
Functions overview
/api/v2/health/datasets, /health/datasets/{name}, /health/datasets/evaluateDataset health
Dataset health
/api/v2/admin/keys, /admin/keys/tenant/rotate, /admin/keys/labels/{label}/rotate, /admin/keys/labels/{label}/resealKey status, rotation and reseal, for administrators
Encryption and keys
/api/v2/tenantThe tenant a request runs in
Deployment
/metrics, /api/v2/observability, /observability/metrics, /observability/logsPrometheus metrics, JSON logs and traces
Observability
/api/v2/monitors/rules, /monitors/alerts, /alerts/{id}, /alerts/{id}:snooze, :unsnooze, /monitors:evaluateMonitor rules and their alerts
Monitors and alerts

Related