REST schemas RunTrace to TaskPage#

Request and response bodies of the REST API.

RunTrace#

A run with its trace identity and its trace relations.

trace_context is the identity the run’s spans carry; trace_relations are the workflow executions, wakes and predecessor runs it belongs to. Monitoring reads these to show and link traces.

Field

Type

Required

Default

Description

cancel_requested

boolean

false

completed_at

string (date-time) or null

conversation_id

string

yes

created_at

string (date-time)

yes

deployment_id

string

yes

error

string or null

id

string

yes

input_message_id

string

yes

input_sequence

integer

yes

minimum 1.0

output_message_id

string or null

platform_session_id

string or null

started_at

string (date-time) or null

status

RunStatus

yes

trace_context

AgentTraceContext or null

trace_id

string or null

trace_relations

array of AgentTraceRelation

trace_root_span_id

string or null

trace_url

string or null

RunTracePage#

Field

Type

Required

Default

Description

items

array of RunTrace

yes

limit

integer

yes

minimum 1.0, maximum 500.0

offset

integer

yes

minimum 0.0

total

integer

yes

minimum 0.0

SaveAgentDefinitionRequest#

Field

Type

Required

Default

Description

allowed_tools

array of string

maxItems 128

description

string

yes

minLength 1, maxLength 4096

expected_definition_digest

string

yes

maxLength 71, pattern ^sha256:[0-9a-f]{64}$

interaction_modes

array of string

maxItems 8

lifecycle

AgentLifecycle

yes

max_turns

integer

yes

minimum 1.0, maximum 128.0

model_id

string

yes

minLength 1, maxLength 256

skills

array of string

maxItems 64

system_instructions

string

yes

minLength 1, maxLength 100000

task_instructions

string

""

maxLength 100000

temperature

number

yes

minimum 0.0, maximum 2.0

timeout_seconds

integer

yes

minimum 1.0, maximum 3600.0

SemanticJoin#

A pair of source pins joined by a relationship.

Field

Type

Required

Default

Description

relationship_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

source

SourcePin

yes

target

SourcePin

yes

SemanticQuery#

A concept query against an ontology version, with predicates, optional spatial, temporal, lexical, related and vector conditions, and scan and time limits.

Field

Type

Required

Default

Description

concept

string

yes

minLength 1, maxLength 256

lexical

LexicalCondition or null

limit

integer

20

minimum 1.0, maximum 100.0

max_join_pairs

integer

10000

minimum 1.0, maximum 100000.0

max_records

integer

1000

minimum 1.0, maximum 1000.0

max_seconds

number

10

minimum 0.01, maximum 30.0

ontology_version

string

yes

minLength 1, maxLength 256

predicates

array of ConceptPredicate

maxItems 16

related

array of RelatedCondition

maxItems 4

require_complete

boolean

false

require_current

boolean

false

source_snapshot_id

string or null

spatial

SpatialCondition or null

temporal

TemporalCondition or null

vector

LayerVectorQuery or null

SemanticResult#

Evidence records for a semantic query, the source pins behind them, and whether the scan was partial or truncated.

Field

Type

Required

Default

Description

channel_scores

map of map of number

coverage

map of integer

evidence

array of LayerRecord

yes

maxItems 100

historical

boolean

false

joins

array of SemanticJoin

maxItems 400

ontology_version

string

yes

minLength 1, maxLength 256

partial

boolean

yes

plan_id

string

yes

minLength 1, maxLength 256

related_evidence

array of LayerRecord

maxItems 400

scanned

integer

yes

source_pins

array of SourcePin

yes

maxItems 100

source_snapshot_id

string or null

truncated

boolean

yes

warnings

array of string

yes

ServiceCapability#

One capability the service advertises, with its version, availability and routes.

Field

Type

Required

Default

Description

available

boolean

true

description

string or null

name

string

yes

routes

array of string

[]

version

string

"v1"

ServiceEndpoints#

Public, non-secret connection points advertised by the service plane.

Field

Type

Required

Default

Description

api

string

"/v1"

mcp

string or null

otlp

string or null

phoenix

string or null

ServiceHistory#

A page of probe observations for one service.

Field

Type

Required

Default

Description

items

array of StatusObservation

[]

limit

integer

yes

minimum 1.0, maximum 500.0

offset

integer

yes

minimum 0.0

service_id

string

yes

total

integer

yes

minimum 0.0

ServiceHistoryDetail#

Service history with the window’s coverage, availability, state proportions and timeline.

Field

Type

Required

Default

Description

availability

number or null

coverage

number

yes

minimum 0.0, maximum 1.0

items

array of StatusObservation

[]

limit

integer

yes

minimum 1.0, maximum 500.0

offset

integer

yes

minimum 0.0

proportions

map of number

service_id

string

yes

timeline

array of StatusTimelineSegment

[]

total

integer

yes

minimum 0.0

window_end

string (date-time)

yes

window_start

string (date-time)

yes

ServiceStatus#

Current status of one service, with its 24 hour (by default) coverage, availability and state proportions.

Field

Type

Required

Default

Description

availability

number or null

coverage

number or null

detail

string

""

display_name

string

yes

enabled

boolean

true

latency_ms

number or null

logs_service_id

string or null

observed_at

