Skip to content
getgeolens.com

Get Collection Items

GET
/collections/{dataset_id}/items
curl --request GET \
--url 'https://example.com/api/collections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/items?limit=10&offset=0&include_geometry=true' \
--header 'Authorization: Bearer <token>'

OGC API Features items endpoint — returns GeoJSON FeatureCollection for a dataset.

Note: datetime is accepted per OGC API Features Core but acts as a no-op for per-dataset feature queries. Per-dataset feature tables contain user-uploaded data with no standard temporal column, so the spec provision “if the collection does not include temporal information, the datetime parameter SHALL be ignored” applies (OGC 17-069r4 §7.15.5).

dataset_id
required
Dataset Id
string format: uuid
limit
Limit
integer
default: 10 >= 1 <= 1000
offset
Offset
integer
0
bbox
Any of:
string

Bounding box: minx,miny,maxx,maxy

datetime
Any of:
string

OGC datetime interval: instant, start/end, ../end, start/..

f
Any of:
string
include_geometry
Include Geometry

Include geometry in response. Set to false for attribute-only queries.

boolean
default: true

Include geometry in response. Set to false for attribute-only queries.

Successful Response

Example generated
example

Bad request — invalid query parameters or payload

Not found

Validation error

Internal server error