Collection Items
GET
/collections/datasets/items
const url = 'https://example.com/api/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: {Authorization: 'Bearer <token>', '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/api/collections/datasets/items?sort_by=relevance&offset=0&limit=10&cql2_filter_lang=cql2-text&exclude_synthetic=true&spatial_predicate=intersects' \ --header 'Authorization: Bearer <token>' \ --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 ” externalId
sort_by
Sort By
string
offset
Offset
integer
limit
Limit
integer
cql2_filter_lang
Cql2 Filter Lang
string
exclude_synthetic
Exclude Synthetic
boolean
spatial_predicate
Spatial Predicate
string
Request Body
Section titled “Request Body ” Media type application/json
Responses
Section titled “ Responses ”Successful Response
Media type application/json
Example generated
exampleValidation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}