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

# Company headcount by department, with history

> the strongest signal in this provider. Returns observed_employee_count, employee_count_range, department_headcount across 14 root departments (engineering_technical, sales, c_suite, …), unclassified_headcount, and a `history` array of the same shape per month — that history is what makes growth rates computable without repeated polling.

<!-- aisa-pricing:start -->
Usage-based billing; Default request estimate: $0.049 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->

## Request contract

* **Method and path:** GET /apis/v1/companyenrich/companies-workforce
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/companyenrich/companies-workforce`
* **domain:** query; required
* **id:** query; optional
* **Runtime facts:** 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7

[Complete OpenAPI definition](https://aisa.one/docs/reference-contracts/companyenrich.json)

Effective request and pricing declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "companyenrich.companies-workforce",
  "method": "GET",
  "path": "/apis/v1/companyenrich/companies-workforce",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "examples": {
        "default": {
          "value": "example.com"
        },
        "minimal": {
          "value": "example.com"
        }
      },
      "in": "query",
      "name": "domain",
      "required": true,
      "schema": {
        "minLength": 1,
        "type": "string",
        "description": "company domain — supply EXACTLY ONE of domain or id"
      }
    },
    {
      "name": "id",
      "in": "query",
      "required": false,
      "schema": {
        "type": "string",
        "description": "CompanyEnrich company UUID — supply EXACTLY ONE of domain or id"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "x-aisa-pricing": {
    "cost_contract": "response_units",
    "customer_multiplier": 1.0,
    "customer_pricing": "provider_cost_multiplier",
    "default_request_estimate_usd": 0.049,
    "estimate_source": "profile_seed",
    "evidence_source": "response_header",
    "unit": "provider_credit",
    "unit_rate_usd": 1e-06
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Usage-based billing; Default request estimate: \$0.049 USD (not a fixed price). Declared unit rate: \$0.000001 USD per provider\_credit. Account-specific pricing and final settlement may differ.

Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.

* **Default request reference estimate (USD):** 0.049
* **Declared unit rate (USD):** 1e-06
* **Billing unit:** provider\_credit
* **Cost contract:** response\_units
* **Published reference multiplier:** 1.0
* **Settlement evidence source:** response\_header


## OpenAPI

````yaml reference-contracts/companyenrich.json GET /apis/v1/companyenrich/companies-workforce
openapi: 3.1.0
info:
  description: ''
  title: CompanyEnrich
  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-configured-paths:
    - /apis/v1/companyenrich/autocomplete-keywords
    - /apis/v1/companyenrich/autocomplete-positions
    - /apis/v1/companyenrich/autocomplete-technologies
    - /apis/v1/companyenrich/companies-enrich
    - /apis/v1/companyenrich/companies-enrich-batch
    - /apis/v1/companyenrich/companies-enrich-by-properties
    - /apis/v1/companyenrich/companies-get
    - /apis/v1/companyenrich/companies-search
    - /apis/v1/companyenrich/companies-search-scroll
    - /apis/v1/companyenrich/companies-similar
    - /apis/v1/companyenrich/companies-similar-scroll
    - /apis/v1/companyenrich/companies-workforce
    - /apis/v1/companyenrich/enrich-by-domain
    - /apis/v1/companyenrich/enrich-by-properties
    - /apis/v1/companyenrich/enrich-companies
    - /apis/v1/companyenrich/find-similar-companies
    - /apis/v1/companyenrich/get-company-workforce
    - /apis/v1/companyenrich/get-country-by-code
    - /apis/v1/companyenrich/get-regions
    - /apis/v1/companyenrich/list-industries
    - /apis/v1/companyenrich/lookup-person
    - /apis/v1/companyenrich/people-get
    - /apis/v1/companyenrich/people-lookup
    - /apis/v1/companyenrich/people-search
    - /apis/v1/companyenrich/people-search-scroll
    - /apis/v1/companyenrich/scroll-people-search
    - /apis/v1/companyenrich/search-cities
    - /apis/v1/companyenrich/search-companies
    - /apis/v1/companyenrich/search-countries
    - /apis/v1/companyenrich/search-people
    - /apis/v1/companyenrich/search-states
  x-aisa-document:
    facts_hash: 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7
    generator_version: '3'
    protocol_version: '1'
    schema_version: '1'
    composer_version: '28'
    response_pending:
      - operation_id: companyenrich.companies-enrich
        path: /apis/v1/companyenrich/companies-enrich
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-search-scroll
        path: /apis/v1/companyenrich/companies-search-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-similar
        path: /apis/v1/companyenrich/companies-similar
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-similar-scroll
        path: /apis/v1/companyenrich/companies-similar-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.companies-workforce
        path: /apis/v1/companyenrich/companies-workforce
        method: GET
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.enrich-by-domain
        path: /apis/v1/companyenrich/enrich-by-domain
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
      - operation_id: companyenrich.people-search-scroll
        path: /apis/v1/companyenrich/people-search-scroll
        method: POST
        statuses:
          - '200'
        reason: public success response has no authoritative payload declaration
    document_hash: sha256:e5ef2dd948d4b17da0e058752f22ca8fc5828d080ba3400dd493c52d0e7d5dbb
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: companyenrich
  x-aisa-catalogs:
    companyenrich:
      title: CompanyEnrich
      description: ''
      x-aisa-document:
        facts_hash: 820bb7817c59193621186d0a7e630f3f0f7d277be8c4a30ac65cde11e8c585c7
        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-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/companyenrich/companies-workforce:
    get:
      tags:
        - CompanyEnrich
      summary: Company headcount by department, with history
      description: >-
        the strongest signal in this provider. Returns observed_employee_count,
        employee_count_range, department_headcount across 14 root departments
        (engineering_technical, sales, c_suite, …), unclassified_headcount, and
        a `history` array of the same shape per month — that history is what
        makes growth rates computable without repeated polling.


        <!-- aisa-pricing:start -->

        Usage-based billing; Default request estimate: $0.049 USD (not a fixed
        price). Declared unit rate: $0.000001 USD per provider_credit.
        Account-specific pricing and final settlement may differ.

        <!-- aisa-pricing:end -->
      operationId: companyenrich.companies-workforce
      parameters:
        - examples:
            default:
              value: example.com
            minimal:
              value: example.com
          in: query
          name: domain
          required: true
          schema:
            minLength: 1
            type: string
            description: company domain — supply EXACTLY ONE of domain or id
        - name: id
          in: query
          required: false
          schema:
            type: string
            description: CompanyEnrich company UUID — supply EXACTLY ONE of domain or id
      responses:
        '200':
          description: Successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
      x-codeSamples:
        - lang: text
          label: Reference example
          source: >-
            # Fixed reference example. Playground inputs do not update this
            sample.

            curl --request GET \
              --url 'https://api.aisa.one/apis/v1/companyenrich/companies-workforce?domain=example.com' \
              --header 'Authorization: Bearer <token>'
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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