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

# Filter Builder

> Convert a natural-language description of target companies into structured filters for list generation.

Convert a natural-language description of your target companies into the structured `filters` object accepted by [`post_akta_list_generate`](https://aisa.one/docs/api-reference/akta/post_list-generate-companies). "series a companies in mumbai working in climate tech" becomes `location.hq.city: ["Mumbai"]`, `funding_detail.funding_overview.funding_stage: ["series_a"]`, `industry.industry: [...]` — with the industry codes resolved for you.

Returns no companies itself.

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/akta/post_list-filter-builder)

See Pricing for current prices. Where supported, get a quote for your request.

## Request contract

* **Method and path:** POST /apis/v1/akta/list/filter-builder
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/akta/list/filter-builder`

[Complete OpenAPI definition](https://aisa.one/docs/openapi/akta.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "post_akta_filter_builder",
  "method": "POST",
  "path": "/apis/v1/akta/list/filter-builder",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "schema": {
          "properties": {
            "query": {
              "description": "Natural language description of target companies (e.g. 'series a companies in mumbai working in climate tech').",
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      }
    },
    "required": true
  },
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Published reference price: \$0.025 USD per successful request. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/akta.json POST /apis/v1/akta/list/filter-builder
openapi: 3.1.0
info:
  description: ''
  title: Akta
  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:
    akta:
      description: ''
      title: Akta
      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: 286729daab3274e0e792fd6a8a4c7c4d6118493262863fbe9ed78d99c46e5215
        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/akta/company/addition-requests
    - /apis/v1/akta/company/enrichment
    - /apis/v1/akta/company/search
    - /apis/v1/akta/industry/search
    - /apis/v1/akta/list/filter-builder
    - /apis/v1/akta/list/generate/companies
    - /apis/v1/akta/status/{request_id}
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:dc49f241436710fa488b1d0b4200f1b4cf9d68e37bde7a84ffcebffebff38cbe
    facts_hash: 286729daab3274e0e792fd6a8a4c7c4d6118493262863fbe9ed78d99c46e5215
    generator_version: '3'
    protocol_version: '1'
    response_pending:
      - method: POST
        operation_id: post_akta_apis_v1_akta_company_addition_requests
        path: /apis/v1/akta/company/addition-requests
        reason: public success response has no authoritative payload declaration
        statuses:
          - '200'
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: akta
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/akta/list/filter-builder:
    post:
      tags:
        - list-generation
      summary: Filter Builder
      description: >-
        Converts natural language queries into structured filter conditions for
        the List Generation API.


        Convert a natural-language description of target companies into a
        structured filters object for the List Generation API.
      operationId: post_akta_filter_builder
      requestBody:
        content:
          application/json:
            schema:
              properties:
                query:
                  description: >-
                    Natural language description of target companies (e.g.
                    'series a companies in mumbai working in climate tech').
                  type: string
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Response73D692Ab31Ca_TranslateQueryResponse
          description: Successful response
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response73D692Ab31Ca_TranslateQueryResponse:
      properties:
        credits_consumed:
          format: float
          type: number
        data:
          properties:
            filters:
              description: >-
                Structured filters object equivalent to the input query, using
                dotted-path filter keys.
              type: object
          type: object
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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