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

> Start here to find the UniProt accession of a protein or gene ("human CD52", "insulin receptor", `gene_exact:TP53`), then call `get` for its function, subcellular location with evidence, GO terms, diseases and cross-references. For a list of gene symbols, `map_ids` resolves them in one call.

## Request contract

* **Method and path:** POST /apis/v1/uniprot-org/proteins/search
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/uniprot-org/proteins/search`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "uniprot-org.proteins.search",
  "method": "POST",
  "path": "/apis/v1/uniprot-org/proteins/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": {
              "limit": 3,
              "organism": "9606",
              "query": "CD52",
              "reviewed": true
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "cursor": {
              "description": "`next_cursor` from the previous page. Repeat the same query, organism, reviewed and limit with it.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "limit": {
              "default": 10,
              "description": "Results per page.\n\nProvider reference: minimum 1; maximum 100; default 10.",
              "type": "number",
              "x-alexandria-option-metadata": {
                "in": "body",
                "max": 100,
                "min": 1
              }
            },
            "organism": {
              "description": "Restrict to an organism: an NCBI taxonomy ID (`9606` for human, `10090` mouse, `562` E. coli with all strains) or a name (`Homo sapiens`, `human`).",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "query": {
              "description": "Free text or UniProt query syntax (uniprot.org/help/query-fields), e.g. `CD52`, `insulin receptor`, `gene_exact:TP53`, `protein_name:\"CAMPATH-1 antigen\"`, `cc_scl_term:SL-0039` (subcellular location term), `cc_disease:\"Li-Fraumeni syndrome\"`, `go:0005886`, `ec:2.7.11.1`, combined with AND/OR/NOT.",
              "type": "string"
            },
            "reviewed": {
              "description": "true: only reviewed Swiss-Prot entries (curated, the usual choice); false: only unreviewed TrEMBL entries. Omit for both.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "query"
          ],
          "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/uniprot-org.json POST /apis/v1/uniprot-org/proteins/search
