Validate Dataset
GET
/datasets/{dataset_id}/validate/
const url = 'https://example.com/api/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/validate/?refresh=false';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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/datasets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/validate/?refresh=false' \ --header 'Authorization: Bearer <token>'Get validation status for a dataset. Shows hard errors and soft warnings.
By default returns the quality score persisted at ingest time. Pass
?refresh=true to recompute and persist a fresh score (expensive on
large tables — issues a full scan per non-geometry column coalesced into
a single query).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dataset_id
required
Dataset Id
string format: uuid
Query Parameters
Section titled “Query Parameters ” refresh
Refresh
Recompute the quality score instead of returning the cached value.
boolean
Recompute the quality score instead of returning the cached value.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
ValidationResultResponse
object
is_valid
required
Is Valid
boolean
errors
required
Errors
Array<object>
ValidationIssueobject
field
required
Field
string
message
required
Message
string
severity
required
Severity
string
warnings
required
Warnings
Array<object>
ValidationIssueobject
field
required
Field
string
message
required
Message
string
severity
required
Severity
string
Example
{ "errors": [ { "severity": "error" } ], "warnings": [ { "severity": "error" } ]}Validation 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": {} } ]}