Collection Items
const url = 'https://example.com/collections/datasets/items?sort_by=relevance&offset=0&limit=10&cql2_filter_lang=cql2-text&exclude_synthetic=true&spatial_predicate=intersects';const options = { method: 'GET', headers: {'Content-Type': 'application/json'}, body: '["example"]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/collections/datasets/items?sort_by=relevance&offset=0&limit=10&cql2_filter_lang=cql2-text&exclude_synthetic=true&spatial_predicate=intersects' \ --header 'Content-Type: application/json' \ --data '[ "example" ]'OGC API Records items endpoint — mirrors /search/datasets.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Public OGC resource types as repeated or comma-separated values (for example, type=dataset,collection)
Public OGC resource types as repeated or comma-separated values (for example, type=dataset,collection)
Record IDs as repeated or comma-separated UUID values
Record IDs as repeated or comma-separated UUID values
Source-system resource identifiers as repeated or comma-separated values
Source-system resource identifiers as repeated or comma-separated values
Request Body
Section titled “Request Body ”Responses
Section titled “ Responses ”Successful Response
OGC API Records FeatureCollection with match counts.
object
Total records matching the query
Number of records in this response page
Single OGC API Records Feature.
object
object
Properties block of an OGC API Records Feature.
object
Identifiers assigned by the described resource’s source system.
object
object
object
Fresh, due, overdue, or unknown — how the dataset’s last refresh compares to its declared update_frequency. ‘unknown’ for origins nothing can refresh. Advisory only, and distinct from the quality score’s own freshness.
Healthy, missing, inaccessible, or unknown. ‘unknown’ means never probed, or an origin kind with nothing to probe.
object
Link object in OGC API Records.
object
Link object in OGC API Records.
object
Example
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "type": "dataset", "never_edited": false, "record_type": "vector_dataset", "source_freshness": "unknown", "source_health": "unknown", "has_quicklook": false } } ]}Example generated
exampleBad request — invalid query parameters or payload
Unauthenticated — a credential was supplied and could not be resolved (expired, revoked, or malformed). Sending no credential at all is not an error on these operations; they answer anonymously with the public subset. Neither is sending an unresolvable credential alongside a capability that authorizes the request on its own — a valid X-Embed-Token or a valid signed tile template (sig, exp, scope). Those are served and the unrelated credential is ignored.
Not found
Too many requests — retry after the advertised interval
Headers
Section titled “Headers ”Seconds until the request may be retried
Internal server error
Service unavailable — the database could not serve the request