REST schemas LayerChanges to MessageReferenceKind#

Request and response bodies of the REST API.

LayerChanges#

A page of layer changes and the current watermark.

Field

Type

Required

Default

Description

items

array of LayerChange

yes

maxItems 100

next_cursor

integer or null

watermark

integer

yes

LayerContentSelection#

Which content of a layer record to bind: the record, a text field, an asset or a raster window.

Field

Type

Required

Default

Description

asset_id

string or null

field

string or null

kind

one of "record", "text", "asset", "raster_window"

"record"

window

LayerRasterWindow or null

LayerCorpusBinding#

Binds a layer to a retrieval corpus, with the content selection and embedding profile.

Field

Type

Required

Default

Description

collection_id

string

yes

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

corpus_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_.-]*$

max_records

integer

1000

minimum 1.0, maximum 1000.0

profile_id

string

yes

minLength 1, maxLength 256

selection

LayerContentSelection

source_snapshot_id

string or null

LayerPage#

A page of layers; pass next_cursor to continue.

Field

Type

Required

Default

Description

items

array of CollectionLayer

yes

maxItems 100

next_cursor

string or null

LayerRasterResult#

Pixel values of a raster window with its dtype, CRS and transform.

Field

Type

Required

Default

Description

asset_id

string

yes

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

bands

array of integer

yes

content_digest

string

yes

crs

string or null

yes

dtype

string

yes

height

integer

yes

record_revision

string

yes

minLength 1, maxLength 256

transform

array of number

yes

minItems 6, maxItems 6

values

array of array of array of number or null

yes

width

integer

yes

LayerRasterWindow#

A pixel window (at most 512 by 512) and band selection of a raster asset.

Field

Type

Required

Default

Description

bands

array of integer

minItems 1, maxItems 16

column

integer

yes

minimum 0.0

height

integer

yes

minimum 1.0, maximum 512.0

layer_version

string or null

record_revision

string or null

row

integer

yes

minimum 0.0

width

integer

yes

minimum 1.0, maximum 512.0

LayerRecord#

One record of a layer, with its source ID and revision, properties and assets.

Field

Type

Required

Default

Description

assets

array of LayerAsset

maxItems 64

collection_id

string

yes

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

extensions

object

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

properties

object

source_id

string

yes

minLength 1, maxLength 4096

source_revision

string

yes

minLength 1, maxLength 256

LayerRecordBatch#

Up to 100 records to write; expected_watermark guards against concurrent writers.

Field

Type

Required

Default

Description

expected_watermark

integer or null

items

array of LayerRecord

yes

minItems 1, maxItems 100

LayerRecordPage#

A page of layer records; partial is true when the source was not fully read.

Field

Type

Required

Default

Description

items

array of LayerRecord

yes

maxItems 100

layer_version

string or null

next_cursor

string or null

partial

boolean

false

source_watermark

string or integer or null

LayerRegistration#

Request to register a layer descriptor with an adapter.

Field

Type

Required

Default

Description

adapter_id

string

"collection-import"

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

descriptor

CollectionLayer

yes

LayerSelection#

A layer chosen by collection and layer ID.

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_.-]*$

LayerSnapshot#

The pinned layers and sources of a snapshot.

Field

Type

Required

Default

Description

asset_bytes

integer

0

minimum 0.0, maximum 268435456.0

derived_outputs

array of string

maxItems 1024

layers

array of SnapshotLayer

yes

minItems 1, maxItems 16

retained_history

boolean

yes

sources

array of SourcePin

yes

maxItems 1000

LayerSnapshotRequest#

Request to pin the current state of up to 16 layers.

Field

Type

Required

Default

Description

layers

array of LayerSelection

yes

minItems 1, maxItems 16

max_asset_bytes

integer

67108864

minimum 0.0, maximum 268435456.0

max_records

integer

1000

minimum 1.0, maximum 1000.0

require_retained_history

boolean

true

LayerSnapshotView#

A stored snapshot and its ID.

Field

Type

Required

Default

Description

id

string

yes

minLength 1, maxLength 256

manifest

LayerSnapshot

yes

LayerVectorQuery#

Vector queries against a retrieval corpus, used as a condition of a semantic query.

Field

Type

Required

Default

Description

corpus_id

string

yes

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

max_candidates

integer

500

minimum 1.0, maximum 500.0

profile_id

string

yes

minLength 1, maxLength 256

queries

map of array of number

yes

snapshot_id

string or null

LayerWriteReceipt#

Result of a write: the new watermark and the revision of each record.

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_.-]*$

revisions

map of string

yes

watermark

integer

yes

