Georgia Commons Documents API

The documents API from Georgia Commons — 3 operation(s) for documents.

GitHub OpenAPI

Operations 3

GET /api/documents Documents Batch #
GET /api/documents/{ident} Document #
GET /api/pages Page #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/georgiacommons-org:georgiacommons-org-documents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

georgiacommons-org-documents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Georgia Commons Documents API
  description: 'Georgia''s public government documents as source text: search across every collection, documents and their Markdown twins, and grounded chat. A project of Georgia Civic Data; not affiliated with the State of Georgia.'
  version: 1.0.0
tags:
- name: Documents
paths:
  /api/documents:
    get:
      tags:
      - Documents
      summary: Documents Batch
      description: Several page records at once (the ids in order; an unknown id gets an error entry).
      operationId: documents_batch_api_documents_get
      parameters:
      - name: ids
        in: query
        required: true
        schema:
          type: string
          description: Comma-separated ids, at most 20.
          title: Ids
        description: Comma-separated ids, at most 20.
      - name: lang
        in: query
        required: false
        schema:
          enum:
          - en
          - es
          type: string
          default: en
          title: Lang
      - name: If-None-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-None-Match
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/documents/{ident}:
    get:
      tags:
      - Documents
      summary: Document
      description: A document's page record, or (by the last path segment) its twin, text, versions, links, children, or a part.
      operationId: document_api_documents__ident__get
      parameters:
      - name: ident
        in: path
        required: true
        schema:
          type: string
          title: Ident
      - name: lang
        in: query
        required: false
        schema:
          enum:
          - en
          - es
          type: string
          default: en
          title: Lang
      - name: start
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            minimum: 0
          - type: 'null'
          title: Start
      - name: max_chars
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
            maximum: 200000
            minimum: 1000
          - type: 'null'
          title: Max Chars
      - name: version
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Version
      - name: depth
        in: query
        required: false
        schema:
          type: integer
          maximum: 3
          minimum: 1
          default: 1
          title: Depth
      - name: vote
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Vote
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 5000
          minimum: 1
          default: 200
          title: Limit
      - name: full
        in: query
        required: false
        schema:
          type: boolean
          description: 'Twins: the whole record (a bill''s history and votes, a Code section''s printed notes)'
          default: false
          title: Full
        description: 'Twins: the whole record (a bill''s history and votes, a Code section''s printed notes)'
      - name: notes
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Code twins: `all` is the same as full=true'
          title: Notes
        description: 'Code twins: `all` is the same as full=true'
      - name: subsection
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: 'Code twins: one subsection anchor, such as a or a-1'
          title: Subsection
        description: 'Code twins: one subsection anchor, such as a or a-1'
      - name: If-None-Match
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-None-Match
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/pages:
    get:
      tags:
      - Documents
      summary: Page
      description: 'A site path (`/bills/2025-2026/hb136`, an old LegiScan or cluster address, a Vimeo id) to the

        document it shows: `{status: document|redirect|not_found, id, url}`.'
      operationId: page_api_pages_get
      parameters:
      - name: path
        in: query
        required: true
        schema:
          type: string
          maxLength: 500
          title: Path
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    PageResponse:
      properties:
        status:
          type: string
          title: Status
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        url:
          anyOf:
          - type: string
          - type: 'null'
          title: Url
        choices:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Choices
          default: []
      type: object
      required:
      - status
      title: PageResponse
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key