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

# Read one state register item

> The whole record of one register notice by `actId` (from a search hit): every metadata field, the full text
as `body`, the citations found in it (`crossReferences`), and the `previousActId` and `nextActId` printed
before and after it in the same issue.

`details` holds the fields only some registers print, under their own names: for example `trackingNumber`,
`department` and `hearingTime`, the rule's own PDF as `ruleUrl` (Arkansas lists each rule and links its
filed text, which `body` then includes), or `fetchedVia` and `archiveTs` when the text was read from an
Internet Archive copy of the official file (`sourceUrl` stays the official address). A key is present only
when the register states it. `updatedAt` is when this record last changed in our store, so a re-read after
a correction shows a later time.

`relatedNotices` lists the other notices of the same rulemaking (`rulemakingId`), oldest first: the
proposal an adoption follows, its hearing notices, a later adoption or withdrawal. It is filled where the
state's filing number names one rulemaking (Utah, Colorado, Idaho, Virginia, South Carolina, Michigan, New
Hampshire, Wyoming, Maine, Rhode Island, California, Montana, and New York, Maryland, Nevada and Arkansas
without the number's stage suffix) and empty elsewhere.

**Cost**: 2 credits. An unknown `actId` is a 404 and is refunded; a failure on our side (500, 503) is
refunded. An `actId` that is not a register item is a 422 and is never charged.

```bash
curl "https://api.vaquill.ai/api/v1/us/registers/items/SREGISTER_TX_V51_P7864" -H "Authorization: Bearer vq_key_..."
```



## OpenAPI

