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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Search datasets

> Start here for city, county or state open data (permits, inspections, 311, code violations, business licenses, crime, property) when the dataset id is unknown. Then describe_dataset for the full column list and row count, and query_dataset for rows.

## Request contract

* **Method and path:** POST /apis/v1/socrata-com/open-data/search-datasets
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/socrata-com/open-data/search-datasets`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/socrata-com.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "socrata-com.open-data.search-datasets",
  "method": "POST",
  "path": "/apis/v1/socrata-com/open-data/search-datasets",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Official provider example; checked against AIsa request constraints",
            "value": {
              "domain": "data.cityofchicago.org",
              "limit": 3,
              "query": "building permits"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "category": {
              "description": "Category filter. With `domain`: the portal's own category name (e.g. `Buildings`). Without: Socrata's global lowercase categories (e.g. `public safety`).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "domain": {
              "description": "Limit to one portal: hostname or URL (data.cityofchicago.org). Verified as a Socrata domain (US region first, then EU). Omit to search every public Socrata portal in `region`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "default": 10,
              "description": "limit\n\nProvider reference: minimum 1; maximum 100; default 10.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "offset": {
              "default": 0,
              "description": "Result offset (next_offset of the previous page). The Discovery API stops at 10000 results.\n\nProvider reference: minimum 0; maximum 9999; default 0.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 9999,
                "min": 0
              }
            },
            "query": {
              "description": "Free-text search over dataset names, descriptions, columns and tags, e.g. `building permits`, `restaurant inspections`, `311`.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "region": {
              "default": "us",
              "description": "Discovery API region for an all-portal search (us: US/Canada/most portals; eu: European portals such as opendata.rdw.nl). With `domain` it is only the first region tried.\n\nProvider reference: allowed values [\"us\", \"eu\"]; default \"us\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "us",
                  "eu"
                ]
              }
            },
            "tags": {
              "description": "Portal tags; with `domain` these are the portal's own tags (e.g. `permits`).",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/socrata-com.json POST /apis/v1/socrata-com/open-data/search-datasets
openapi: 3.1.0
info:
  description: ''
  title: Socrata open-data portals
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    socrata-com:
      description: ''
      title: Socrata open-data portals
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 625f83db9201183eb89bace8adb584a6724e12d212fef3b0c7babc8d8a32dd58
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/socrata-com/open-data/describe-dataset
    - /apis/v1/socrata-com/open-data/query-dataset
    - /apis/v1/socrata-com/open-data/search-datasets
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:3dfb9a955563f2f34f1a891721ecdd7aebf6a6244e923909dd4fa86ed1093201
    facts_hash: 625f83db9201183eb89bace8adb584a6724e12d212fef3b0c7babc8d8a32dd58
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: socrata-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/socrata-com/open-data/search-datasets:
    post:
      tags:
        - Socrata open-data portals
      summary: Search datasets
      description: >-
        Start here for city, county or state open data (permits, inspections,
        311, code violations, business licenses, crime, property) when the
        dataset id is unknown. Then describe_dataset for the full column list
        and row count, and query_dataset for rows.
      operationId: socrata-com.open-data.search-datasets
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  domain: data.cityofchicago.org
                  limit: 3
                  query: building permits
            schema:
              additionalProperties: true
              properties:
                category:
                  description: >-
                    Category filter. With `domain`: the portal's own category
                    name (e.g. `Buildings`). Without: Socrata's global lowercase
                    categories (e.g. `public safety`).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                domain:
                  description: >-
                    Limit to one portal: hostname or URL
                    (data.cityofchicago.org). Verified as a Socrata domain (US
                    region first, then EU). Omit to search every public Socrata
                    portal in `region`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  default: 10
                  description: |-
                    limit

                    Provider reference: minimum 1; maximum 100; default 10.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                offset:
                  default: 0
                  description: >-
                    Result offset (next_offset of the previous page). The
                    Discovery API stops at 10000 results.


                    Provider reference: minimum 0; maximum 9999; default 0.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 9999
                    min: 0
                query:
                  description: >-
                    Free-text search over dataset names, descriptions, columns
                    and tags, e.g. `building permits`, `restaurant inspections`,
                    `311`.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                region:
                  default: us
                  description: >-
                    Discovery API region for an all-portal search (us:
                    US/Canada/most portals; eu: European portals such as
                    opendata.rdw.nl). With `domain` it is only the first region
                    tried.


                    Provider reference: allowed values ["us", "eu"]; default
                    "us".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - us
                      - eu
                tags:
                  description: >-
                    Portal tags; with `domain` these are the portal's own tags
                    (e.g. `permits`).
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-09T17:17:18Z.
                  summary: Official provider example
                  value:
                    count: 3
                    datasets:
                      - api_url: https://data.cityofchicago.org/resource/ydr8-5enu.json
                        attribution: City of Chicago
                        category: Buildings
                        column_count: 122
                        columns:
                          - datatype: Text
                            field_name: contact_12_name
                            name: CONTACT_12_NAME
                          - datatype: Text
                            field_name: contact_12_state
                            name: CONTACT_12_STATE
                          - datatype: Text
                            field_name: contact_11_type
                            name: CONTACT_11_TYPE
                          - datatype: Text
                            field_name: contact_6_city
                            name: CONTACT_6_CITY
                          - datatype: Text
                            field_name: contact_4_state
                            name: CONTACT_4_STATE
                          - datatype: Text
                            field_name: contact_6_zipcode
                            name: CONTACT_6_ZIPCODE
                          - datatype: Number
                            field_name: xcoordinate
                            name: XCOORDINATE
                          - datatype: Text
                            field_name: contact_11_zipcode
                            name: CONTACT_11_ZIPCODE
                          - datatype: Calendar date
                            field_name: application_start_date
                            name: APPLICATION_START_DATE
                          - datatype: Text
                            field_name: street_name
                            name: STREET_NAME
                          - datatype: Text
                            field_name: review_type
                            name: REVIEW_TYPE
                          - datatype: Text
                            field_name: contact_8_zipcode
                            name: CONTACT_8_ZIPCODE
                          - datatype: Text
                            field_name: contact_5_city
                            name: CONTACT_5_CITY
                          - datatype: Text
                            field_name: contact_11_name
                            name: CONTACT_11_NAME
                          - datatype: Text
                            field_name: contact_4_city
                            name: CONTACT_4_CITY
                          - datatype: Number
                            field_name: other_fee_subtotal
                            name: OTHER_FEE_SUBTOTAL
                          - datatype: Text
                            field_name: contact_14_zipcode
                            name: CONTACT_14_ZIPCODE
                          - datatype: Text
                            field_name: contact_3_name
                            name: CONTACT_3_NAME
                          - datatype: Text
                            field_name: contact_2_type
                            name: CONTACT_2_TYPE
                          - datatype: Number
                            field_name: building_fee_paid
                            name: BUILDING_FEE_PAID
                          - datatype: Number
                            field_name: census_tract
                            name: CENSUS_TRACT
                          - datatype: Text
                            field_name: contact_1_zipcode
                            name: CONTACT_1_ZIPCODE
                          - datatype: Text
                            field_name: id
                            name: ID
                          - datatype: Text
                            field_name: permit_
                            name: PERMIT#
                          - datatype: Text
                            field_name: contact_10_state
                            name: CONTACT_10_STATE
                          - datatype: Text
                            field_name: contact_4_type
                            name: CONTACT_4_TYPE
                          - datatype: Text
                            field_name: contact_1_type
                            name: CONTACT_1_TYPE
                          - datatype: Text
                            field_name: street_direction
                            name: STREET_DIRECTION
                          - datatype: Text
                            field_name: permit_condition
                            name: PERMIT_CONDITION
                          - datatype: Number
                            field_name: ':@computed_region_awaf_s7ux'
                            name: Historical Wards 2003-2015
                          - datatype: Number
                            field_name: ':@computed_region_43wa_7qmu'
                            name: Wards
                          - datatype: Number
                            field_name: ':@computed_region_bdys_3d7i'
                            name: Census Tracts
                          - datatype: Number
                            field_name: ':@computed_region_6mkv_f3dw'
                            name: Zip Codes
                          - datatype: Number
                            field_name: ':@computed_region_vrxf_vc4k'
                            name: Community Areas
                          - datatype: Number
                            field_name: zoning_fee_paid
                            name: ZONING_FEE_PAID
                          - datatype: Text
                            field_name: contact_15_name
                            name: CONTACT_15_NAME
                          - datatype: Point
                            field_name: location
                            name: LOCATION
                          - datatype: Text
                            field_name: contact_9_zipcode
                            name: CONTACT_9_ZIPCODE
                          - datatype: Number
                            field_name: processing_time
                            name: PROCESSING_TIME
                          - datatype: Text
                            field_name: contact_12_type
                            name: CONTACT_12_TYPE
                          - datatype: Text
                            field_name: contact_13_zipcode
                            name: CONTACT_13_ZIPCODE
                          - datatype: Text
                            field_name: contact_15_type
                            name: CONTACT_15_TYPE
                          - datatype: Text
                            field_name: contact_7_zipcode
                            name: CONTACT_7_ZIPCODE
                          - datatype: Text
                            field_name: contact_4_zipcode
                            name: CONTACT_4_ZIPCODE
                          - datatype: Text
                            field_name: contact_1_name
                            name: CONTACT_1_NAME
                          - datatype: Text
                            field_name: contact_1_state
                            name: CONTACT_1_STATE
                          - datatype: Text
                            field_name: contact_7_type
                            name: CONTACT_7_TYPE
                          - datatype: Text
                            field_name: contact_5_name
                            name: CONTACT_5_NAME
                          - datatype: Text
                            field_name: contact_7_state
                            name: CONTACT_7_STATE
                          - datatype: Number
                            field_name: building_fee_waived
                            name: BUILDING_FEE_WAIVED
                          - datatype: Number
                            field_name: ycoordinate
                            name: YCOORDINATE
                          - datatype: Text
                            field_name: contact_3_type
                            name: CONTACT_3_TYPE
                          - datatype: Number
                            field_name: street_number
                            name: STREET_NUMBER
                          - datatype: Text
                            field_name: contact_14_name
                            name: CONTACT_14_NAME
                          - datatype: Text
                            field_name: permit_type
                            name: PERMIT_TYPE
                          - datatype: Number
                            field_name: other_fee_waived
                            name: OTHER_FEE_WAIVED
                          - datatype: Text
                            field_name: contact_11_city
                            name: CONTACT_11_CITY
                          - datatype: Text
                            field_name: contact_9_name
                            name: CONTACT_9_NAME
                          - datatype: Text
                            field_name: contact_9_state
                            name: CONTACT_9_STATE
                          - datatype: Text
                            field_name: permit_milestone
                            name: PERMIT_MILESTONE
                          - datatype: Text
                            field_name: contact_8_state
                            name: CONTACT_8_STATE
                          - datatype: Text
                            field_name: contact_9_city
                            name: CONTACT_9_CITY
                          - datatype: Text
                            field_name: contact_15_state
                            name: CONTACT_15_STATE
                          - datatype: Number
                            field_name: longitude
                            name: LONGITUDE
                          - datatype: Text
                            field_name: contact_2_city
                            name: CONTACT_2_CITY
                          - datatype: Text
                            field_name: contact_4_name
                            name: CONTACT_4_NAME
                          - datatype: Text
                            field_name: contact_8_name
                            name: CONTACT_8_NAME
                          - datatype: Number
                            field_name: ward
                            name: WARD
                          - datatype: Text
                            field_name: contact_10_name
                            name: CONTACT_10_NAME
                          - datatype: Text
                            field_name: contact_10_type
                            name: CONTACT_10_TYPE
                          - datatype: Text
                            field_name: contact_10_zipcode
                            name: CONTACT_10_ZIPCODE
                          - datatype: Number
                            field_name: other_fee_unpaid
                            name: OTHER_FEE_UNPAID
                          - datatype: Number
                            field_name: building_fee_subtotal
                            name: BUILDING_FEE_SUBTOTAL
                          - datatype: Text
                            field_name: contact_5_type
                            name: CONTACT_5_TYPE
                          - datatype: Number
                            field_name: subtotal_paid
                            name: SUBTOTAL_PAID
                          - datatype: Text
                            field_name: contact_3_zipcode
                            name: CONTACT_3_ZIPCODE
                          - datatype: Text
                            field_name: contact_5_zipcode
                            name: CONTACT_5_ZIPCODE
                          - datatype: Number
                            field_name: zoning_fee_unpaid
                            name: ZONING_FEE_UNPAID
                          - datatype: Text
                            field_name: contact_2_name
                            name: CONTACT_2_NAME
                          - datatype: Number
                            field_name: zoning_fee_subtotal
                            name: ZONING_FEE_SUBTOTAL
                          - datatype: Text
                            field_name: contact_15_zipcode
                            name: CONTACT_15_ZIPCODE
                          - datatype: Text
                            field_name: contact_13_city
                            name: CONTACT_13_CITY
                          - datatype: Number
                            field_name: community_area
                            name: COMMUNITY_AREA
                          - datatype: Text
                            field_name: contact_5_state
                            name: CONTACT_5_STATE
                          - datatype: Text
                            field_name: work_description
                            name: WORK_DESCRIPTION
                          - datatype: Text
                            field_name: permit_status
                            name: PERMIT_STATUS
                          - datatype: Number
                            field_name: total_fee
                            name: TOTAL_FEE
                          - datatype: Text
                            field_name: contact_3_state
                            name: CONTACT_3_STATE
                          - datatype: Text
                            field_name: contact_2_zipcode
                            name: CONTACT_2_ZIPCODE
                          - datatype: Number
                            field_name: zoning_fee_waived
                            name: ZONING_FEE_WAIVED
                          - datatype: Text
                            field_name: contact_11_state
                            name: CONTACT_11_STATE
                          - datatype: Text
                            field_name: contact_7_city
                            name: CONTACT_7_CITY
                          - datatype: Text
                            field_name: work_type
                            name: WORK_TYPE
                          - datatype: Text
                            field_name: contact_2_state
                            name: CONTACT_2_STATE
                          - datatype: Number
                            field_name: subtotal_waived
                            name: SUBTOTAL_WAIVED
                          - datatype: Text
                            field_name: contact_6_name
                            name: CONTACT_6_NAME
                          - datatype: Number
                            field_name: other_fee_paid
                            name: OTHER_FEE_PAID
                          - datatype: Text
                            field_name: contact_12_city
                            name: CONTACT_12_CITY
                          - datatype: Text
                            field_name: contact_14_city
                            name: CONTACT_14_CITY
                          - datatype: Text
                            field_name: contact_3_city
                            name: CONTACT_3_CITY
                          - datatype: Number
                            field_name: building_fee_unpaid
                            name: BUILDING_FEE_UNPAID
                          - datatype: Text
                            field_name: contact_6_type
                            name: CONTACT_6_TYPE
                          - datatype: Text
                            field_name: contact_15_city
                            name: CONTACT_15_CITY
                          - datatype: Text
                            field_name: contact_1_city
                            name: CONTACT_1_CITY
                          - datatype: Text
                            field_name: pin_list
                            name: PIN_LIST
                          - datatype: Text
                            field_name: contact_8_city
                            name: CONTACT_8_CITY
                          - datatype: Text
                            field_name: contact_14_state
                            name: CONTACT_14_STATE
                          - datatype: Text
                            field_name: contact_10_city
                            name: CONTACT_10_CITY
                          - datatype: Text
                            field_name: contact_8_type
                            name: CONTACT_8_TYPE
                          - datatype: Text
                            field_name: contact_13_state
                            name: CONTACT_13_STATE
                          - datatype: Text
                            field_name: contact_12_zipcode
                            name: CONTACT_12_ZIPCODE
                          - datatype: Number
                            field_name: latitude
                            name: LATITUDE
                          - datatype: Number
                            field_name: ':@computed_region_rpca_8um6'
                            name: Boundaries - ZIP Codes
                          - datatype: Text
                            field_name: contact_13_type
                            name: CONTACT_13_TYPE
                          - datatype: Text
                            field_name: contact_9_type
                            name: CONTACT_9_TYPE
                          - datatype: Calendar date
                            field_name: issue_date
                            name: ISSUE_DATE
                          - datatype: Number
                            field_name: subtotal_unpaid
                            name: SUBTOTAL_UNPAID
                          - datatype: Number
                            field_name: reported_cost
                            name: REPORTED_COST
                          - datatype: Text
                            field_name: contact_7_name
                            name: CONTACT_7_NAME
                          - datatype: Text
                            field_name: contact_13_name
                            name: CONTACT_13_NAME
                          - datatype: Text
                            field_name: contact_6_state
                            name: CONTACT_6_STATE
                          - datatype: Text
                            field_name: contact_14_type
                            name: CONTACT_14_TYPE
                        created_at: '2011-09-30T12:00:08.000Z'
                        data_updated_at: '2026-10-09T12:06:53.000Z'
                        description: >-
                          This dataset includes information about building
                          permits issued by the City of Chicago from 2006 to the
                          present, excluding permits that have been voided or
                          revoked after issuance. Most types of permits are
                          issued subject to payment of the applicable permit
                          fee. Work under a permit may not begin until the
                          applicable permit fee is paid. For more information
                          about building permits, see
                          http://www.chicago.gov/permit.
                        domain: data.cityofchicago.org
                        download_count: 169458
                        id: ydr8-5enu
                        license: See Terms of Use
                        name: Building Permits
                        page_views_total: 5057250
                        permalink: https://data.cityofchicago.org/d/ydr8-5enu
                        tags:
                          - permits
                          - buildings
                        updated_at: '2026-10-09T12:06:53.000Z'
                      - api_url: https://data.cityofchicago.org/resource/icic-3jsa.json
                        attribution: City of Chicago
                        category: Administration & Finance
                        column_count: 7
                        columns:
                          - datatype: Text
                            field_name: corrections_denials
                            name: Corrections/Denials
                          - datatype: Text
                            field_name: year
                            name: Year
                          - datatype: Text
                            field_name: approvals
                            name: Approvals
                          - datatype: Number
                            field_name: average_number_of_days_to_schedule_appointment
                            name: Average Number of Days to Schedule Appointment
                          - datatype: Number
                            field_name: permit_plan_review
                            name: Permit Plan Review
                          - datatype: Number
                            field_name: average_number_of_plan_reviews_to_approval
                            name: Average Number of Plan Reviews to Approval
                          - datatype: Text
                            field_name: month
                            name: Month
                        created_at: '2011-08-16T14:55:27.000Z'
                        data_updated_at: '2013-02-01T18:08:58.000Z'
                        description: >-
                          Customers applying for a Building permit will create a
                          web-based on-line Building permit application. As part
                          of an initial review within the Building permit
                          process, the zoning plan examination will be conducted
                          to ensure compliance with the City of Chicago’s Zoning
                          Ordinance which regulates land use. The applicant is
                          able to schedule and be seen by a zoning plan examiner
                          on average within two (2) business days from the date
                          of the on-line application. An applicant may receive
                          zoning approval w…
                        domain: data.cityofchicago.org
                        download_count: 3352
                        id: icic-3jsa
                        license: null
                        name: >-
                          Performance Metrics - Housing & Economic Development -
                          Zoning Permit Scheduling And Review
                        page_views_total: 2645
                        permalink: https://data.cityofchicago.org/d/icic-3jsa
                        tags:
                          - permits
                          - zoning
                          - performance metrics
                        updated_at: '2013-02-01T18:09:05.000Z'
                      - api_url: https://data.cityofchicago.org/resource/4ygs-9x34.json
                        attribution: City of Chicago
                        category: Administration & Finance
                        column_count: 4
                        columns:
                          - datatype: Number
                            field_name: target
                            name: Target
                          - datatype: Text
                            field_name: week_text
                            name: Week - Text
                          - datatype: Calendar date
                            field_name: week
                            name: Week
                          - datatype: Number
                            field_name: average_days_to_permit
                            name: Average Days to Permit
                        created_at: '2011-09-27T13:37:32.000Z'
                        data_updated_at: '2014-08-04T20:46:22.000Z'
                        description: >-
                          The Department of Building (DOB) issues building
                          permits to give individuals, insurance companies,
                          neighbors and the City assurance that specific minimum
                          standards are met in constructing, repairing or
                          altering buildings by complying with the Chicago
                          Building Code. This metric tracks the average number
                          of days DOB takes to process Standard Plan Review
                          Program building permits, grouped by the week the
                          permit was processed. The target process time is
                          within 53 days. The Standard Plan Review Progra…
                        domain: data.cityofchicago.org
                        download_count: 6504
                        id: 4ygs-9x34
                        license: null
                        name: >-
                          Performance Metrics - Buildings - Time to Issue
                          Standard Plan Review Program Permits
                        page_views_total: 3042
                        permalink: https://data.cityofchicago.org/d/4ygs-9x34
                        tags:
                          - buildings
                          - permits
                          - performance metrics
                          - service delivery
                        updated_at: '2014-08-04T20:46:22.000Z'
                    domain: data.cityofchicago.org
                    next_offset: 3
                    observed_at_ms: 1791566238690
                    offset: 0
                    query: building permits
                    region: us
                    source_url: >-
                      https://api.us.socrata.com/api/catalog/v1?search_context=data.cityofchicago.org&domains=data.cityofchicago.org&only=dataset&q=building+permits&limit=3&offset=0
                    total_count: 19
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Search the Socrata catalog for datasets, across every public Socrata
            portal in a region or limited to one portal (`domain`), by free
            text, category and tags, paged with limit/offset (up to 100 per
            page). Each dataset has its 4x4 id, name, owning portal domain,
            plain-text description, category, tags, attribution, license,
            created/updated dates, the column field names and types, popularity,
            permalink and SODA API URL. A domain that no Socrata region serves
            fails with invalid_input not_socrata_portal; a search with no
            matches is a successful empty result.


            The response contains the tool result directly.


            The provider identifies `datasets` as the primary payload key.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `api_url` | string | SODA 2.1 endpoint
            https://<domain>/resource/<id>.json |

            | `attribution` | string | Publishing agency as stated by the
            portal. |

            | `category` | string | The portal's own category (domain_category),
            else Socrata's global category. |

            | `column_count` | number |  |

            | `columns` | object[] | Every column as field_name (the SoQL
            identifier), display name and Socrata type, in catalog order (not
            table order). |

            | `created_at` | string | ISO 8601. |

            | `data_updated_at` | string | ISO 8601, last data change. |

            | `description` | string | Plain-text description, HTML removed, cut
            at 500 characters. |

            | `domain` | string | Portal hostname that owns the dataset; use it
            as `portal`. |

            | `download_count` | number |  |

            | `id` | string | Socrata 4x4 dataset id; pass it with `domain` as
            portal to describe_dataset / query_dataset. |

            | `license` | string |  |

            | `name` | string |  |

            | `page_views_total` | number |  |

            | `permalink` | string | https://<domain>/d/<id> |

            | `tags` | string[] | Portal tags, at most 15. |

            | `updated_at` | string | ISO 8601, last metadata or data change. |



            These are the provider's documented fields. Field requiredness,
            nullability and nested object structures are specified only where
            the descriptions explicitly say so.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.