> ## 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

# Get license

> After search_contractors, with a license's license_id, to verify status, bonding and complaint history.

## Request contract

* **Method and path:** POST /apis/v1/azroc-my-site-com/licenses/get-license
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/azroc-my-site-com/licenses/get-license`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "azroc-my-site-com.licenses.get-license",
  "method": "POST",
  "path": "/apis/v1/azroc-my-site-com/licenses/get-license",
  "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": {
              "license_id": "a0ot0000000NcO3AAK"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "license_id": {
              "description": "Salesforce License__c id (15 or 18 characters, e.g. a0ot0000000NcO3AAK) from search_contractors, or the detail page URL carrying ?licenseId=.",
              "type": "string"
            }
          },
          "required": [
            "license_id"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "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/azroc-my-site-com.json POST /apis/v1/azroc-my-site-com/licenses/get-license
openapi: 3.1.0
info:
  description: ''
  title: Arizona Registrar of Contractors license register (azroc.my.site.com)
  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:
    azroc-my-site-com:
      description: ''
      title: Arizona Registrar of Contractors license register (azroc.my.site.com)
      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: 8243ee94d24ff719345954a9e89396a85b08c852aa8ed440ec9cac579b7a80c2
        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/azroc-my-site-com/licenses/get-classification-description
    - /apis/v1/azroc-my-site-com/licenses/get-license
    - /apis/v1/azroc-my-site-com/licenses/list-classifications
    - /apis/v1/azroc-my-site-com/licenses/search-contractors
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:d04e14c0e14718d8e6f3dadeec68bd4ee99f1d83fd2a798dad5a49d69266d1dd
    facts_hash: 8243ee94d24ff719345954a9e89396a85b08c852aa8ed440ec9cac579b7a80c2
    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: azroc-my-site-com
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/azroc-my-site-com/licenses/get-license:
    post:
      tags:
        - Arizona Registrar of Contractors license register (azroc.my.site.com)
      summary: Get license
      description: >-
        After search_contractors, with a license's license_id, to verify status,
        bonding and complaint history.
      operationId: azroc-my-site-com.licenses.get-license
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  license_id: a0ot0000000NcO3AAK
            schema:
              additionalProperties: true
              properties:
                license_id:
                  description: >-
                    Salesforce License__c id (15 or 18 characters, e.g.
                    a0ot0000000NcO3AAK) from search_contractors, or the detail
                    page URL carrying ?licenseId=.
                  type: string
              required:
                - license_id
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-04.
                  summary: Official provider example
                  value:
                    address: Peoria, AZ, 85345
                    bonds:
                      - allotted_amount: 25000
                        available_amount: 25000
                        bond_amount: 0
                        bond_number: BD408130
                        cancellation_date: null
                        effective_date: '2014-11-05'
                        record: CBND.BD408130
                        status: Active
                        surety: Nationwide
                        total_payout: 0
                        total_repayment: 0
                        type: Surety
                    business_name: Sunstate Plumbing Inc
                    classification_description: Specialty Commercial C-37 Plumbing
                    complaints:
                      disciplined_count: 0
                      items: []
                      open_count: 0
                      resolved_count: 0
                    dba_name: null
                    entity_type: Corporation
                    issued_date: '1989-11-24'
                    license_id: a0ot0000000NcO3AAK
                    license_number: ROC 084810
                    observed_at_ms: 1791150392112
                    personnel:
                      - name: Bonnie Wilson
                        other_positions: OFFICER
                        record: ACX-00776620
                        title: Officer
                      - name: Thomas Earl Wilson Jr
                        other_positions: OFFICER
                        record: ACX-00874841
                        title: Officer
                    phone: (623) 937-4258
                    qp_exempt: true
                    renewal_through: '2026-10-31'
                    source_url: >-
                      https://azroc.my.site.com/AZRoc/s/contractor-search?licenseId=a0ot0000000NcO3AAK
                    status: Active
                    status_changed_date: '2018-10-17'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One ROC license record (Aura actions
            ARCP_ContractorSearch.getLicenseDetail + getAllPersonnelDetail +
            getAllBondDetail + getAllComplaintsDetail, sent as one batch; the
            site's contractor detail page). Keyed by the Salesforce `license_id`
            from search_contractors (a pasted detail URL
            `.../contractor-search?licenseId=...` is accepted). Returns the
            license (ROC number, status and status-change date, issue date,
            renewal-through date, classification description, entity type, QP
            exemption, business and DBA names, city/state/ZIP, phone), the
            personnel on file (name, title, other positions), the surety bonds
            (number, type, status, effective and cancellation dates, bond,
            allotted, available, payout and repayment amounts in USD, surety
            company) and the public complaint summary (open, resolved and
            disciplined counts) with each complaint's number, status, nature,
            type, allegations, outcome, closed date and jobsite city.
            Complainant identities are not returned. An unknown license_id makes
            the site answer an Apex System.QueryException; that is reported as
            not_found.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `address` | string | 'City, AZ, ZIP' with the site's HTML wrapper
            removed. |

            | `bonds` | object[] |  |

            | `business_name` | string |  |

            | `classification_description` | string | License type and
            classification, e.g. 'Specialty Commercial C-37 Plumbing'. |

            | `complaints` | object |  |

            | `dba_name` | string |  |

            | `entity_type` | string |  |

            | `issued_date` | string |  |

            | `license_id` | string |  |

            | `license_number` | string | e.g. 'ROC 084810' |

            | `observed_at_ms` | number |  |

            | `personnel` | object[] |  |

            | `phone` | string |  |

            | `qp_exempt` | boolean |  |

            | `renewal_through` | string | Date the current renewal runs through
            (the site's renewalThr). |

            | `source_url` | string |  |

            | `status` | string |  |

            | `status_changed_date` | string | ISO date (YYYY-MM-DD) as the site
            sends it. |



            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.