Skip to main content
POST
Describe dataset

Request contract

  • Method and path: POST /apis/v1/socrata-com/open-data/describe-dataset
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/socrata-com/open-data/describe-dataset
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
dataset_id
string
required

The dataset's Socrata 4x4 id (for example ydr8-5enu, from search_datasets) or a dataset URL on the same portal: /d/, ///, /resource/.json.

portal
string
required

The portal: its hostname (data.cityofchicago.org, data.ny.gov, www.dallasopendata.com) or any URL on it. Must be a Socrata domain served by the Socrata Discovery API (US or EU region); anything else fails with invalid_input not_socrata_portal before the host is contacted.

Response

Describe one dataset on a Socrata portal: every column (field name used in SoQL, display name, Socrata type, description), exact row count (count(*)), category, tags, attribution, license, provenance, creation/publication/last-update timestamps and portal-defined metadata such as update frequency or owning department. The portal must be a Socrata domain (else invalid_input not_socrata_portal); an unknown or private dataset id is not_found.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.