REST schemas ArtifactQueryResponse to CollectionPage#

Request and response bodies of the REST API.

ArtifactQueryResponse#

Hits of a GKB query and the access path that served them.

Field

Type

Required

Default

Description

access_path

string

yes

hits

array of KnowledgeHit

[]

ArtifactValidation#

Result of validating Markdown: valid, the errors, and for valid input the artifact ID, content hash and metadata.

Field

Type

Required

Default

Description

artifact_id

string or null

content_hash

string or null

errors

array of string

[]

extension_validation

array of ExtensionValidation

[]

metadata

object or null

valid

boolean

yes

Body_create_agent_import_v1_agent_imports_post#

Field

Type

Required

Default

Description

agent_root

string

yes

Native agent-root .tar.gz

ci_provenance

string or null

image_ref

string

yes

minLength 1, maxLength 512

source_repository

string or null

source_revision

string or null

CatalogBrowseRequest#

Ordered, paged listing of a collection’s records, optionally filtered; sort_by is a metadata field path.

Field

Type

Required

Default

Description

collection

string

yes

cursor

string or null

filters

object

limit

integer

100

minimum 1.0, maximum 500.0

sort_by

string

"source_id"

sort_order

one of "asc", "desc"

"asc"

text

string or null

CatalogBrowseResponse#

A page of records with the cursor for the next page and the total count.

Field

Type

Required

Default

Description

items

array of CatalogRecord

[]

next_cursor

string or null

total

integer

0

minimum 0.0

CatalogCollectionStats#

A collection’s record count, spatial bounds and acquisition time range.

Field

Type

Required

Default

Description

acquired_max

string (date-time) or null

acquired_min

string (date-time) or null

bounds

array or null

collection

string

yes

record_count

integer

0

minimum 0.0

CatalogDirectoryIngestRequest#

Request to ingest a directory the server can read, in batches (default 16, at most 64).

Field

Type

Required

Default

Description

batch_size

integer

16

minimum 1.0, maximum 64.0

path

string

yes

minLength 1, maxLength 4096

replace_existing

boolean

false

CatalogEvent#

One change to a catalog record, as the catalog’s outbox stores it.

Field

Type

Required

Default

Description

after

object or null

before

object or null

collection

string

yes

id

string

yes

occurred_at

string (date-time)

yes

record_id

string or null

revision

integer

yes

minimum 1.0

type

"catalog.record.changed.v1"

yes

CatalogEventPage#

Events after the requested revision, oldest first.

latest is the collection’s newest revision and earliest the oldest one the feed still keeps (null when it keeps none).

Field

Type

Required

Default

Description

earliest

integer or null

items

array of CatalogEvent

yes

latest

integer

yes

minimum 0.0

CatalogFacetRequest#

Request for value counts of up to 64 metadata fields, optionally filtered.

Field

Type

Required

Default

Description

collection

string

yes

fields

array of string

yes

minItems 1, maxItems 64

filters

object

limit

integer

50

minimum 1.0, maximum 500.0

CatalogFacetResponse#

Facet value counts per field, the number of matching records and the share of records covered per field.

Field

Type

Required

Default

Description

coverage

map of number

facets

map of array of FacetValue

matched

integer

yes

minimum 0.0

CatalogHit#

A search result: a record’s ID, collection, score, rank and content.

Field

Type

Required

Default

Description

collection

string

yes

geometry

object or null

id

string

yes

metadata

object

rank

integer or null

score

number or null

source_uri

string or null

text

string or null

CatalogIngestReceipt#

Result of an ingest: how many records were accepted and persisted, and whether it replayed an earlier request.

Field

Type

Required

Default

Description

accepted

integer

yes

minimum 0.0

duplicate

boolean

false

persisted

integer

yes

minimum 0.0

record_ids

array of string

[]

warnings

array of string

[]

CatalogIngestRequest#

Request to ingest 1 to 500 records into a collection; record IDs must be unique within the batch.

Field

Type

Required

Default

Description

collection

string

yes

records

array of CatalogRecordDraft

yes

minItems 1, maxItems 500

CatalogMediaAssetDraft#

A zero-copy media asset stored relative to its SAFE product root.

Field

Type

Required

Default

Description

byte_size

integer

yes

minimum 0.0

georeferencing_annotation_path

string or null

georeferencing_required

boolean

false

id

string

yes

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

label

string

yes

minLength 1, maxLength 256

media_type

string

yes

minLength 1, maxLength 255

polarization

string or null

relative_path

string