LexicalCondition#

A text condition on a property: all or any of the words in text.

Field

Type

Required

Default

Description

mode

one of "all", "any"

"all"

property_id

string

yes

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

text

string

yes

minLength 1, maxLength 1024

MaintenanceAction#

Request to pause or resume maintenance.

Field

Type

Required

Default

Description

action

one of "pause", "resume"

yes

MaintenanceBinding#

Binds an embedding space to the execution setup that fills it.

Field

Type

Required

Default

Description

execution_setup_id

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_.-]*$

MaintenanceConfigure#

Request to configure maintenance: selection, one binding per space, and the scan interval in seconds.

Field

Type

Required

Default

Description

bindings

array of MaintenanceBinding

yes

minItems 1, maxItems 8

interval_seconds

integer

300

minimum 1.0, maximum 86400.0

selection

MaintenanceSelection

yes

MaintenanceSelection#

What a maintained corpus follows: a catalog or GKB scope, narrowed by filters.

Field

Type

Required

Default

Description

authority

one of "catalog", "gkb"

yes

filters

array of RetrievalFilter

maxItems 32

scope

string

yes

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

MaintenanceView#

Maintenance configuration plus its owner, version, pause state, phase and last completed scan.

Field

Type

Required

Default

Description

bindings

array of MaintenanceBinding

yes

minItems 1, maxItems 8

completed_at

number or null

completed_watermark

string or null

error

string or null

interval_seconds

integer

300

minimum 1.0, maximum 86400.0

owner_id

string

yes

paused

boolean

yes

phase

string

yes

selection

MaintenanceSelection

yes

unavailable

integer

yes

version

integer

yes

MediaAsset#

One image or file of a catalog record that can be previewed or inspected, with its roles, media type and size.

Field

Type

Required

Default

Description

byte_size

integer

yes

minimum 0.0

id

string

yes

label

string

yes

media_type

string

yes

polarization

string or null

resolution_m

number or null

roles

array of one of "preview", "inspection"

yes

spectral_band

string or null

MediaGeoreferencing#

Whether a record’s pixels can be georeferenced, how, and in which CRS.

Field

Type

Required

Default

Description

crs

string or null

method

one of "affine_crs", "embedded_gcps", "safe_annotation_gcps", "unsupported"

yes

reason

string or null

status

one of "supported", "unsupported"

yes

MediaHistogram#

Per-band histograms of a record.

Field

Type

Required

Default

Description

bands

array of MediaHistogramBand

yes

bins

integer

yes

minimum 2.0, maximum 256.0

channel_names

array of string

yes

channels

array of string

yes

sample_size

integer

yes

minimum 0.0

sampled

boolean

yes

value_kind

"native"

yes

values

array of array of integer

yes

MediaHistogramBand#

Statistics and histogram of one band.

Field

Type

Required

Default

Description

band

integer

yes

minimum 1.0

counts

array of integer

yes

minItems 2, maxItems 256

edges

array of number

yes

minItems 3, maxItems 257

max

number

yes

mean

number

yes

min

number

yes

stddev

number

yes

minimum 0.0

MediaInspection#

Raster details of a record: size, bands, data types, nodata and georeferencing.

Field

Type

Required

Default

Description

assets

array of MediaAsset

[]

band_count

integer

yes

minimum 1.0

band_names

array of string

yes

bands

array of string

yes

byte_size

integer

yes

minimum 0.0

collection

string

yes

contract_version

string

yes

crs

string or null

default_inspection_asset_id

string or null

dtypes

array of string

yes

format

string or null

geo_bbox

array or null

georeferencing

MediaGeoreferencing

height

integer

yes

minimum 1.0

max_level

integer

yes

minimum 0.0, maximum 24.0

mode

string

yes

native_values

boolean

yes

nodata

integer or number or null

preview_asset_id

string or null

record_id

string

yes

selected_asset_id

string or null

tile_size

integer

yes

minimum 1.0

width

integer

yes

minimum 1.0

MediaPixel#

Pixel values at one position, and its longitude and latitude when georeferenced.

Field

Type

Required

Default

Description

lonlat

array or null

nodata

boolean

yes

value

array of integer or number

yes

minItems 1, maxItems 256

values

array of integer or number

yes

minItems 1, maxItems 256

x

integer

yes

minimum 0.0

y

integer

yes

minimum 0.0

MessageReference#

Field

Type

Required

Default

Description

collection

string or null

id

string

yes

minLength 1, maxLength 512

label

string or null

type

MessageReferenceKind

yes

MessageReferenceKind#

Type: one of "catalog_record", "gkb_artifact"