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 |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string or null |
|||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string or null |
|||
|
string or null |
RegionalMissionCriteria#
User criteria only; routing scope comes from the owning instance.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
map of string |
|||
|
object |
yes |
ResolvedSource#
A resolved retrieval source with the source_key that corpora refer to it by.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
yes |
|||
|
string |
yes |
minLength |
ResourceAvailability#
Whether a recent resource sample exists, with the sample when it is fresh.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
number or null |
|||
|
boolean |
yes |
||
|
string or null |
|||
|
AgentResourceSample or null |
|||
|
string (date-time) or null |
RetainedArtifactQuery#
Search by the vector of an artifact the corpus already holds.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
|
|
RetrievalArtifact#
An artifact summary with its vector values.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string or null |
|||
|
integer or null |
|||
|
one of |
yes |
||
|
object |
yes |
||
|
one of |
|
||
|
ProducerProvenance or null |
|||
|
string |
yes |
||
|
string |
yes |
||
|
yes |
|||
|
string |
yes |
||
|
array of number |
yes |
minItems |
|
|
string |
yes |
RetrievalArtifactPage#
A page of artifact summaries; pass next_after to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of RetrievalArtifactSummary |
yes |
||
|
string or null |
RetrievalArtifactSummary#
An artifact’s identity, source, space, locator and digests, without its vector.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string or null |
|||
|
integer or null |
|||
|
one of |
yes |
||
|
object |
yes |
||
|
one of |
|
||
|
ProducerProvenance or null |
|||
|
string |
yes |
||
|
string |
yes |
||
|
yes |
|||
|
string |
yes |
||
|
string |
yes |
RetrievalContracts#
Spaces, recipes, profiles and dataset names the service supports.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of string |
maxItems |
||
|
array of object |
yes |
||
|
array of object |
yes |
||
|
array of object |
yes |
RetrievalCorpusPage#
A page of corpora; pass next_after to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CorpusView |
yes |
||
|
string or null |
RetrievalFilter#
One metadata condition (eq, ne, in, gt, gte, lt, lte or exists) on a field.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
one of |
yes |
||
|
any |
yes |
RetrievalItem#
A fused result: the combined score and the per-query matches behind it.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of RetrievalMatch |
yes |
||
|
number |
yes |
RetrievalJobAction#
Request to pause, resume or cancel a job; retry_ambiguous retries work whose outcome is unknown.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
yes |
||
|
boolean |
|
RetrievalJobCreate#
Request to make a source searchable (or keep its originals) in one space, with an idempotency key.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
one of |
|
RetrievalJobPage#
A page of retrieval jobs; pass next_after to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of RetrievalJobView |
yes |
||
|
string or null |
RetrievalJobView#
State and stage of a retrieval job, with the artifacts it produced.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of string |
maxItems |
||
|
string |
yes |
||
|
string or null |
|||
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
RetrievalMatch#
One artifact that matched a query, with its rank, score and source.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
object |
yes |
||
|
one of |
|
||
|
ProducerProvenance or null |
|||
|
integer |
yes |
||
|
string |
yes |
||
|
number |
yes |
||
|
yes |
|||
|
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 |
|---|---|---|---|---|
|
map of integer |
yes |
||
|
|
yes |
||
|
boolean |
yes |
||
|
array of RetrievalItem |
yes |
||
|
string or null |
yes |
||
|
integer |
yes |
||
|
boolean |
yes |
||
|
string |
yes |
||
|
string or null |
yes |
||
|
string or null |
yes |
||
|
boolean |
yes |
RetrievalSample#
A deterministic sample of artifacts from one corpus space.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of RetrievalArtifactSummary |
yes |
||
|
string or null |
yes |
||
|
integer |
yes |
||
|
|
|
||
|
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 |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string or null |
|||
|
array of RetrievalFilter |
maxItems |
||
|
integer |
|
minimum |
|
|
string |
yes |
minLength |
|
|
map of VectorQuery or TextQuery or ContentQuery or RetainedArtifactQuery |
yes |
||
|
boolean |
|
||
|
string or null |
RetrievalSnapshotPage#
A page of snapshot summaries; pass next_after to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of RetrievalSnapshotSummary |
yes |
||
|
string or null |
RetrievalSnapshotSummary#
A retrieval snapshot and whether it is the current one for its profile.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
boolean |
yes |
||
|
string or null |
yes |
||
|
string |
yes |
||
|
string |
yes |
RetrievalSource#
A source a retrieval artifact was built from, identified by authority, source ID and revision.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
|
maxLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
RetrievalSourcePage#
A page of resolved sources; pass next_after to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of ResolvedSource |
yes |
||
|
string or null |
Run#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
boolean |
|
||
|
string (date-time) or null |
|||
|
string |
yes |
||
|
string (date-time) |
yes |
||
|
string |
yes |
||
|
string or null |
|||
|
string |
yes |
||
|
string |
yes |
||
|
integer |
yes |
minimum |
|
|
string or null |
|||
|
string or null |
|||
|
string (date-time) or null |
|||
|
yes |
|||
|
string or null |
|||
|
string or null |
RunAccepted#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
yes |
RunActivityResponse#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of AgentActivity |
yes |
||
|
string |
yes |
RunPage#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of Run |
yes |
||
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
RunStatus#
State of a run: queued, running, succeeded, failed or cancelled.
Type: one of "queued", "running", "succeeded", "failed", "cancelled"