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

> Use to find companies by attribute - industry, headcount, funding stage, location - rather than to look one up you can already name. Smaller pages reduce payload size.

## Request contract

* **Method and path:** POST /apis/v1/people-data-labs/company/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/people-data-labs/company/search`

[Complete OpenAPI definition](https://aisa.one/docs/openapi-public/people-data-labs.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "people-data-labs.company.search",
  "method": "POST",
  "path": "/apis/v1/people-data-labs/company/search",
  "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": {
              "size": 1,
              "sql": "SELECT * FROM company WHERE industry = 'computer software'"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "query": {}
                  },
                  "required": [
                    "query"
                  ]
                },
                {
                  "properties": {
                    "sql": {}
                  },
                  "required": [
                    "sql"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "query": {
              "additionalProperties": true,
              "description": "Elasticsearch 7.7 query object over the company schema. Only term, terms, exists, bool, match, range, match_phrase, wildcard, prefix and match_all are accepted. Any array inside it is capped at 100 elements - a tenth of what the person endpoints allow, so a filter list carried over from there will fail. Send this or sql, never both.",
              "type": "object"
            },
            "scroll_token": {
              "description": "The scroll_token from the previous response, replayed with the identical query, for the next page. A 404 while scrolling means the results are exhausted, not that the query broke.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "size": {
              "description": "Request 1-2 companies per call. callers must use size 1 or 2.\n\nProvider reference: minimum 1; maximum 100; default 1.",
              "maximum": 2,
              "minimum": 1,
              "type": "integer"
            },
            "sql": {
              "description": "`SELECT * FROM company WHERE ...`. Column selection and LIMIT are ignored, and at most 20 LIKE '%...%' terms are allowed. Send this or query, never both.",
              "type": "string"
            },
            "titlecase": {
              "default": false,
              "description": "Return titlecased values. Responses are lowercase otherwise, which matters when the output is shown to a person rather than matched on.\n\nProvider reference: default false.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "size"
          ],
          "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.005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi-public/people-data-labs.json POST /apis/v1/people-data-labs/company/search
openapi: 3.1.0
info:
  description: ''
  title: People Data Labs
  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:
    people-data-labs:
      description: ''
      title: People Data Labs
      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: 4472c9dda3b96dd2c6c9a1c4d4e710bf66733ac807f0bdc12c4ebbb2523b319c
        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/people-data-labs/companies-enrich
    - /apis/v1/people-data-labs/companies-search
    - /apis/v1/people-data-labs/company/enrich
    - /apis/v1/people-data-labs/company/search
    - /apis/v1/people-data-labs/enrich-bulk-company-data
    - /apis/v1/people-data-labs/enrich-bulk-person-data
    - /apis/v1/people-data-labs/enrich-company-data
    - /apis/v1/people-data-labs/enrich-person-data
    - /apis/v1/people-data-labs/identify-person-data
    - /apis/v1/people-data-labs/people-enrich
    - /apis/v1/people-data-labs/people-search
    - /apis/v1/people-data-labs/people-search-elastic
    - /apis/v1/people-data-labs/search-company-elastic
    - /apis/v1/people-data-labs/search-company-post
  x-aisa-document:
    composer_version: '31'
    facts_hash: 4472c9dda3b96dd2c6c9a1c4d4e710bf66733ac807f0bdc12c4ebbb2523b319c
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:0739c14979cf93955c9b5b61c78a1fbe87665b75aa7fb889b90285b7120617c1
    document_hash: sha256:b0f5bb366313bbdeffd48b7f58b596fdb80d1f71fd4e8ec6fa9caf413372c7fe
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: people-data-labs
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/people-data-labs/company/search:
    post:
      tags:
        - People Data Labs
      summary: Company search
      description: >-
        Use to find companies by attribute - industry, headcount, funding stage,
        location - rather than to look one up you can already name. Smaller
        pages reduce payload size.


        > **Request example pending verification.** The request example for this
        endpoint has not yet been verified in production. Static examples
        describe the request format; replace sample values with your own. Check
        the estimated price with a free quote request (`X-AISA-Cost-Mode:
        quote`) before running it.
      operationId: people-data-labs.company.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  size: 1
                  sql: SELECT * FROM company WHERE industry = 'computer software'
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        query: {}
                      required:
                        - query
                    - properties:
                        sql: {}
                      required:
                        - sql
              properties:
                query:
                  additionalProperties: true
                  description: >-
                    Elasticsearch 7.7 query object over the company schema. Only
                    term, terms, exists, bool, match, range, match_phrase,
                    wildcard, prefix and match_all are accepted. Any array
                    inside it is capped at 100 elements - a tenth of what the
                    person endpoints allow, so a filter list carried over from
                    there will fail. Send this or sql, never both.
                  type: object
                scroll_token:
                  description: >-
                    The scroll_token from the previous response, replayed with
                    the identical query, for the next page. A 404 while
                    scrolling means the results are exhausted, not that the
                    query broke.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                size:
                  description: >-
                    Request 1-2 companies per call. callers must use size 1 or
                    2.


                    Provider reference: minimum 1; maximum 100; default 1.
                  maximum: 2
                  minimum: 1
                  type: integer
                sql:
                  description: >-
                    `SELECT * FROM company WHERE ...`. Column selection and
                    LIMIT are ignored, and at most 20 LIKE '%...%' terms are
                    allowed. Send this or query, never both.
                  type: string
                titlecase:
                  default: false
                  description: >-
                    Return titlecased values. Responses are lowercase otherwise,
                    which matters when the output is shown to a person rather
                    than matched on.


                    Provider reference: default false.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
              required:
                - size
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-09-30.
                  summary: Official provider example (illustrative)
                  value:
                    data:
                      - employee_count: 120
                        id: example-company
                        industry: computer software
                        location:
                          country: united states
                        name: Example Company
                        website: example.com
                    scroll_token: example-scroll-token
                    status: 200
                    total: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Full company records under `data` (only representative fields are
            listed here), sorted by profile completeness, with `total` and
            `scroll_token` in the envelope. A query matching nothing is a 200
            with total 0, not a 404 - read total, never the status code.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `id` | string | PDL company id, and the pdl_id every other company
            capability takes. |

            | `name` | string | Canonical name. |

            | `website` | string | Primary domain. |

            | `industry` | string | Industry. |

            | `size` | string | Headcount band. |

            | `employee_count` | number | Headcount. |

            | `location` | object | Headquarters, with locality, region,
            country, metro, street_address and postal_code under it. |

            | `total_funding_raised` | number | Total funding raised. |



            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.