````yaml https://api.vaquill.ai/external/openapi.json get /api/v1/us/registers/items/{actId}
openapi: 3.1.0
info:
  title: Vaquill Developer API
  description: >-
    Public API for legal statutes and legislation.


    **Authentication**: Pass your API key as `Authorization: Bearer vq_key_...`
    (preferred) or in the `X-API-Key` header. Sending two different keys in one
    request is rejected with a 401.


    **Credits**: Each call costs API credits. See `GET
    /api/v1/api-credits/pricing` for the full pricing matrix.


    ## Jurisdictions


    | Jurisdiction | Coverage | `countryCode` |

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

    | **United States** | USC and the Statutes at Large, the CFR and its annual
    editions, all 56 state and territory statutory codes (50 states, DC and five
    territories), state administrative regulations, court rules, federal and
    state constitutions, federal agency guidance and adjudications, the Federal
    Register, the Sentencing Guidelines and US tax treaties. | `US` |


    See the full [Coverage page](https://www.vaquill.ai/docs/api-guide/coverage)
    for the jurisdiction-by-jurisdiction breakdown, or call
    `/us/statutes/coverage` for live counts. Coverage is per (jurisdiction,
    corpusType) pair, so treat that endpoint as the authoritative list rather
    than this summary.


    ## Endpoints


    - **US Statutes**: Search and retrieve any of the corpora above with full
    text, resolve a citation to its exact section, browse the statutory
    hierarchy, read a section as it stood on a past date, and follow its change
    history, cross-references and defined terms

    - **Board Watches**: Subscribe to a corpus source and get a webhook or email
    when it refreshes with real changes (free, API key required)

    - **Pricing**: Credit costs per endpoint (no auth required)


    ## Rate limits


    Limits are enforced per API key and scale with your plan. A `429` response
    includes a `Retry-After` header.


    | Plan | Per minute | Per hour | Per day |

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

    | No API plan (pay as you go, trial keys) | 30 | 500 | 1,000 |

    | Vaquill API Pro | 60 | 1,000 | 2,000 |

    | Vaquill API Business | 150 | 2,500 | 10,000 |


    For full documentation, visit the [API
    Reference](https://www.vaquill.ai/docs/api-reference/).
  version: 1.0.0+368f2984411f1e9f
  contact:
    name: Vaquill API Support
    url: https://www.vaquill.ai
    email: support@vaquill.ai
  license:
    name: Proprietary
    url: https://www.vaquill.ai/terms
  termsOfService: https://www.vaquill.ai/terms
  x-revision: 368f2984411f1e9f
servers:
  - url: https://api.vaquill.ai
    description: Production
security:
  - ApiKeyAuth: []
  - ApiKeyHeader: []
tags:
  - name: US Statutes
    description: >-
      Search and retrieve US law. Covers the United States Code and the Statutes
      at Large, the Code of Federal Regulations and its annual editions, state
      statutory codes and administrative regulations, federal and state
      constitutions, court rules, Federal Register rules and Presidential
      documents, federal and state agency guidance, agency adjudications, state
      Attorney General opinions, the Sentencing Guidelines and US tax treaties.
      Scope a search with the `corpusType` filter, and call
      `/us/statutes/coverage` for the live jurisdiction-by-corpusType list.


      - **Search**: Search across all USC, CFR, state, and regulatory sections

      - **Section**: Get metadata, citation, hierarchy, and source links for a
      specific section

      - **Body**: Get the full text of a section

      - **Enactments**: Which state session laws a publisher's own tables list
      against a section (supported jurisdictions only, never a complete history)
  - name: US Session Laws
    description: >-
      State session laws: the acts of each legislature as they were enacted,
      chapter by chapter, before they are folded into a code. A session law is
      what the governor signs. It carries the act's own text, including the
      language it strikes and inserts, its approval and effective dates, and,
      where the publisher prints one, the code sections it changes. That makes
      it the source for "which act changed this section, and when did it take
      effect".


      Every act has a permanent `sessionLawId` (for example
      `SSL_MN_2025R_G_Y2025_C1`, Minnesota Laws 2025, regular session, chapter
      1) whether or not we hold its text, and a citation or bill number such as
      `S.F.No. 1552` is accepted where an id goes. v1 serves STATE acts only.
      Federal session laws (the Statutes at Large, `SAL_` ids) are served by
      `/us/statutes/section`, and `/us/statutes/resolve` points a session-law
      citation here.


      **Start here**: check `/us/statutes/coverage` (free) for what we hold per
      state: each jurisdiction's `sessionLaws` block lists its sessions, which
      are complete or only partly collected, and the `series` and
      `instrumentTypes` that exist. Then **List** a session or a date range to
      get ids, **Get** one act for its record, then **Body** for its text. A law
      missing from a partly collected session is a free 404
      (`session_not_fully_collected`), not proof it does not exist.


      - **List**: everything enacted in a state's session, approved in a window,
      or taking effect on a date

      - **Get**: one act by id or by citation; dates (`effectiveDates` is always
      a list), sources and the code sections it affects

      - **Body**: the act's text as printed, paged by cursor, with amendatory
      markup preserved where the publisher printed it

      - **Batch**: up to 50 ids or citations in one call, the same record as
      Get, billed per law served, with every miss listed and its reason

      - **Changes**: a sync feed of the registry over an integer cursor
      (`sinceId`): what began to be served, was corrected, withdrawn or merged


      The reverse link, from a code section to the acts a publisher's own tables
      list against it, is `GET /us/statutes/section/{actId}/enactments`.
  - name: US Case Law
    description: >-
      US court decisions and their text. A decision has a permanent `caseId`,
      one or more opinions (majority, concurrence, dissent) with their own
      `opinionId`, reporter citations, the court and the judges. Search is full
      text over opinion text with court, state, date, publication status and
      judge filters; a citation such as `410 U.S. 113` resolves to its case.


      - **Search**: best match first, one result per case, paginated; each hit
      carries up to 3 passages (`passages`) with character offsets into the
      opinion text

      - **Case**: metadata, citations, panel and the list of opinions

      - **Opinion**: the text as `html` (our markup, citations to cases we hold
      carry their `caseId`) or `text`

      - **Citations**: the citation graph in either direction (`direction=cites`
      or `cited_by`), paginated

      - **Case list**: `GET /us/cases/list`, a filter-only list by court, state,
      judge and date with a cursor

      - **Resolve / batch**: citations to cases (or a whole document in `text`,
      each citation returned with its place in it), several cases in one call
      (`POST /us/cases/batch`) and several opinions in one call (`POST
      /us/opinions/batch`)

      - **Outcome**: every case row carries `outcome`, a one-word reading of the
      printed disposition (`affirmed`, `reversed`, `vacated`, `remanded`,
      `affirmed_in_part`, `reversed_in_part`, `dismissed`, `granted`, `denied`,
      `other`)

      - **Courts and judges**: the free registry of courts (add
      `include=coverage` for what we hold per court) and judge profiles (add
      `include=stats` for case counts by year, court, role and outcome)
  - name: US Rulemaking
    description: >-
      How a federal rule is made, as public records tied together by its
      Regulation Identifier Number (RIN): the semiannual Unified Agenda (every
      edition from Fall 1995), the OIRA regulatory review (Executive Order 12291
      until 1993, 12866 since), the Regulations.gov docket and its documents,
      and the Federal Register documents that proposed and finalised it.


      **Start here**: `GET /us/rulemaking/coverage` (free) lists what is held
      per source and whether each is fresh. Then **By RIN** for everything held
      for one rule, **Agenda history** for how its timetable moved edition by
      edition, or **Dockets** and **Documents** for the Regulations.gov side.


      Every link between sources carries its `basis` and `quality` (`verified`,
      `candidate`, `ambiguous`). A link we could not make with confidence is
      marked, never guessed, and an umbrella RIN shared by unrelated rules
      claims no proposal-to-final pairing. A comment count of `null` means not
      measured, never zero. Comment text, attachments and commenter information
      are not held or served.
  - name: Board Watches
    description: >-
      Law-change alerts. Subscribe to a **board** (a tracked corpus source,
      identified by `corpusType` plus an optional `state`) and get a webhook or
      email whenever it refreshes with real changes, naming the exact sections
      that changed. Fetch old-vs-new text for any amended section via the change
      diff.


      Boards refresh on their own existing cadence; watching one does not change
      how often it refreshes. Every endpoint here is **free**: authenticated by
      API key and rate-limited, but not credit-metered.


      See the [Law Change Alerts
      guide](https://www.vaquill.ai/docs/api-guide/alerts) for the full
      walkthrough.
  - name: Pricing
    description: >-
      Credit pricing and conversion rates. No authentication required. 1 credit
      = $0.01 USD.
  - name: Agent Onboarding
    description: >-
      How an AI agent gets an API key for its human, with no copy and paste.
      Free and keyless. The agent starts a signup, the human approves a short
      code while signed in, and the agent collects an ordinary API key. Full
      walkthrough: https://api.vaquill.ai/auth.md
  - name: Credits
    description: >-
      Your own credit balance: what is spendable right now, where it came from,
      and what is about to expire.


      Free and never charged, so it is safe to poll for low-balance alerting or
      to pre-flight a batch job.
externalDocs:
  description: Full API Reference
  url: https://www.vaquill.ai/docs/api-reference/
paths:
  /api/v1/us/registers/items/{actId}:
    get:
      tags:
        - US State Registers
      summary: Read one state register item
      description: >-
        The whole record of one register notice by `actId` (from a search hit):
        every metadata field, the full text

        as `body`, the citations found in it (`crossReferences`), and the
        `previousActId` and `nextActId` printed

        before and after it in the same issue.


        `details` holds the fields only some registers print, under their own
        names: for example `trackingNumber`,

        `department` and `hearingTime`, the rule's own PDF as `ruleUrl`
        (Arkansas lists each rule and links its

        filed text, which `body` then includes), or `fetchedVia` and `archiveTs`
        when the text was read from an

        Internet Archive copy of the official file (`sourceUrl` stays the
        official address). A key is present only

        when the register states it. `updatedAt` is when this record last
        changed in our store, so a re-read after

        a correction shows a later time.


        `relatedNotices` lists the other notices of the same rulemaking
        (`rulemakingId`), oldest first: the

        proposal an adoption follows, its hearing notices, a later adoption or
        withdrawal. It is filled where the

        state's filing number names one rulemaking (Utah, Colorado, Idaho,
        Virginia, South Carolina, Michigan, New

        Hampshire, Wyoming, Maine, Rhode Island, California, Montana, and New
        York, Maryland, Nevada and Arkansas

        without the number's stage suffix) and empty elsewhere.


        **Cost**: 2 credits. An unknown `actId` is a 404 and is refunded; a
        failure on our side (500, 503) is

        refunded. An `actId` that is not a register item is a 422 and is never
        charged.


        ```bash

        curl
        "https://api.vaquill.ai/api/v1/us/registers/items/SREGISTER_TX_V51_P7864"
        -H "Authorization: Bearer vq_key_..."

        ```
      operationId: get_register_item
      parameters:
        - name: actId
          in: path
          required: true
          schema:
            type: string
            minLength: 12
            maxLength: 200
            pattern: ^SREGISTER_[A-Za-z0-9][A-Za-z0-9._-]*$
            description: >-
              The item id, from a search hit's `actId`
              (`SREGISTER_TX_V51_P7864`).
            examples:
              - SREGISTER_TX_V51_P7864
            title: Actid
          description: The item id, from a search hit's `actId` (`SREGISTER_TX_V51_P7864`).
        - name: Idempotency-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
                minLength: 16
                maxLength: 255
                pattern: ^[\x21-\x7e]+$
              - type: 'null'
            description: >-
              Optional. 16 to 255 visible ASCII characters (a UUIDv4 works).
              Repeating the same request with the same key replays the original
              2xx response for 24 hours without charging again. The same key on
              a different request is rejected. With the account's
              `cacheQueryDerivedData` retention setting off, no body is stored
              and a retry answers 409 `idempotency_replay_unavailable`, still
              without a second charge.
            examples:
              - 3f9c2a1e-7b44-4d0a-9c1e-5a6b7c8d9e0f
            title: Idempotency-Key
          description: >-
            Optional. 16 to 255 visible ASCII characters (a UUIDv4 works).
            Repeating the same request with the same key replays the original
            2xx response for 24 hours without charging again. The same key on a
            different request is rejected. With the account's
            `cacheQueryDerivedData` retention setting off, no body is stored and
            a retry answers 409 `idempotency_replay_unavailable`, still without
            a second charge.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RegisterItemResponse'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '401':
          description: Missing, invalid or revoked API key. Not charged.
          content:
            application/json:
              example:
                detail: Invalid or expired API key
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '402':
          description: Insufficient credits. Nothing was done.
          content:
            application/json:
              example:
                detail: Insufficient credits
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '403':
          description: The API key lacks the `research:read` scope. Not charged.
          content:
            application/json:
              example:
                detail: Insufficient permissions for this operation
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '404':
          description: No register item has this `actId`. Refunded.
          content:
            application/json:
              example:
                detail: Register item not found
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '409':
          description: >-
            Idempotency conflict. `idempotency_in_progress`: the original
            request with this key is still running (retry after `Retry-After`).
            `idempotency_replay_unavailable`: it completed but its response was
            not kept (too large, or the account's data retention setting), so it
            cannot be replayed; nothing is charged again, so check the credit
            balance instead of retrying. Read the top-level `code`; `detail` is
            the message string, as on every other error. A replayed response
            reports `creditsConsumed: 0`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '422':
          description: >-
            A parameter failed validation: `actId` that is not a register item
            id (`SREGISTER_...`). Never charged. `idempotency_key_reused`: the
            `Idempotency-Key` was already used with a different request (another
            body, path or method). Not charged.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDetailError'
              example:
                detail: Invalid request parameters
                errors:
                  - loc:
                      - body
                    msg: Value error, narrow the search with `states` or `query`
                    type: value_error
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '429':
          description: Rate limit exceeded for your key. Not charged.
          content:
            application/json:
              example:
                detail: Rate limit exceeded. Try again in 12 seconds.
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
        '500':
          description: An unexpected failure on our side. The charge is refunded.
          content:
            application/json:
              example:
                detail: Internal server error
              schema:
                $ref: '#/components/schemas/ApiDetailError'
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
        '503':
          description: >-
            The registers database is unavailable. The charge is refunded.
            Retry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDetailError'
              example:
                detail: >-
                  The registers database is temporarily unavailable. Please
                  retry.
          headers:
            X-RateLimit-Limit:
              $ref: '#/components/headers/X-RateLimit-Limit'
            X-RateLimit-Remaining:
              $ref: '#/components/headers/X-RateLimit-Remaining'
            X-RateLimit-Reset:
              $ref: '#/components/headers/X-RateLimit-Reset'
            X-RateLimit-Limit-Day:
              $ref: '#/components/headers/X-RateLimit-Limit-Day'
            X-RateLimit-Remaining-Day:
              $ref: '#/components/headers/X-RateLimit-Remaining-Day'
            X-RateLimit-Limit-Hour:
              $ref: '#/components/headers/X-RateLimit-Limit-Hour'
            X-RateLimit-Remaining-Hour:
              $ref: '#/components/headers/X-RateLimit-Remaining-Hour'
            X-RateLimit-Reset-Day:
              $ref: '#/components/headers/X-RateLimit-Reset-Day'
            X-RateLimit-Scope:
              $ref: '#/components/headers/X-RateLimit-Scope'
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
components:
  schemas:
    RegisterItemResponse:
      properties:
        actId:
          type: string
          title: Actid
          description: Stable id of the item; read it at `GET /us/registers/items/{actId}`.
        state:
          type: string
          title: State
          description: Two-letter state code, lower case.
        registerName:
          type: string
          title: Registername
          description: '`Texas Register`.'
        volume:
          type: string
          title: Volume
          description: Volume as printed.
        issue:
          type: string
          title: Issue
          description: Issue number as printed; empty when the register has none.
          default: ''
        issueDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Issuedate
          description: Issue date, or null when the publisher prints none.
        issueDatePrecision:
          anyOf:
            - type: string
              enum:
                - day
                - month
            - type: 'null'
          title: Issuedateprecision
          description: '`month` when only the month is known.'
        pageStart:
          anyOf:
            - type: integer
            - type: 'null'
          title: Pagestart
          description: First printed page.
        pageEnd:
          anyOf:
            - type: integer
            - type: 'null'
          title: Pageend
          description: Last printed page.
        citation:
          anyOf:
            - type: string
            - type: 'null'
          title: Citation
          description: '`51 TexReg 7864`: the register''s citation form.'
        title:
          type: string
          title: Title
          description: The notice heading.
        agency:
          anyOf:
            - type: string
            - type: 'null'
          title: Agency
          description: Issuing agency.
        noticeType:
          anyOf:
            - type: string
            - type: 'null'
          title: Noticetype
          description: The publisher's own notice kind.
        ruleAction:
          anyOf:
            - type: string
            - type: 'null'
          title: Ruleaction
          description: >-
            `proposed`, `adopted`, `emergency`, `withdrawn`, `notice`,
            `executive_order` or `other`.
        docNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Docnumber
          description: The printed filing number, when the register prints one.
        rulemakingId:
          anyOf:
            - type: string
            - type: 'null'
          title: Rulemakingid
          description: >-
            The rulemaking this notice belongs to, shared by its proposal,
            hearing notice, adoption and emergency rule. Set only where the
            state's `docNumber` names one rulemaking: the number itself (Utah,
            Colorado, Idaho, Virginia, South Carolina, Michigan, New Hampshire,
            Wyoming, Maine, Rhode Island, California, Montana) or the number
            without its stage suffix (New York `PSC-52-16-00003-P` is
            `PSC-52-16-00003`; Maryland, Nevada, Arkansas). Null elsewhere.
          examples:
            - PSC-52-16-00003
            - '55510'
        effectiveDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Effectivedate
          description: Effective date stated in the notice.
        commentDeadline:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Commentdeadline
          description: Last day to comment.
        commentDeadlineDerived:
          type: boolean
          title: Commentdeadlinederived
          description: >-
            True when we computed the deadline (publication date plus the
            statutory period) rather than reading it.
          default: false
        hearingDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Hearingdate
          description: Public hearing date.
        filingDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Filingdate
          description: Date the agency filed the notice.
        affectedRules:
          items:
            type: string
          type: array
          title: Affectedrules
          description: Rule citations the notice touches (`16 TAC §3.1`).
        statutoryAuthority:
          items:
            type: string
          type: array
          title: Statutoryauthority
          description: Statutes cited as authority.
        sourceUrl:
          anyOf:
            - type: string
            - type: 'null'
          title: Sourceurl
          description: >-
            The publisher's document. Null when the only link is a commercial
            platform's.
        bodyChars:
          anyOf:
            - type: integer
            - type: 'null'
          title: Bodychars
          description: Length of the full text in characters.
        coarseBoundaries:
          type: boolean
          title: Coarseboundaries
          description: >-
            True when the item is a whole printed section, an unlisted page run
            or a whole issue rather than one notice: the register prints no
            boundary to cut it at. Its dates and agency may describe only one of
            the notices it holds.
          default: false
        bodyUnavailable:
          type: boolean
          title: Bodyunavailable
          description: True when the text is held as an image only and `body` is empty.
          default: false
        snippet:
          anyOf:
            - type: string
            - type: 'null'
          title: Snippet
          description: >-
            Text around the matched words, `<b>` around each; null without a
            `query`.
        body:
          anyOf:
            - type: string
            - type: 'null'
          title: Body
          description: Full text. Present only when the request set `includeBody`.
        year:
          anyOf:
            - type: integer
            - type: 'null'
          title: Year
          description: Publication year.
        registerCite:
          anyOf:
            - type: string
            - type: 'null'
          title: Registercite
          description: The register's own printed cite.
        citePage:
          anyOf:
            - type: string
            - type: 'null'
          title: Citepage
          description: >-
            The page token the citation and `actId` print: a printed page
            (`7001`) or, where the register has no page, the publisher's own
            position token (Oregon `F101201712111409`, Nevada `E001-00`, North
            Dakota `100-02-01`). Null when the citation points at `pageStart`.
          examples:
            - '7001'
            - F101201712111409
        crossReferences:
          additionalProperties: true
          type: object
          title: Crossreferences
          description: >-
            Citations found in the notice, grouped by kind (statutes, rules,
            other register items).
        bodySha256:
          anyOf:
            - type: string
            - type: 'null'
          title: Bodysha256
          description: SHA-256 of `body` as stored.
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Publisher facts that only some registers print, under their own
            names: `department`, `trackingNumber`, `hearingTime`,
            `expirationDate`, `stage` (Nevada), `section`, `category`,
            `subCategory`, `archiveDate` (Alaska), `waybackCapture` (Maryland,
            the text came from a web archive capture), `ruleType`, `ruleStatus`,
            `agencyCode`, `typeOfRule`, `agOpinionDate`, `regulationNumber`,
            `division`, `ruleId` and `ruleIds` (the rule's id in the state's own
            rule tracker, Vermont and South Dakota), `interimCommitteeDate`
            (South Dakota), `departmentCode`, `ruleChanges` and
            `effectiveDateRaw` (Hawaii), `attachments` (Alaska, the attached
            documents' names), `promulgatedUnder`, `ruleUrl` (the rule's own
            document: the Arkansas rule PDF, the South Dakota rule tracker
            page), `agencyRuleUrl` (Vermont, the agency's own page for the
            rule), `progressStatus` (Connecticut), `committee` and
            `referralDate` (Guam), `allFilingNumbers` and `ruleChange` (Maine),
            `documentNumber` (New Hampshire: the document an adopted or
            emergency rule is filed under; `docNumber` stays the notice number
            it closes), `chapter` (Oregon), `noticeOfIntentDate`,
            `filedWithSosDate`, `governorActionDate`, `lsoReviewDate`,
            `withdrawnDate`, `reportUrl` and `natureOfRules` (Wyoming, the steps
            of a rule packet and the Legislative Service Office review report),
            `finalFiledDate` and `finalEffectiveDate` (Mississippi: a proposal's
            outcome from the Secretary of State's bulletin record, the date the
            final rule was filed and took effect; `withdrawnDate` there is the
            date the proposal was withdrawn), `fetchedVia` and `archiveTs` (text
            read from an Internet Archive copy of the official file),
            `proposalCite`, `proposalDate`, `ruleSections`, `proclamationNumber`
            and `dateAdopted` (Illinois: the proposal an adopted rule cites,
            each section the notice changes, the proclamation number),
            `docketNumber`, `ruleTitle`, `contactPerson` and `contactPhone`
            (Arkansas, the listing record), `subject` and `ruleHeadings`
            (Georgia: the chapter's subject and each changed rule's heading),
            `effectiveDateDerived` (District of Columbia: true when
            `effectiveDate` is the publication date because the notice says the
            rule takes effect on publication), `errata` (Virginia: true when the
            notice corrects an earlier notice), `bodySource` (Oregon: `pdf` when
            the body is the notice's own document, `index` when the notice has
            no document and the body is the Bulletin's index entry),
            `sourceText` (New Jersey, September 1969 to June 1995: `State
            Library OCR`, the body is the State Library's OCR of the scanned
            issue, so expect recognition errors), `piiRedactions` (personal
            identifiers removed from the body before it is served: the rule and
            the count), `dateFlags` (Georgia: each printed date judged
            implausible and left out of the date fields, with the printed
            value), `trackerEffectiveDate`, `trackerFilingDate`,
            `trackerHearingDate` and `trackerCommentDeadline` (South Dakota: the
            rule tracker's own date where the notice prints another),
            `boundaryNote` (California: why the notice's boundaries are
            approximate), `mergedTitles` (Maryland: the titles of further
            documents printed under the same heading and merged into this item),
            `chapterTitle`, `formPages`, `filingIndex`, `pdfPageStart`,
            `pdfPageEnd`, `pageUnprinted`, `emergencyBasis` and
            `emergencyExpires` (Massachusetts filed regulations: the chapter's
            title, pages the form spans, its place in the issue's filing index,
            the PDF pages it sits on, true when the form prints no folio so
            `pageStart` is null, and for an emergency regulation the stated
            basis and expiry date), `proposalWsr` (Washington: the WSR number of
            the proposal an adopted rule closes), `status` and `amendedBy`
            (Puerto Rico: where the registered regulation stands, repealed ones
            included, and the numbers of the regulations that amended it). How
            complete the body is: `ruleTextIncluded` (Alabama, Arkansas, Rhode
            Island, Wyoming: true when the rule's own text is appended after the
            notice), `attachmentsUnreadable` and `attachmentsNotFetched`
            (Alaska: attachments that are scans with no text layer, and
            attachments that could not be downloaded; neither is in the body),
            `scannedDocuments` (Connecticut: documents of the notice that are
            scans with no text layer, not in the body), `textlessPages`
            (Massachusetts: pages of the item whose text is an image only, not
            in the body), `deletedTextRuns` (Delaware: how many `[DELETED: ...]`
            runs the body carries, the struck text kept inline). `segment`,
            `noticeCount`, `noticeIndex` and `splitNote` (Massachusetts: the
            Prospective Regulations entry is served as its `summary_table` plus
            one `notice` item per printed notice; the entry's notice count, this
            notice's place in it, and why an entry was kept whole),
            `pageLocated` (Texas: `fallback` when no text of the notice was
            found on a page, so `pageStart` and `pageEnd` repeat the previous
            notice's end page and are not evidenced; Louisiana's current-year
            Word edition and Alabama's filings: `none`, no printed page exists,
            so `pageStart` and `pageEnd` are null and `citePage` is the filing
            token), `provisional` (Louisiana: true for an item read from the
            current year's Word edition; the archive PDF's page-cited item
            replaces it when the Office publishes the volume), `ruleNumber` and
            `docketNote` (Idaho: the IDAPA rule chapter, e.g. `16.02.12`, and
            the docket's printed note, e.g. `New Chapter`), `pageStartImplied`
            (Massachusetts: true when the start page prints no folio and is
            implied by the pages around it), `titleDerived` (any state: true
            when the register printed no heading that could be read and `title`
            is the first line of the body). `hearingDates` and
            `noticePublicationDate` (Oregon: every hearing the notice schedules,
            `hearingDate` being the first, and the date the rule's notice was
            first published, in an earlier Bulletin), `agencies` and
            `actionLabels` (Alabama: every agency a filing names and the
            Register's own action wording, e.g. `Proposed Amended Rules`),
            `reportTextIncluded` (Wyoming: true when the Legislative Service
            Office review report's text is in the body), `ocr` (the body is OCR
            text: `true` for the publisher's own OCR, Northern Mariana Islands,
            or the engine used, `tesseract`; expect recognition errors) and
            `sourceNote` (the publisher's own caveat about its text),
            `pagesFolioImplied` (Illinois: printed pages of the item whose
            running head is missing from the text layer, so their folio is
            implied by the headed pages around them), `agencyInferredFrom`
            (Wisconsin: where `agency` came from when the notice does not print
            it), `changeCode` (New Mexico: the code the Register prints beside
            each adopted rule, `A` amended, `N` new, `R` repealed, `Rn`
            renumbered, `E` emergency, joined as `A/E`), `scannedPagesInIssue`
            (District of Columbia: pages of the item's issue that are scans with
            no text layer, whose text is in no item), `kind` (Oregon and
            Georgia: `rule`, `executive_order` or `notice`), `pageCount`
            (Kansas, Alabama, Tennessee: the printed pages the item spans),
            `headingPage` (Kentucky: the page the heading is printed on),
            `fileYear` (Nevada, Wyoming: the year of the publisher's file the
            item was read from), `textQuality` (Northern Mariana Islands: a 0 to
            1 score of how clean the OCR text is, higher is cleaner),
            `indexAgency`, `indexTitle` and `titlePageRange` (the register's own
            index entry for the notice) `language` (Connecticut), `agencyId`
            (Iowa: the agency code the Bulletin prints), `coverageNote`
            (California: the register holds proposed action only, adopted text
            is in the Code of Regulations), `contentsAgency` (South Carolina:
            the agency the contents page lists), `contentsDocket` (Idaho: the
            docket number the contents page lists, when it differs from the
            notice's own `docNumber`), `iacTitle` and `documentTypeCode`
            (Indiana: the Indiana Administrative Code title the document belongs
            to, and the type code its Indiana Register document id ends in, e.g.
            `AFA` or `ERA`), `alsoIndexedAs` (Northern Mariana Islands: further
            index entries the register prints for the same notice, authority and
            title) and `issueDateInferredFrom` (Wyoming: the rule packet step
            `issueDate` was taken from when the packet prints no filing date,
            e.g. `lso_review_date`). Page numbers and body completeness:
            `printedDocNumber` (Kansas: the Doc. No. as the Register printed it,
            when that is a typo and `docNumber` is the corrected number),
            `missingSections` and `unreadSections` (New York archive copies:
            comma-separated sections of the issue the archive lacks, or holds
            but could not be read), `noticeDocument` (Connecticut: the document
            of the issue the notice is printed in), `pageRepairedFrom`
            (California and Northern Mariana Islands: the page the notice's page
            number was repaired from), `pagesReordered`, `pdfPageRangesMoved`
            and `pagesWithoutFolio` (Massachusetts: the issue's PDF pages were
            out of order and put back, which PDF page ranges moved, and how many
            pages of the notice print no folio), `bodyFromPdf` (Wisconsin: true
            when the body was read from the notice's PDF), `titleInferredFrom`
            (Nevada: where the title came from when the index row printed none)
            and `issueDateAsPrinted` (the issue date as the register prints it,
            when that is not a valid date and so is absent from `issueDate`),
            `printedCite` (New Jersey: the citation as the Register prints it),
            `textNotHeld` (Washington: true when the filing is listed in the
            register but its text is not held), `pageFoundBy` (Texas: how the
            page numbers were found, from the issue's text layer or the portal)
            and `pdfPages` (West Virginia: the first and last page of the notice
            in the issue's PDF). Texas: `bodySource` is `pdf` (the Register
            issue's text layer) or `portal_ocr` (the archive portal's OCR of the
            page, expect recognition errors). Only keys the item has appear.
        updatedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Updatedat
          description: When this record was last changed in our store (UTC).
        firstIngestedAt:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Firstingestedat
          description: >-
            When this notice first entered our store (UTC). It never changes on
            a correction.
        previousActId:
          anyOf:
            - type: string
            - type: 'null'
          title: Previousactid
          description: The item printed just before this one in the same issue.
        nextActId:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextactid
          description: The item printed just after this one in the same issue.
        relatedNotices:
          items:
            $ref: '#/components/schemas/RelatedNotice'
          type: array
          title: Relatednotices
          description: >-
            The other notices of this item's rulemaking (`rulemakingId`), oldest
            first, at most 25: the proposal an adoption follows, its hearing
            notices, a later adoption or withdrawal. Empty when `rulemakingId`
            is null or the rulemaking has no other notice held.
        creditsConsumed:
          type: integer
          title: Creditsconsumed
          description: Credits kept for this call.
        processingTimeMs:
          type: number
          title: Processingtimems
          description: Server time in milliseconds.
      type: object
      required:
        - actId
        - state
        - registerName
        - volume
        - title
        - creditsConsumed
        - processingTimeMs
      title: RegisterItemResponse
      description: >-
        The whole record: every hit field plus text, cross references and issue
        neighbours.
    ApiDetailError:
      properties:
        detail:
          type: string
          title: Detail
          description: >-
            Human-readable reason, safe to surface to an end user. Branch on the
            HTTP status rather than on this string: the wording is not part of
            the contract and may be reworded, but 401 (bad key), 402 (out of
            credits), 403 (missing scope), 404 (no such resource) and 429 (rate
            limited) are stable.
          examples:
            - Insufficient API credits.
        errors:
          anyOf:
            - items:
                $ref: '#/components/schemas/ApiFieldError'
              type: array
            - type: 'null'
          title: Errors
          description: 'Present on 422 only: every field that failed validation.'
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
          description: >-
            Stable machine code for the failure. Branch on this, not on
            `detail`. The set is open: tolerate values you do not know. Known
            values: authentication_required, invalid_api_key, api_key_expired,
            agent_trial_expired, permission_denied, insufficient_scope,
            insufficient_credits, payment_required, rate_limited,
            quota_exceeded, daily_cap_exceeded, bad_request, validation_error,
            method_not_allowed, payload_too_large, unsupported_media_type,
            invalid_query, invalid_citation_input, section_not_found,
            resource_not_found, idempotency_key_reused, idempotency_in_progress,
            idempotency_replay_unavailable, resource_gone, bad_gateway,
            upstream_timeout, service_unavailable, internal_error, conflict.
          examples:
            - insufficient_credits
          x-known-values:
            - authentication_required
            - invalid_api_key
            - api_key_expired
            - agent_trial_expired
            - permission_denied
            - insufficient_scope
            - insufficient_credits
            - payment_required
            - rate_limited
            - quota_exceeded
            - daily_cap_exceeded
            - bad_request
            - validation_error
            - method_not_allowed
            - payload_too_large
            - unsupported_media_type
            - invalid_query
            - invalid_citation_input
            - section_not_found
            - resource_not_found
            - idempotency_key_reused
            - idempotency_in_progress
            - idempotency_replay_unavailable
            - resource_gone
            - bad_gateway
            - upstream_timeout
            - service_unavailable
            - internal_error
            - conflict
        type:
          anyOf:
            - type: string
            - type: 'null'
          title: Type
          description: >-
            URL naming the error kind,
            `https://www.vaquill.ai/docs/errors/{code}`.
          examples:
            - https://www.vaquill.ai/docs/errors/insufficient_credits
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Short fixed English title for `code`.
          examples:
            - Insufficient credits
        status:
          anyOf:
            - type: integer
            - type: 'null'
          title: Status
          description: Echo of the HTTP status code.
          examples:
            - 402
        instance:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance
          description: >-
            RFC 9457 `instance`: the request path that failed. Present on the US
            case-law routes, whose errors are served as
            `application/problem+json`.
          examples:
            - /api/v1/us/cases/9999999999
        requestId:
          anyOf:
            - type: string
            - type: 'null'
          title: Requestid
          description: Equals the `X-Request-ID` response header. Quote it to support.
          examples:
            - 8d32789e-7b27-44f7-9523-424596e7a929
        retryable:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Retryable
          description: True only when repeating the same request is safe and may succeed.
          examples:
            - false
        retryAfterSeconds:
          anyOf:
            - type: integer
            - type: 'null'
          title: Retryafterseconds
          description: 'On 429 and 503 when `Retry-After` is set: the same value in seconds.'
          examples:
            - 30
        actId:
          anyOf:
            - type: string
            - type: 'null'
          title: Actid
          description: 'Section routes only, on a miss: the identifier that matched nothing.'
          examples:
            - UNKNOWN_99999
        reason:
          anyOf:
            - type: string
            - type: 'null'
          title: Reason
          description: >-
            Section routes only, on a miss: why nothing matched, for example
            `unsupported_jurisdiction` or `not_in_registry`. The set is open.
          examples:
            - not_in_registry
        didYouMean:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Didyoumean
          description: 'Section routes only, on a miss: identifiers worth trying instead.'
        sessionLawId:
          anyOf:
            - type: string
            - type: 'null'
          title: Sessionlawid
          description: >-
            Session-law routes only, on a miss: the id or citation that matched
            nothing.
          examples:
            - Pub. L. 117-58
        defaultSessionLawId:
          anyOf:
            - type: string
            - type: 'null'
          title: Defaultsessionlawid
          description: >-
            Session-law routes only, on an `ambiguous_citation` miss: the
            conventional reading, which is NOT chosen for you. `didYouMean`
            lists every candidate.
          examples:
            - us1_ca_2019_ch_123
        candidateCount:
          anyOf:
            - type: integer
            - type: 'null'
          title: Candidatecount
          description: 'Session-law routes only: how many laws the citation names in all.'
          examples:
            - 3
        truncated:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Truncated
          description: >-
            Session-law routes only: true when `didYouMean` lists fewer laws
            than `candidateCount`, so the list is not complete.
          examples:
            - false
        jurisdictions:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Jurisdictions
          description: >-
            Session-law routes only, on a `needs_jurisdiction` miss: every state
            where the citation exists. Name one in the citation, or pass
            `state`.
        sessionCoverage:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Sessioncoverage
          description: >-
            Session-law routes only, on a `session_not_fully_collected` miss:
            how much of the session we hold.
        creditsRequired:
          anyOf:
            - type: integer
            - type: 'null'
          title: Creditsrequired
          description: '402 only, when known: the credits this call needed.'
          examples:
            - 5
        creditsAvailable:
          anyOf:
            - type: integer
            - type: 'null'
          title: Creditsavailable
          description: '402 only, when known: the credits you can spend right now.'
          examples:
            - 2
        topUpHint:
          anyOf:
            - type: string
            - type: 'null'
          title: Topuphint
          description: '402 only, when known: where to add credits.'
          examples:
            - >-
              Add credits in the developer dashboard, then retry the same
              request.
      type: object
      required:
        - detail
      title: ApiDetailError
      description: >-
        Error envelope the API actually returns.


        Every error (400/401/402/403/404/405/422/429/5xx) carries a `detail`

        string (on the US case-law routes the body is RFC 9457
        `application/problem+json`), e.g. `{"detail": "Insufficient API
        credits."}`, on every mount of

        the API. A 422 adds `errors`, one entry per rejected field. Some 404s
        add

        endpoint-specific diagnosis beside `detail` (the statutes section routes

        add `actId`, `reason` and `didYouMean`); treat unknown keys as optional.
    RelatedNotice:
      properties:
        actId:
          type: string
          title: Actid
          description: Its item id.
        issueDate:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Issuedate
          description: Publication date of its issue.
        ruleAction:
          anyOf:
            - type: string
            - type: 'null'
          title: Ruleaction
          description: Its stage, as on a hit.
        noticeType:
          anyOf:
            - type: string
            - type: 'null'
          title: Noticetype
          description: The publisher's own notice kind.
        docNumber:
          anyOf:
            - type: string
            - type: 'null'
          title: Docnumber
          description: Its printed filing number.
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
          description: Its title.
        citation:
          anyOf:
            - type: string
            - type: 'null'
          title: Citation
          description: Its citation.
      type: object
      required:
        - actId
      title: RelatedNotice
      description: Another notice of the same rulemaking.
    ApiFieldError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Loc
          description: >-
            Where the bad value is: `body`, `query` or `path`, then the
            parameter name exactly as you send it (camelCase), then list
            indexes. A bare `["body"]` means the body as a whole was not a JSON
            object.
          examples:
            - - body
              - query
        msg:
          type: string
          title: Msg
          description: What is wrong with the value, in plain English.
          examples:
            - Field required
        type:
          type: string
          title: Type
          description: >-
            Machine-readable error kind, e.g. `missing`, `literal_error`,
            `json_invalid`.
          examples:
            - missing
      type: object
      required:
        - loc
        - msg
        - type
      title: ApiFieldError
      description: One rejected field in a 422 response.
  headers:
    X-RateLimit-Limit:
      description: Requests allowed in the current per-minute window.
      schema:
        type: integer
    X-RateLimit-Remaining:
      description: Requests left in the current per-minute window.
      schema:
        type: integer
    X-RateLimit-Reset:
      description: Unix timestamp at which the per-minute window resets.
      schema:
        type: integer
    X-RateLimit-Limit-Day:
      description: Requests allowed per day (the slow-drip backstop).
      schema:
        type: integer
    X-RateLimit-Remaining-Day:
      description: Requests left in the daily window.
      schema:
        type: integer
    X-RateLimit-Limit-Hour:
      description: Requests allowed per hour.
      schema:
        type: integer
    X-RateLimit-Remaining-Hour:
      description: Requests left in the hourly window.
      schema:
        type: integer
    X-RateLimit-Reset-Day:
      description: Unix timestamp at which the daily window resets (next UTC midnight).
      schema:
        type: integer
    X-RateLimit-Scope:
      description: >-
        Which bucket the limits above describe: `key` (this API key's own
        allowance) or `ip` (the shared per-address ceiling, also used when the
        key did not validate). Absent on requests without an API key.
      schema:
        type: string
        enum:
          - key
          - ip
    X-Request-ID:
      description: Correlation id of this request. Quote it when contacting support.
      schema:
        type: string
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: vq_key_*
      description: >-
        API key issued from the developer dashboard. Pass as `Authorization:
        Bearer vq_key_...` (preferred).
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        The same API key as a bare header value: `X-API-Key: vq_key_...`.
        Equivalent to the Bearer form.

````

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