yes

minLength 1, maxLength 4096

resolution_m

number or null

roles

array of one of "preview", "inspection", "download"

yes

minItems 1, maxItems 3

semantic_role

string or null

sha256

string or null

spectral_band

string or null

CatalogMediaManifestDraft#

Private zero-copy mapping from a catalog product to existing image files.

Field

Type

Required

Default

Description

assets

array of CatalogMediaAssetDraft

yes

minItems 1, maxItems 4096

canonical_safe_name

string or null

completeness

"complete-safe" or null

contract_version

string

"2.0"

default_inspection_asset_id

string or null

inventory_sha256

string or null

preview_asset_id

string or null

product_root

string

yes

minLength 1, maxLength 4096

product_type

string or null

total_byte_size

integer or null

tree_sha256

string or null

CatalogRecord#

A catalog record: its ID, collection, text, metadata, geometry and acquisition time.

Storage details are not exposed; source_uri is a remote URI or an opaque catalog:// locator.

Field

Type

Required

Default

Description

acquired_at

string (date-time) or null

collection

string

yes

geometry

object or null

id

string

yes

metadata

object

source_uri

string or null

text

string or null

CatalogRecordBatchRequest#

Request for up to 500 records of a collection by ID.

Field

Type

Required

Default

Description

collection

string

yes

ids

array of string

yes

minItems 1, maxItems 500

CatalogRecordBatchResponse#

Records found for a batch request and the IDs that were not found.

Field

Type

Required

Default

Description

items

array of CatalogRecord

[]

missing_ids

array of string

[]

CatalogRecordDraft#

A record to ingest, optionally with a media manifest.

Field

Type

Required

Default

Description

acquired_at

string (date-time) or null

geometry

object or null

id

string

yes

maxLength 4096

media

CatalogMediaManifestDraft or null

metadata

object

source_uri

string or null

text

string or null

CatalogScanRequest#

Request for one page of a full scan of a catalog collection, optionally limited by exact metadata filters.

Supported filters are sensor, platform, instrument, product and modality.

Field

Type

Required

Default

Description

collection

string

yes

minLength 1, maxLength 128

cursor

string or null

filters

object

limit

integer

50

minimum 1.0, maximum 100.0

CatalogScanResponse#

A page of catalog records and the cursor for the next page, or None at the end.

Field

Type

Required

Default

Description

items

array of CatalogRecord

yes

next_cursor

string or null

yes

CatalogSearchPageResponse#

Search hits with the total match count.

Field

Type

Required

Default

Description

items

array of CatalogHit

[]

next_cursor

string or null

total

integer

0

minimum 0.0

CatalogSearchRequest#

Search of one collection by text, metadata filters, bounding box and time range.

Filter conditions use exists, gte, lte, gt, lt, contains or one_of. A filename filter, or text that is a full .SAFE name, selects exactly that product.

Field

Type

Required

Default

Description

bbox

array or null

collection

string

yes

cursor

string or null

filters

object

limit

integer

20

minimum 1.0, maximum 500.0

text

string or null

when_from

string (date-time) or null

when_to

string (date-time) or null

CatalogSearchResponse#

Search hits and the cursor for the next page.

Field

Type

Required

Default

Description

items

array of CatalogHit

[]

next_cursor

string or null

CollectionCreate#

Request to create a collection.

Field

Type

Required

Default

Description

description

string

""

maxLength 4096

id

string

yes

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

name

string

yes

minLength 1, maxLength 256

CollectionInfo#

A catalog collection with its record count and status.

Field

Type

Required

Default

Description

metadata

object

name

string

yes

record_count

integer

0

minimum 0.0

status

string

"ready"

CollectionLayer#

A layer of a collection: its schema, authority, policy and capabilities.

Field

Type

Required

Default

Description

authority

string

yes

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

capabilities

array of string

maxItems 32

collection_id

string

yes

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

data_kind

string

yes

minLength 1, maxLength 256

data_schema

object

yes

extensions

object

id

string

yes

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

name

string

yes

minLength 1, maxLength 256

policy_ref

string

yes

minLength 1, maxLength 256

schema_version

string

yes

minLength 1, maxLength 256

CollectionList#

Collections returned by GET /v1/catalog/collections.

Field

Type

Required

Default

Description

items

array of CollectionInfo

[]

next_after

string or null

CollectionPage#

A page of collections; pass next_cursor to continue.

Field

Type

Required

Default

Description

items

array of CollectionView

yes

maxItems 100

next_cursor

string or null