openapi: 3.1.0
info:
  description: ''
  title: UniProt
  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:
    uniprot-org:
      description: ''
      title: UniProt
      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: aa98bddcc7de8d9d22e10aad7f91c42899b853ec58150fa7990a0b345006e788
        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/uniprot-org/proteins/get
    - /apis/v1/uniprot-org/proteins/map-ids
    - /apis/v1/uniprot-org/proteins/search
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:bc48248ec3e5730bb2c69777bbc48a69349cd400e3ad4807083be3aa65b361b0
    facts_hash: aa98bddcc7de8d9d22e10aad7f91c42899b853ec58150fa7990a0b345006e788
    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: uniprot-org
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/uniprot-org/proteins/search:
    post:
      tags:
        - UniProt
      summary: Search
      description: >-
        Start here to find the UniProt accession of a protein or gene ("human
        CD52", "insulin receptor", `gene_exact:TP53`), then call `get` for its
        function, subcellular location with evidence, GO terms, diseases and
        cross-references. For a list of gene symbols, `map_ids` resolves them in
        one call.
      operationId: uniprot-org.proteins.search
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  limit: 3
                  organism: '9606'
                  query: CD52
                  reviewed: true
            schema:
              additionalProperties: true
              properties:
                cursor:
                  description: >-
                    `next_cursor` from the previous page. Repeat the same query,
                    organism, reviewed and limit with it.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                limit:
                  default: 10
                  description: |-
                    Results per page.

                    Provider reference: minimum 1; maximum 100; default 10.
                  type: number
                  x-alexandria-option-metadata:
                    in: body
                    max: 100
                    min: 1
                organism:
                  description: >-
                    Restrict to an organism: an NCBI taxonomy ID (`9606` for
                    human, `10090` mouse, `562` E. coli with all strains) or a
                    name (`Homo sapiens`, `human`).
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                query:
                  description: >-
                    Free text or UniProt query syntax
                    (uniprot.org/help/query-fields), e.g. `CD52`, `insulin
                    receptor`, `gene_exact:TP53`, `protein_name:"CAMPATH-1
                    antigen"`, `cc_scl_term:SL-0039` (subcellular location
                    term), `cc_disease:"Li-Fraumeni syndrome"`, `go:0005886`,
                    `ec:2.7.11.1`, combined with AND/OR/NOT.
                  type: string
                reviewed:
                  description: >-
                    true: only reviewed Swiss-Prot entries (curated, the usual
                    choice); false: only unreviewed TrEMBL entries. Omit for
                    both.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
              required:
                - query
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-19.
                  summary: Official provider example
                  value:
                    license:
                      attribution: >-
                        UniProt Consortium, UniProtKB release 2026_03
                        (https://www.uniprot.org), licensed under CC BY 4.0
                      name: CC BY 4.0
                      url: https://creativecommons.org/licenses/by/4.0/
                    limit: 3
                    next_cursor: null
                    observed_at_ms: 1792447175538
                    query: CD52
                    release: 2026_03
                    release_date: 02-September-2026
                    results:
                      - accession: P31358
                        annotation_score: 5
                        entry_name: CD52_HUMAN
                        gene_name: CD52
                        gene_synonyms:
                          - CDW52
                          - HE5
                        length: 61
                        license: CC BY 4.0
                        organism:
                          common_name: Human
                          scientific_name: Homo sapiens
                          taxon_id: 9606
                        protein_existence: '1: Evidence at protein level'
                        protein_name: CAMPATH-1 antigen
                        protein_synonyms:
                          - CDw52
                          - Cambridge pathology 1 antigen
                          - Epididymal secretory protein E5
                          - Human epididymis-specific protein 5
                          - He5
                          - CD52
                        reviewed: true
                        source_url: https://www.uniprot.org/uniprotkb/P31358/entry
                        subcellular_locations:
                          - Cell membrane
                      - accession: Q96LC7
                        annotation_score: 5
                        entry_name: SIG10_HUMAN
                        gene_name: SIGLEC10
                        gene_synonyms:
                          - SLG2
                        length: 697
                        license: CC BY 4.0
                        organism:
                          common_name: Human
                          scientific_name: Homo sapiens
                          taxon_id: 9606
                        protein_existence: '1: Evidence at protein level'
                        protein_name: Sialic acid-binding Ig-like lectin 10
                        protein_synonyms:
                          - Siglec-10
                          - Siglec-like protein 2
                        reviewed: true
                        source_url: https://www.uniprot.org/uniprotkb/Q96LC7/entry
                        subcellular_locations:
                          - Cell membrane
                          - Secreted
                    source_url: >-
                      https://www.uniprot.org/uniprotkb?query=%28CD52%29+AND+taxonomy_id%3A9606+AND+reviewed%3Atrue
                    total_count: 2
                    uniprot_query: (CD52) AND taxonomy_id:9606 AND reviewed:true
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Search UniProtKB, the UniProt protein knowledgebase, by free text
            (gene, protein or disease names) or UniProt query syntax, optionally
            restricted to an organism (NCBI taxonomy ID or name, including
            descendant strains) and to reviewed Swiss-Prot or unreviewed TrEMBL
            entries. Each result has the accession, entry name, review status,
            recommended protein name with its synonyms, gene name with synonyms,
            organism, length, annotation score, protein existence level and the
            curated subcellular location terms. Results come in UniProt's
            relevance order, `total_count` is the full hit count, and
            `next_cursor` pages onward. An empty result is a valid empty page.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `accession` | string | Primary UniProtKB accession; pass it to
            `get`. |

            | `annotation_score` | number | UniProt annotation score, 1 (least)
            to 5 (best annotated). |

            | `entry_name` | string | UniProtKB entry name (mnemonic), e.g.
            `CD52_HUMAN`. |

            | `gene_name` | string | Primary gene name of the first gene; null
            for entries without a gene name. |

            | `gene_synonyms` | string[] | Gene name synonyms. |

            | `length` | number | Sequence length in amino acids. |

            | `license` | string | License of this record's data. |

            | `organism` | object |  |

            | `protein_existence` | string | Protein existence level, e.g. `1:
            Evidence at protein level`. |

            | `protein_name` | string | Recommended protein name, or the
            submitted name for entries without one. |

            | `protein_synonyms` | string[] | Every other protein name UniProt
            lists: short names, alternative names, CD antigen and INN names. |

            | `reviewed` | boolean | true for Swiss-Prot (manually reviewed),
            false for TrEMBL (unreviewed). |

            | `source_url` | string | The entry page on uniprot.org, for
            attribution and follow-up. |

            | `subcellular_locations` | string[] | Distinct curated subcellular
            location terms of the protein and its isoforms; `get` returns them
            with evidence. |



            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.