Skip to content
getgeolens.com

Get Single Dataset

GET
/datasets/{dataset_id}
curl --request GET \
--url https://example.com/api/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Get a single dataset by ID with visibility check.

dataset_id
required
Dataset Id
string format: uuid

Successful Response

Media type application/json
DatasetResponse
object
id
required
Id
string format: uuid
record_id
required
Record Id

Parent catalog record UUID

string format: uuid
table_name
required
Table Name

Internal PostGIS table name

string
title
required
Title
string
summary
required
Any of:
string
srid
Any of:
integer
geometry_type
Any of:
string
is_3d
Any of:
boolean
n_dims
Any of:
integer
z_min
Any of:
number
z_max
Any of:
number
feature_count
required
Any of:
integer
extent_bbox
Any of:
Array<number>
column_info
Any of:
Array<object>
ColumnInfo

Describes a single column in a dataset’s attribute table.

object
name
required
Name
string
type
required
Type
string
semantic_role
Any of:
string
domain_type
Any of:
string
sample_values
Any of:
Array
stats
Any of:
object
key
additional properties
any
license
Any of:
string
source_organization
Any of:
string
data_vintage_start
Any of:
string format: date
data_vintage_end
Any of:
string format: date
quality_detail
Any of:
QualityDetail

Automated quality assessment results.

object
overall
required
Overall
number
<= 100
metadata_completeness
required
Metadata Completeness
number
<= 100
geometry_validity
Any of:
number
<= 100
attribute_completeness
required
Attribute Completeness
number
<= 100
crs_defined
Any of:
number
<= 100
computed_at
Any of:
string format: date-time
source_format
Any of:
string
source_filename
required
Any of:
string
original_srid
Any of:
integer
current_version
Current Version

Monotonic version counter

integer
default: 1
source_url
Any of:
string
<= 2000 characters
quality_statement
Any of:
string
visibility
required
Visibility

Access level: private, restricted, internal, public

string
created_by
required
Any of:
string format: uuid
created_by_display
required
Created By Display
string
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
last_edited_by_display
Any of:
string
last_edited_at
Any of:
string format: date-time
collections
Any of:
Array<object>
CollectionRef

Minimal reference to a collection a dataset belongs to.

object
id
required
Id
string format: uuid
name
required
Name
string
record_status
Record Status

Lifecycle status: draft, ready, published

string
default: draft
lineage_summary
Any of:
string
update_frequency
Any of:
string
usage_constraints
Any of:
string
access_constraints
Any of:
string
sensitivity_classification
Any of:
string
theme_category
Any of:
Array<string>
owner_org
Any of:
string
published_at
Any of:
string format: date-time
updated_by
Any of:
string format: uuid
record_type
Record Type

Record type: ‘vector_dataset’ (spatial features), ‘raster_dataset’ (single COG), ‘vrt_dataset’ (VRT mosaic), ‘table’ (non-spatial tabular), ‘map’ (saved map), ‘service’ (catalogued remote service), ‘collection’ (flat dataset group).

string
default: vector_dataset
raster
Any of:
RasterMetadata
object
epsg
Any of:
integer
res_x
Any of:
number
res_y
Any of:
number
band_count
Any of:
integer
nodata
Any of:
string
compression
Any of:
string
width
Any of:
integer
height
Any of:
integer
size_bytes
Any of:
integer
tile_url
Any of:
string
bands
Bands
Array<object>
default:
RasterBandInfo
object
index
required
Index

1-based band index

integer
dtype
required
Dtype

Pixel data type, e.g. uint8, float32

string
nodata
Any of:
string
color_interp
Any of:
string
connect
Any of:
RasterConnect
object
download_url
Any of:
string
tile_url
required
Tile Url

Titiler tile endpoint for this raster

string
s3_uri
Any of:
string
status
Any of:
string
vrt_type
Any of:
string
source_count
Any of:
integer
resolution_strategy
Any of:
string
stac_assets
Any of:
object
key
additional properties
StacAsset
object
href
required
Href
string
type
Any of:
string
title
Any of:
string
description
Any of:
string
roles
Any of:
Array<string>
size_bytes
Any of:
integer
stac_extensions
Any of:
Array<string>
language
Any of:
string
Example
{
"current_version": 1,
"record_status": "draft",
"record_type": "vector_dataset",
"raster": {
"bands": []
}
}

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": {}
}
]
}