> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Socrata Open Data: Socrata Describe Dataset

> Read a dataset's schema, column types, and freshness metadata. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Read a dataset's schema, column types, and freshness metadata.

<Info>
  Tool ID: `socrata_describe_dataset`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get socrata_describe_dataset --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "id": "id_123",
    "name": "Example",
    "description": "Example description"
  }
}
```

Use `deepline tools get socrata_describe_dataset --json` for the latest machine-readable contract.

## Input reference

Read a dataset's schema, column types, and freshness metadata

| Name                | Type     | Required | Default | Details                                                                                                                 |
| ------------------- | -------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------- |
| `payload.datasetId` | `string` | Yes      | —       | The dataset 4x4 identifier, e.g. `ipu4-2q9a`. Pattern: `^[a-z0-9]&#123;4&#125;-[a-z0-9]&#123;4&#125;$`.                 |
| `payload.domain`    | `string` | Yes      | —       | Socrata host for this dataset, e.g. `data.cityofnewyork.us`. Routed at runtime; not sent upstream as a query parameter. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Read a dataset's schema, column types, and freshness metadata",
    "properties": {
      "datasetId": {
        "type": "string",
        "description": "The dataset 4x4 identifier, e.g. `ipu4-2q9a`.",
        "pattern": "^[a-z0-9]{4}-[a-z0-9]{4}$"
      },
      "domain": {
        "type": "string",
        "description": "Socrata host for this dataset, e.g. `data.cityofnewyork.us`. Routed at runtime; not sent upstream as a query parameter."
      }
    },
    "required": [
      "datasetId",
      "domain"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                 | Type      | Required | Default | Details                                        |
| ------------------------------------ | --------- | -------- | ------- | ---------------------------------------------- |
| `result.data`                        | `object`  | Yes      | —       | Provider response payload.                     |
| `result.data.id`                     | `string`  | No       | —       | —                                              |
| `result.data.name`                   | `string`  | No       | —       | —                                              |
| `result.data.description`            | `string`  | No       | —       | —                                              |
| `result.data.rowsUpdatedAt`          | `integer` | No       | —       | —                                              |
| `result.data.columns`                | `array`   | No       | —       | —                                              |
| `result.data.columns[].fieldName`    | `string`  | No       | —       | —                                              |
| `result.data.columns[].name`         | `string`  | No       | —       | —                                              |
| `result.data.columns[].dataTypeName` | `string`  | No       | —       | —                                              |
| `result.meta`                        | `object`  | No       | —       | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "rowsUpdatedAt": {
            "type": "integer"
          },
          "columns": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "fieldName": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "dataTypeName": {
                  "type": "string"
                }
              },
              "additionalProperties": false
            }
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Socrata Open Data provider guide](/docs/providers/socrata/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
