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

# Search

> Primary-source deal terms across companies: licensing, collaboration, merger and acquisition agreements as filed, with upfront, milestone, royalty and per-share values. Search forms ["8-K"] for a quoted phrase such as "license agreement" or "merger agreement" over a from/to date range, keep hits whose items include 1.01 (material definitive agreement) or 2.01 (completed acquisition), and pass snippets to get the sentences that state the terms; an EX-99.1 hit is usually the company's press release. sic_codes 2834 and 2836 mark pharmaceutical and biotech filers. Also any other cross-company full-text question, such as 8-K Item 2.02 filings this quarter.

## Request contract

* **Method and path:** POST /apis/v1/sec/filings/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/sec/filings/search`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "sec.filings.search",
  "method": "POST",
  "path": "/apis/v1/sec/filings/search",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "requestBody": {
    "content": {
      "application/json": {
        "examples": {
          "provider": {
            "summary": "Request verified on 2026-11-11",
            "value": {
              "cik": 320193,
              "forms": [
                "10-K"
              ],
              "from": "2025-10-31",
              "page": 1,
              "to": "2025-10-31"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "cik": {
              "description": "SEC Central Index Key, with or without leading zeros.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "forms": {
              "description": "forms",
              "items": {
                "type": "string"
              },
              "type": "array",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "from": {
              "description": "Earliest filing date. Alone, the range runs to today. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "page": {
              "default": 1,
              "description": "page\n\nProvider reference: minimum 1; maximum 100; default 1.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "query": {
              "description": "Full-text query; wrap phrases in double quotes.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "snippets": {
              "additionalProperties": true,
              "description": "Fetch the matched document of the first hits and return the sentences containing the query. Needs `query`. Off when omitted; the search output is then unchanged.",
              "type": "object",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "to": {
              "description": "Latest filing date. Alone, the range starts on 2001-01-01, the first day full-text search covers. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "type": "object"
        }
      }
    },
    "required": false
  },
  "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/sec.json POST /apis/v1/sec/filings/search
openapi: 3.1.0
info:
  description: ''
  title: SEC EDGAR
  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:
    sec:
      description: ''
      title: SEC EDGAR
      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: 12611625ecc2e576763355a015f7ba0bf5a8f439405669b1e704012a597dafd2
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
        seed_month: 2026-10
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/sec/filings/companies-get
    - /apis/v1/sec/filings/companies-list
    - /apis/v1/sec/filings/companies-status
    - /apis/v1/sec/filings/company
    - /apis/v1/sec/filings/concept
    - /apis/v1/sec/filings/daily-index-changes
    - /apis/v1/sec/filings/daily-index-get
    - /apis/v1/sec/filings/daily-index-list
    - /apis/v1/sec/filings/daily-index-status
    - /apis/v1/sec/filings/facts-list
    - /apis/v1/sec/filings/facts-status
    - /apis/v1/sec/filings/filing
    - /apis/v1/sec/filings/filings
    - /apis/v1/sec/filings/holdings-13f
    - /apis/v1/sec/filings/insider-transactions-get
    - /apis/v1/sec/filings/insider-transactions-list
    - /apis/v1/sec/filings/insider-transactions-status
    - /apis/v1/sec/filings/ownership-13d13g-changes
    - /apis/v1/sec/filings/ownership-13d13g-get
    - /apis/v1/sec/filings/ownership-13d13g-list
    - /apis/v1/sec/filings/ownership-13d13g-status
    - /apis/v1/sec/filings/search
    - /apis/v1/sec/filings/sections
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:3b99641997815e0bfdae474031ed7c754030ef0f1c178220290eb2defeef2c66
    facts_hash: 12611625ecc2e576763355a015f7ba0bf5a8f439405669b1e704012a597dafd2
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    seed_month: 2026-10
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: sec
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/sec/filings/search:
    post:
      tags:
        - SEC EDGAR
      summary: Search
      description: >-
        Primary-source deal terms across companies: licensing, collaboration,
        merger and acquisition agreements as filed, with upfront, milestone,
        royalty and per-share values. Search forms ["8-K"] for a quoted phrase
        such as "license agreement" or "merger agreement" over a from/to date
        range, keep hits whose items include 1.01 (material definitive
        agreement) or 2.01 (completed acquisition), and pass snippets to get the
        sentences that state the terms; an EX-99.1 hit is usually the company's
        press release. sic_codes 2834 and 2836 mark pharmaceutical and biotech
        filers. Also any other cross-company full-text question, such as 8-K
        Item 2.02 filings this quarter.
      operationId: sec.filings.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: Request verified on 2026-11-11
                value:
                  cik: 320193
                  forms:
                    - 10-K
                  from: '2025-10-31'
                  page: 1
                  to: '2025-10-31'
            schema:
              additionalProperties: true
              properties:
                cik:
                  description: SEC Central Index Key, with or without leading zeros.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                forms:
                  description: forms
                  items:
                    type: string
                  type: array
                  x-alexandria-option-metadata:
                    in: body
                from:
                  description: >-
                    Earliest filing date. Alone, the range runs to today.
                    Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                page:
                  default: 1
                  description: |-
                    page

                    Provider reference: minimum 1; maximum 100; default 1.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                query:
                  description: Full-text query; wrap phrases in double quotes.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                snippets:
                  additionalProperties: true
                  description: >-
                    Fetch the matched document of the first hits and return the
                    sentences containing the query. Needs `query`. Off when
                    omitted; the search output is then unchanged.
                  type: object
                  x-alexandria-option-metadata:
                    in: body
                to:
                  description: >-
                    Latest filing date. Alone, the range starts on 2001-01-01,
                    the first day full-text search covers. Pattern:
                    ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: >-
                    Published by the provider on
                    2026-09-15T04:24:08.913772+00:00.
                  summary: Official provider example
                  value:
                    count: 1
                    has_more: false
                    hits:
                      - accession_number: 0000320193-25-000079
                        business_locations:
                          - Cupertino, CA
                        document: aapl-20250927.htm
                        document_url: >-
                          https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/aapl-20250927.htm
                        file_description: 10-K
                        file_numbers:
                          - 001-36743
                        file_type: 10-K
                        filers:
                          - cik: '0000320193'
                            display_name: Apple Inc.  (AAPL)  (CIK 0000320193)
                            name: Apple Inc.
                        filing_date: '2025-10-31'
                        filing_index_url: >-
                          https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm
                        form: 10-K
                        incorporation_states:
                          - CA
                        items: []
                        period_ending: '2025-09-27'
                        root_form: 10-K
                        score: null
                        sic_codes:
                          - '3571'
                        source_url: >-
                          https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-000079-index.htm
                    next_page: null
                    observed_at_ms: 1789446248913
                    page: 1
                    page_size: 100
                    query:
                      cik: '0000320193'
                      forms:
                        - 10-K
                      from: '2025-10-31'
                      page: 1
                      query: null
                      to: '2025-10-31'
                    source_url: >-
                      https://efts.sec.gov/LATEST/search-index?from=0&forms=10-K&dateRange=custom&startdt=2025-10-31&enddt=2025-10-31&ciks=0000320193
                    total: 1
                    total_relation: eq
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            EDGAR full-text search across every filer since 2001, including the
            8-Ks and press-release exhibits that disclose licensing,
            collaboration and acquisition deals: filter by phrase, form types,
            filing-date range and CIK. Returns 100 hits per page with accession
            number, form, filer names and CIKs, 8-K item codes, period and
            direct document URLs. Use it for cross-company questions such as 8-K
            Item 1.01 license agreements or Item 2.02 results this quarter. Pass
            `snippets` to also fetch the matched document of the first hits and
            return the sentences containing the query (EDGAR's index returns no
            highlights itself).


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `count` | number |  |

            | `has_more` | boolean |  |

            | `hits` | object[] |  |

            | `next_page` | number |  |

            | `observed_at_ms` | number |  |

            | `page` | number |  |

            | `page_size` | number |  |

            | `query` | object |  |

            | `source_url` | string |  |

            | `total` | number |  |

            | `total_relation` | string | eq or gte |



            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.