Socrata Dataset Metadata
socrata.datasets.detailRetrieve full metadata and column schema for one Socrata dataset using its portal domain and dataset ID, including description, tags, update time, counts, and field types.
Instructions
Get full metadata and column schema for one dataset on a specific Socrata portal — description, attribution, tags, view/download counts, last data update time, and the full column list (name, field name, data type, description). Use socrata.dataset_search first to find a domain + dataset_id. Data: per-portal Socrata views API (e.g. data.cityofnewyork.us), no auth required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Socrata portal hostname, e.g. "data.cityofnewyork.us" (from socrata.dataset_search results) | |
| dataset_id | Yes | Socrata dataset 4x4 identifier, e.g. "erm2-nwe9" (from socrata.dataset_search results) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |