Skip to content
getgeolens.com

Collection Items

GET
/collections/datasets/items
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.

type
Any of:
string

OGC record type filter

sortby
Any of:
string

OGC sortby: +field or -field

externalId
Any of:
string

OGC Records external identifier filter (matches dataset UUID)

q
Any of:
string
<= 1000 characters
bbox
Any of:
string
geometry_type
Any of:
string
srid
Any of:
integer
source_organization
Any of:
string
record_type
Any of:
string
date_from
Any of:
string format: date
date_to
Any of:
string format: date
vintage_start
Any of:
string format: date
vintage_end
Any of:
string format: date
sort_by
Sort By
string
default: relevance
sort_desc
Any of:
boolean
offset
Offset
integer
0
limit
Limit
integer
default: 10 >= 1 <= 200
filter
Any of:
string
<= 10000 characters
cql2_filter_lang
Cql2 Filter Lang
string
default: cql2-text
datetime
Any of:
string
exclude_synthetic
Exclude Synthetic
boolean
default: true
spatial_predicate
Spatial Predicate
string
default: intersects
Allowed values: intersects within
geometry
Any of:
string
<= 50000 characters
collection_id
Any of:
string format: uuid
Media type application/json
Any of:
Array<string>
Example generated
[
"example"
]

Successful Response

Media type application/json
Example generated
example

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
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": {}
}
]
}