string (date-time) or null

proportions

map of number

required

boolean

true

service_id

string

yes

state

ProbeState

yes

ShipVisualizationError#

Field

Type

Required

Default

Description

code

string

yes

message

string

yes

retryable

boolean

false

SnapshotCreate#

Request to pin the corpus state for a profile.

Field

Type

Required

Default

Description

profile_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

SnapshotLayer#

A layer in a snapshot, with its version and watermark.

Field

Type

Required

Default

Description

collection_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

layer_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

layer_version

string

yes

minLength 1, maxLength 256

retains_revisions

boolean

yes

watermark

string or integer

yes

SnapshotView#

The ID of a created snapshot.

Field

Type

Required

Default

Description

snapshot_id

string

yes

SourcePin#

An exact reference to one record revision of a layer version, used as evidence or as a derivation input.

Field

Type

Required

Default

Description

collection_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

layer_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

layer_version

string

yes

minLength 1, maxLength 256

member

object

record_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

record_revision

string

yes

minLength 1, maxLength 256

role

string

"input"

minLength 1, maxLength 256

SourceResolve#

Request to resolve a catalog, GKB or dataset source to a retrieval source; collection is required for catalog and dataset sources.

Field

Type

Required

Default

Description

authority

one of "catalog", "gkb", "dataset"

yes

collection

string or null

source_id

string

yes

minLength 1, maxLength 1024

SpatialCondition#

A geometry condition (intersects, within or contains) on a property, in a given CRS.

Field

Type

Required

Default

Description

crs

string

yes

minLength 1, maxLength 256

geometry

object

yes

property_id

string

yes

minLength 1, maxLength 128, pattern ^[A-Za-z0-9][A-Za-z0-9_.-]*$

relation

one of "intersects", "within", "contains"

"intersects"

StatusObservation#

One recorded probe result for a service.

Field

Type

Required

Default

Description

detail

string

""

latency_ms

number

yes

minimum 0.0

observed_at

string (date-time)

yes

service_id

string

yes

state

ProbeState

yes

StatusSummary#

Overall status and every service’s status over a window, as returned by GET /v1/status.

monitor_stale is true when the monitor has not completed a recent cycle.

Field

Type

Required

Default

Description

generated_at

string (date-time)

yes

last_cycle_at

string (date-time) or null

monitor_stale

boolean

false

services

array of ServiceStatus

[]

status

ProbeState

yes

window

string

"24h"

StatusTimelineSegment#

A period during which a service stayed in one state.

Field

Type

Required

Default

Description

end

string (date-time)

yes

start

string (date-time)

yes

state

ProbeState

yes

SyncAgentProfilesRequest#

Field

Type

Required

Default

Description

agents

array of AgentProfileSyncItem

yes

minItems 1, maxItems 256

source_revision

string

yes

minLength 1, maxLength 160

SyncAgentProfilesResponse#

Field

Type

Required

Default

Description

items

array of Agent

yes

source_revision

string

yes

synchronized_at

string (date-time)

yes

TaskAssignment#

Field

Type

Required

Default

Description

assignment_token

string

yes

minLength 32, maxLength 128

lease_epoch

integer

yes

minimum 1.0

TaskCommit#

Field

Type

Required

Default

Description

assignment_token

string

yes

minLength 32, maxLength 128

checkpoint

object

dependencies

array of TaskDependency

maxItems 32

event_selector

object or null

instance_checkpoint

object or null

lease_epoch

integer

yes

minimum 1.0

outcome

one of "continue", "wait", "complete", "needs_attention"

yes

outputs

array of TaskOutput

maxItems 20

reason

string or null

receipts

array of string

maxItems 100

tasks

array of TaskInput

maxItems 100

TaskContext#

Field

Type

Required

Default

Description

activation_id

string

yes

attempts

integer

0

checkpoint

object

conversation_id

string or null

created_at

string (date-time)

yes

dependencies

array of TaskDependency

dependency_results

array of AgentTask

execution_contract

"geonemo-agent-execution/v1"

"geonemo-agent-execution/v1"

id

string

yes

input

string

yes

instance_checkpoint

object

instance_id

string

yes

key

string

yes

lease_epoch

integer

0

mission_input

string

""

outcome

string or null

outputs

array of TaskOutput

reason

string or null

receipts

array of string

retry_at

string (date-time) or null

run_id

string or null

status

one of "ready", "running", "waiting", "complete", "needs_attention", "cancelled"

"ready"

updated_at

string (date-time)

yes

TaskDependency#

Field

Type

Required

Default

Description

at

string (date-time) or null

event

one of "catalog", "knowledge", "manual" or null

id

string or null

kind

one of "task", "operation", "timer", "event"

yes

TaskInput#

Field

Type

Required

Default

Description

checkpoint

object

dependencies

array of TaskDependency

maxItems 32

input

string

yes

minLength 1, maxLength 100000

key

string

yes

minLength 1, maxLength 128

TaskOutput#

Field

Type

Required

Default

Description

label

string

yes

minLength 1, maxLength 128

path

string

yes

minLength 1, maxLength 2048, pattern ^/[^/\\].*

TaskPage#

Field

Type

Required

Default

Description

items

array of AgentTask

yes

paused

boolean

false

total

integer

yes