[Integrations](https://spiral.ai/integrations) › [Muse](https://spiral.ai/integrations/muse) › [Socrata dataset details](https://spiral.ai/integrations/muse/socrata-dataset-details)

# How to Use Socrata dataset details in Muse

Get a dataset's column names, data types, publisher information, update timestamps, and row count. Use it to check what a table contains and how current it is before requesting records.

|  |  |
| --- | --- |
| Model | Socrata dataset details |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Socrata dataset details in Muse

- Use Socrata dataset details for Chicago's Building Permits dataset ydr8-5enu on data.cityofchicago.org and explain its publisher information, date columns, and available history.
- Use Socrata dataset details for NYC's 311 dataset erm2-nwe9 on data.cityofnewyork.us and explain what information is available about request categories and responding agencies.
- Use Socrata dataset details to look this up and give me the result as a table.
- Pull the latest numbers from Socrata dataset details and tell me what changed since last week.
- Check Socrata dataset details and summarize what you find in three bullet points.

## How to set up Socrata dataset details in Muse

Pick the way that suits you. Each takes about two minutes.

### Use the Muse connector

1. **Create an API key**: Create one under API keys in the Spiral console.

2. **Send Muse this message**: Muse reads Spiral's skill and asks for an API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Muse the key**: Paste the key when Muse asks for it, never in the chat itself.

### Use the Spiral skill

1. **Send Muse this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Socrata dataset details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "socrata-com/open-data/describe_dataset",
    "input": {
      "portal": "<portal>",
      "dataset_id": "<dataset_id>"
    }
  }'
```

Then paste one of the prompts above: Muse finds Socrata dataset details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse

## Socrata dataset details tools and prices

- [Socrata open-data portals · Describe dataset](https://spiral.ai/tools/alexandria/socrata-com/open-data/describe_dataset) (Alexandria): $0.00873 per call.

## What can you do with Socrata dataset details in Muse?

Answer a local-government question with a published table and a clear coverage boundary. A chat app can identify relevant Socrata sources, explain their columns, and summarize permit or service-request data in plain English.

### Compare building-permit activity

Find Chicago's Building Permits table, inspect its permit categories and date columns, then compare monthly counts. Keep the dataset's exclusion of voided and revoked permits in the analysis.

### Plan a 311 service-demand report

Locate NYC's 311 source table, check the available agency and problem columns, and summarize requests by category. Use the results to identify which published request types account for the largest volumes.

### Check whether a historical comparison is possible

Find candidate government tables, inspect their descriptions and date columns, then measure their actual date ranges. Establish the available history before proposing a multiyear trend report.

### Choose a source for a civic dashboard

Find tables for the dashboard's topic, compare their publisher information and schemas, and retrieve sample summaries. Choose a source whose published columns support the intended charts.

### Maintain a municipal data pipeline

Locate the published table, inspect its current columns, and retrieve the records needed by a report. Compare schemas between runs so a renamed or changed column gets reviewed before the next report.

### Prepare a sourced local-government briefing

Find relevant permit or service-request tables, document what each row represents, and calculate the requested totals. Include the publisher's coverage limits alongside the figures.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse guides](https://spiral.ai/integrations/muse)

## Socrata dataset details in other agents

- [Amp](https://spiral.ai/integrations/amp/socrata-dataset-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/socrata-dataset-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/socrata-dataset-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/socrata-dataset-details)
- [Cline](https://spiral.ai/integrations/cline/socrata-dataset-details)
- [Codex](https://spiral.ai/integrations/codex/socrata-dataset-details)
- [Cursor](https://spiral.ai/integrations/cursor/socrata-dataset-details)
- [Devin](https://spiral.ai/integrations/devin/socrata-dataset-details)
- [dots](https://spiral.ai/integrations/dots/socrata-dataset-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/socrata-dataset-details)
- [Gemini](https://spiral.ai/integrations/gemini/socrata-dataset-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/socrata-dataset-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/socrata-dataset-details)
- [goose](https://spiral.ai/integrations/goose/socrata-dataset-details)
- [Grok](https://spiral.ai/integrations/grok/socrata-dataset-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/socrata-dataset-details)
- [Hermes](https://spiral.ai/integrations/hermes/socrata-dataset-details)
- [Instinct](https://spiral.ai/integrations/instinct/socrata-dataset-details)
- [Manus](https://spiral.ai/integrations/manus/socrata-dataset-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/socrata-dataset-details)
- [n8n](https://spiral.ai/integrations/n8n/socrata-dataset-details)
- [Notion](https://spiral.ai/integrations/notion/socrata-dataset-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/socrata-dataset-details)
- [opencode](https://spiral.ai/integrations/opencode/socrata-dataset-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/socrata-dataset-details)
- [Raycast](https://spiral.ai/integrations/raycast/socrata-dataset-details)
- [VS Code](https://spiral.ai/integrations/vscode/socrata-dataset-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/socrata-dataset-details)
- [Zapier](https://spiral.ai/integrations/zapier/socrata-dataset-details)

## More Muse guides

- [SAM.gov registration changes](https://spiral.ai/integrations/muse/sam-gov-registration-changes)
- [Socrata dataset records](https://spiral.ai/integrations/muse/socrata-dataset-records)
- [SAM.gov registered business search](https://spiral.ai/integrations/muse/sam-gov-registered-business-search)
- [Socrata dataset search](https://spiral.ai/integrations/muse/socrata-dataset-search)
- [SAM.gov monthly entity extract status](https://spiral.ai/integrations/muse/sam-gov-monthly-entity-extract-status)
- [Supreme Court of Canada citation lookup](https://spiral.ai/integrations/muse/supreme-court-of-canada-citation-lookup)

## Questions about Socrata dataset details in Muse

**Can Muse use Socrata dataset details?**

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run Socrata dataset details like any built-in tool.

**How much does Socrata dataset details cost in Muse?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse plan is separate.

**Do I need an Alexandria account to use Socrata dataset details in Muse?**

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs Socrata dataset details on its own Alexandria account.

**How long does it take to set up Socrata dataset details in Muse?**

About two minutes: create an API key, then send Muse this message, then give Muse the key.

**Does Muse wait while Socrata dataset details runs?**

Socrata dataset details runs in the background. Muse starts the run, checks on it and gives you the json when it's ready.

**Does Socrata cover every government open-data portal?**

The documented search boundary is public Socrata-hosted government data. It can search across publishers or within one portal, so it should not be treated as a directory of every government's open data.

**How can I distinguish a data update from a description change?**

Socrata reports data-update and metadata-update times separately on dataset landing pages. Use that distinction when assessing freshness: a description edit and a change to the underlying records are separate events.

**Does a full dataset replacement mean every record changed?**

Socrata warns that a full replacement updates every record's system timestamp. A timestamp-based comparison can therefore report the entire table as changed after a replacement.

**How much Chicago building-permit history is available?**

Chicago's Building Permits dataset covers permits issued from 2006 to the present. It excludes permits voided or revoked after issuance, so it is not a complete archive of every permit ever issued.

**How fresh are NYC's published 311 requests?**

NYC says its 311 Service Requests from 2020 to Present dataset updates daily. It also warns that values in many fields change over time, so previously retrieved requests can have different values later.

