REST schemas PropertyMapping to RunStatus#

Request and response bodies of the REST API.

PropertyMapping#

Maps a concept property to a field of a layer version, with its unit, CRS and time basis.

Field

Type

Required

Default

Description

collection_id

string

yes

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

concept_id

string

yes

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

crs

string or null

field

string

yes

minLength 1, maxLength 1024

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

property_id

string

yes

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

time_basis

string or null

unit

string or null

RegionalMissionCriteria#

User criteria only; routing scope comes from the owning instance.

Field

Type

Required

Default

Description

filters

map of string

region

object

yes

RelatedCondition#

Conditions on records joined to the main concept by a relationship.

Field

Type

Required

Default

Description

lexical

LexicalCondition or null

predicates

array of ConceptPredicate

maxItems 16

relationship_id

string

yes

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

spatial

SpatialCondition or null

temporal

TemporalCondition or null

ResolvedSource#

A resolved retrieval source with the source_key that corpora refer to it by.

Field

Type

Required

Default

Description

source

RetrievalSource

yes

source_key

string

yes

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

ResourceAvailability#

Whether a recent resource sample exists, with the sample when it is fresh.

Field

Type

Required

Default

Description

age_seconds

number or null

available

boolean

yes

reason

string or null

sample

AgentResourceSample or null

sampled_at

string (date-time) or null

RetainedArtifactQuery#

Search by the vector of an artifact the corpus already holds.

Field

Type

Required

Default

Description

artifact_id

string

yes

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

kind

"artifact"

"artifact"

RetrievalArtifact#

An artifact summary with its vector values.

Field

Type

Required

Default

Description

artifact_id

string

yes

content_digest

string or null

dimension

integer or null

dtype

one of "float32", "float64"

yes

locator

object

yes

origin

one of "geonemo", "external"

"geonemo"

producer

ProducerProvenance or null

recipe_id

string

yes

representation_id

string

yes

source

RetrievalSource

yes

space_id

string

yes

values

array of number

yes

minItems 1, maxItems 65536

vector_digest

string

yes

RetrievalArtifactPage#

A page of artifact summaries; pass next_after to continue.

Field

Type

Required

Default

Description

items

array of RetrievalArtifactSummary

yes

next_after

string or null

RetrievalArtifactSummary#

An artifact’s identity, source, space, locator and digests, without its vector.

Field

Type

Required

Default

Description

artifact_id

string

yes

content_digest

string or null

dimension

integer or null

dtype

one of "float32", "float64"

yes

locator

object

yes

origin

one of "geonemo", "external"

"geonemo"

producer

ProducerProvenance or null

recipe_id

string

yes

representation_id

string

yes

source

RetrievalSource

yes

space_id

string

yes

vector_digest

string

yes

RetrievalContracts#

Spaces, recipes, profiles and dataset names the service supports.

Field

Type

Required

Default

Description

datasets

array of string

maxItems 64

profiles

array of object

yes

recipes

array of object

yes

spaces

array of object

yes

RetrievalCorpusPage#

A page of corpora; pass next_after to continue.

Field

Type

Required

Default

Description

items

array of CorpusView

yes

next_after

string or null

RetrievalFilter#

One metadata condition (eq, ne, in, gt, gte, lt, lte or exists) on a field.

Field

Type

Required

Default

Description

field

string

yes

minLength 1, maxLength 128

op

one of "eq", "ne", "in", "gt", "gte", "lt", "lte", "exists"

yes

value

any

yes

RetrievalItem#

A fused result: the combined score and the per-query matches behind it.

Field

Type

Required

Default

Description

id

string

yes

matches

array of RetrievalMatch

yes

score

number

yes

RetrievalJobAction#

Request to pause, resume or cancel a job; retry_ambiguous retries work whose outcome is unknown.

Field

Type

Required

Default

Description

action

one of "pause", "resume", "cancel"

yes

retry_ambiguous

boolean

false

RetrievalJobCreate#

Request to make a source searchable (or keep its originals) in one space, with an idempotency key.

Field

Type

Required

Default

Description

execution_setup_id

string

yes

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

idempotency_key

string

yes

minLength 1, maxLength 256

source_key

string

yes

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

space_id

string

yes

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

target

one of "searchable", "originals"

"searchable"

RetrievalJobPage#

A page of retrieval jobs; pass next_after to continue.

Field

Type

Required

Default

Description

items

array of RetrievalJobView

yes

next_after

string or null

RetrievalJobView#

State and stage of a retrieval job, with the artifacts it produced.

Field

Type

Required

Default

Description

artifact_ids

array of string

maxItems 256

corpus_id

string

yes

error

string or null

id

string

yes

stage

string

yes

state

string

yes

RetrievalMatch#

One artifact that matched a query, with its rank, score and source.

Field

Type

Required

Default

Description

artifact_id

string

yes

locator

object

yes

origin

one of "geonemo", "external"

"geonemo"

producer

ProducerProvenance or null

rank

integer

yes

representation_id

string

yes

score

number

yes

source

RetrievalSource

yes

space_id

string

yes

RetrievalResult#

Search response: fused items and the snapshot, membership and coverage they were computed on.

partial is true when some sources were not searchable and truncated when results were cut at the limit.

Field

Type

Required

Default

Description

coverage

map of integer

yes

fusion

"reciprocal_rank_fusion"

yes

historical

boolean

yes

items

array of RetrievalItem

yes

manifest_id

string or null

yes

membership_revision

integer

yes

partial

boolean

yes

profile_id

string

yes

snapshot_id

string or null

yes

source_watermark

string or null

yes

truncated

boolean

yes

RetrievalSample#

A deterministic sample of artifacts from one corpus space.

Field

Type

Required

Default

Description

items

array of RetrievalArtifactSummary

yes

manifest_id

string or null

yes

membership_revision

integer

yes

method

"deterministic_id_window"

"deterministic_id_window"

seed

string

yes

RetrievalSearch#

Search request: named queries (up to 8), run against a corpus with a profile, filters and a result limit (default 20, at most 500).

Field

Type

Required

Default

Description

corpus_id

string

yes

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

execution_setup_id

string or null

filters

array of RetrievalFilter

maxItems 32

limit

integer

20

minimum 1.0, maximum 500.0

profile_id

string

yes

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

queries

map of VectorQuery or TextQuery or ContentQuery or RetainedArtifactQuery

yes

require_current

boolean

false

snapshot_id

string or null

RetrievalSnapshotPage#

A page of snapshot summaries; pass next_after to continue.

Field

Type

Required

Default

Description

items

array of RetrievalSnapshotSummary

yes

next_after

string or null

RetrievalSnapshotSummary#

A retrieval snapshot and whether it is the current one for its profile.

Field

Type

Required

Default

Description

current

boolean

yes

manifest_id

string or null

yes

profile_id

string

yes

snapshot_id

string

yes

RetrievalSource#

A source a retrieval artifact was built from, identified by authority, source ID and revision.

Field

Type

Required

Default

Description

authority

string

yes

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

media_type

string

yes

minLength 1, maxLength 128

metadata_json

string

"{}"

maxLength 16384

revision

string

yes

minLength 1, maxLength 256

source_id

string

yes

minLength 1, maxLength 4096

RetrievalSourcePage#

A page of resolved sources; pass next_after to continue.

Field

Type

Required

Default

Description

items

array of ResolvedSource

yes

next_after

string or null

Run#

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_id

string or null

trace_url

string or null

RunAccepted#

Field

Type

Required

Default

Description

events_url

string

yes

run

Run

yes

RunActivityResponse#

Field

Type

Required

Default

Description

items

array of AgentActivity

yes

run_id

string

yes

RunPage#

Field

Type

Required

Default

Description

items

array of Run

yes

limit

integer

yes

minimum 1.0, maximum 500.0

offset

integer

yes

minimum 0.0

total

integer

yes

minimum 0.0

RunStatus#

State of a run: queued, running, succeeded, failed or cancelled.

Type: one of "queued", "running", "succeeded", "failed", "cancelled"