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

Codex · Public Records

How to Use Data.gov.au dataset search in Codex

Returns matching dataset records from Australia's open government data catalog. Use it to discover potential sources before inspecting their resources or analyzing table rows.

Prompts to try with Data.gov.au dataset search in Codex

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

Use Data.gov.au dataset search to find population datasets relevant to Melbourne, then create a comparison of the returned dataset records in this project's research notes.

Data.gov.au dataset searchCodex
Try asking
  • Use Data.gov.au dataset search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Data.gov.au dataset search and tell me what changed since last week.

  • Check Data.gov.au dataset search and summarize what you find in three bullet points.

  • Pull the newest data from Data.gov.au dataset search and give me the result as a table.

How to set up Data.gov.au dataset search in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Data.gov.au dataset search

    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": "data-gov-au/open-data/search_datasets",
        "input": {
          "q": "<q>"
        }
      }'

Then paste one of the prompts above: Codex finds Data.gov.au dataset search on Spiral, shows the price and runs it.

Data.gov.au dataset search providers and prices

Spiral runs Data.gov.au dataset search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
data.gov.au open data catalogue · Search datasets
data-gov-au/open-data/search_datasets

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Rows1 to 10020

Datasets per page.

Every API field of data.gov.au open data catalogue · Search datasets is on its tool page: open its card above.

What can you do with Data.gov.au dataset search in Codex?

Build a source-linked Australian public data report or map in your project. A coding agent can use Data.gov.au to find publishers, inspect dataset resources, and retrieve available table rows for the implementation.

Build a regional evidence pack

Identify relevant government publishers, find datasets about Melbourne, inspect their resources, and extract available DataStore rows for a regional comparison. Keep each result tied to its source dataset.

Prepare council asset data for a map

Find a council's catalog entry and published asset datasets, inspect the resources, and retrieve relevant rows where DataStore access is available. Use the resulting locations to prepare a map of public infrastructure.

Compare published reporting years

Identify the publishing agency and locate a dataset with resources for multiple years. Inspect each resource and extract comparable DataStore rows where available before calculating changes.

Audit an agency's published data

Resolve the agency's catalog name, inventory its datasets and resources, and sample accessible DataStore tables. Produce a report showing which sources support row analysis and which require separate file retrieval.

Prepare source attribution for a report

Find the datasets used in an Australian public policy report and inspect their dataset and resource records. Assemble the publishing organization, jurisdiction, title, sourcing date, and URL for attribution.

Watch for resource changes

Repeat a catalog search and compare dataset and resource metadata with an earlier snapshot. Flag changed resources for review before refreshing a downstream analysis.

Create a publisher research directory

Find catalog organizations for Australian agencies and councils, then search their published datasets. Build a directory that links research topics to the organizations publishing relevant evidence.

Questions about Data.gov.au dataset search in Codex

Can Codex use Data.gov.au dataset search?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Data.gov.au dataset search like any built-in tool.

How much does Data.gov.au dataset search cost in Codex?

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

Do I need an Alexandria account to use Data.gov.au dataset search in Codex?

No. Spiral runs Data.gov.au dataset search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Data.gov.au dataset search in Codex?

About two minutes: add the hosted server, then sign in.

Does Codex wait while Data.gov.au dataset search runs?

Data.gov.au dataset search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.

Does Data.gov.au cover only federal government data?

It includes data published by Australian federal, state, and local government agencies. A search can therefore surface national statistics alongside council datasets.

How fresh and accurate is the data?

Data.gov.au explicitly does not guarantee dataset quality or timeliness. Its catalog should not be treated as a promise that every published dataset reflects current conditions.

Does a dataset search return the underlying table rows?

Search results represent datasets. Row access requires a resource loaded into DataStore; a resource can instead point to a file hosted elsewhere.

How much historical data can I retrieve?

Historical coverage depends on the resources supplied for the dataset. CKAN supports separate resources for different years, so inspect those resources before planning a year-to-year comparison.

What attribution does Data.gov.au request?

Its requested attribution includes the publishing organization, jurisdiction, dataset title, date sourced, and dataset URL. Preserve those details when preparing a report or derived dataset.

Get started

Start using Data.gov.au dataset search in Codex

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

Paste this into Codex:

Set up Codex

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