Spiral gives your agent every tool with one account. Browse the tools →

dots · Public Records

How to Use Socrata dataset details in dots

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.

Prompts to try with Socrata dataset details in dots

Copy an example into dots, or ask in your own words.

Each morning, use Socrata dataset details for Chicago's Building Permits dataset ydr8-5enu on data.cityofchicago.org and report changes to its columns or published update timestamps.

Socrata dataset detailsdots
Try asking
  • Each morning, use Socrata dataset details for NYC's 311 dataset erm2-nwe9 on data.cityofnewyork.us and flag changes to its column names, types, or description.

  • Every Monday at 9am: 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 dots

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

Use the Spiral skill

  1. Send dots 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 Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for your dot. Copy it.

  2. Send your dot this message

    Your dot reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give your dot the key

    When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    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.

    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: dots finds Socrata dataset details on Spiral, shows the price and runs it.

Socrata dataset details providers and prices

Spiral runs Socrata dataset details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
Socrata open-data portals · Describe dataset
socrata-com/open-data/describe_dataset

What can you do with Socrata dataset details in dots?

Keep a recurring civic report tied to the tables its publisher currently exposes. A scheduled agent can check Socrata catalog entries and schemas, then refresh permit or service-demand summaries when published data changes.

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.

Questions about Socrata dataset details in dots

Can dots use Socrata dataset details?

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

How much does Socrata dataset details cost in dots?

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

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

You need no Alexandria account. dots 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 dots?

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

Does dots wait while Socrata dataset details runs?

Socrata dataset details runs in the background. dots 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.

Get started

Start using Socrata dataset details in dots

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into dots:

Set up dots

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options