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

# Map ids

> Resolve gene symbols from a paper or an expression table (pass `organism`, e.g. `9606`, since symbols repeat across species), or IDs from Ensembl, NCBI Gene, PDB or ChEMBL, to accessions before calling `get`.

## Request contract

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

[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.map-ids",
  "method": "POST",
  "path": "/apis/v1/uniprot-org/proteins/map-ids",
  "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": {
              "ids": [
                "TP53",
                "P53",
                "CD52",
                "HLA-A",
                "NOTAGENE1"
              ],
              "organism": "9606"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "from": {
              "default": "gene",
              "description": "Kind of the identifiers: `gene` (gene symbols and synonyms), `ensembl` (ENSG/ENST/ENSP IDs), `ncbi_gene` (Entrez Gene IDs such as `7157`), `pdb` (4-character PDB IDs), `chembl` (ChEMBL target IDs).\n\nProvider reference: allowed values [\"gene\", \"ensembl\", \"ncbi_gene\", \"pdb\", \"chembl\"]; default \"gene\".",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body",
                "oneOf": [
                  "gene",
                  "ensembl",
                  "ncbi_gene",
                  "pdb",
                  "chembl"
                ]
              }
            },
            "ids": {
              "description": "Identifiers of one kind, e.g. `[\"TP53\", \"CD52\"]` or `[\"ENSG00000141510\"]`.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "organism": {
              "description": "Restrict to an organism: NCBI taxonomy ID (`9606` human, `10090` mouse) or name. Strongly recommended for gene symbols.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "reviewed_only": {
              "description": "Only reviewed Swiss-Prot entries (default). false also returns unreviewed TrEMBL entries, which can be many per gene.",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            }
          },
          "required": [
            "ids"
          ],
          "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/map-ids
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/map-ids:
    post:
      tags:
        - UniProt
      summary: Map ids
      description: >-
        Resolve gene symbols from a paper or an expression table (pass
        `organism`, e.g. `9606`, since symbols repeat across species), or IDs
        from Ensembl, NCBI Gene, PDB or ChEMBL, to accessions before calling
        `get`.
      operationId: uniprot-org.proteins.map-ids
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  ids:
                    - TP53
                    - P53
                    - CD52
                    - HLA-A
                    - NOTAGENE1
                  organism: '9606'
            schema:
              additionalProperties: true
              properties:
                from:
                  default: gene
                  description: >-
                    Kind of the identifiers: `gene` (gene symbols and synonyms),
                    `ensembl` (ENSG/ENST/ENSP IDs), `ncbi_gene` (Entrez Gene IDs
                    such as `7157`), `pdb` (4-character PDB IDs), `chembl`
                    (ChEMBL target IDs).


                    Provider reference: allowed values ["gene", "ensembl",
                    "ncbi_gene", "pdb", "chembl"]; default "gene".
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                    oneOf:
                      - gene
                      - ensembl
                      - ncbi_gene
                      - pdb
                      - chembl
                ids:
                  description: >-
                    Identifiers of one kind, e.g. `["TP53", "CD52"]` or
                    `["ENSG00000141510"]`.
                  items:
                    type: string
                  type: array
                organism:
                  description: >-
                    Restrict to an organism: NCBI taxonomy ID (`9606` human,
                    `10090` mouse) or name. Strongly recommended for gene
                    symbols.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                reviewed_only:
                  description: >-
                    Only reviewed Swiss-Prot entries (default). false also
                    returns unreviewed TrEMBL entries, which can be many per
                    gene.
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
              required:
                - ids
              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:
                    from: gene
                    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/
                    mappings:
                      - input: TP53
                        matches:
                          - accession: P04637
                            entry_name: P53_HUMAN
                            gene_name: TP53
                            license: CC BY 4.0
                            matched_on: gene_name
                            organism:
                              common_name: Human
                              scientific_name: Homo sapiens
                              taxon_id: 9606
                            protein_name: Cellular tumor antigen p53
                            reviewed: true
                            source_url: https://www.uniprot.org/uniprotkb/P04637/entry
                      - input: P53
                        matches:
                          - accession: P04637
                            entry_name: P53_HUMAN
                            gene_name: TP53
                            license: CC BY 4.0
                            matched_on: gene_synonym
                            organism:
                              common_name: Human
                              scientific_name: Homo sapiens
                              taxon_id: 9606
                            protein_name: Cellular tumor antigen p53
                            reviewed: true
                            source_url: https://www.uniprot.org/uniprotkb/P04637/entry
                      - input: CD52
                        matches:
                          - accession: P31358
                            entry_name: CD52_HUMAN
                            gene_name: CD52
                            license: CC BY 4.0
                            matched_on: gene_name
                            organism:
                              common_name: Human
                              scientific_name: Homo sapiens
                              taxon_id: 9606
                            protein_name: CAMPATH-1 antigen
                            reviewed: true
                            source_url: https://www.uniprot.org/uniprotkb/P31358/entry
                      - input: HLA-A
                        matches:
                          - accession: P04439
                            entry_name: HLAA_HUMAN
                            gene_name: HLA-A
                            license: CC BY 4.0
                            matched_on: gene_name
                            organism:
                              common_name: Human
                              scientific_name: Homo sapiens
                              taxon_id: 9606
                            protein_name: >-
                              HLA class I histocompatibility antigen, A alpha
                              chain
                            reviewed: true
                            source_url: https://www.uniprot.org/uniprotkb/P04439/entry
                    matched_count: 4
                    observed_at_ms: 1792447179227
                    organism: '9606'
                    release: 2026_03
                    release_date: 02-September-2026
                    reviewed_only: true
                    total_count: 3
                    uniprot_query: >-
                      (gene_exact:"TP53" OR gene_exact:"P53" OR
                      gene_exact:"CD52" OR gene_exact:"HLA-A" OR
                      gene_exact:"NOTAGENE1") AND taxonomy_id:9606 AND
                      reviewed:true
                    unmatched:
                      - NOTAGENE1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            Map up to 50 gene symbols, or Ensembl, NCBI Gene, PDB or ChEMBL
            identifiers, to UniProtKB accessions in one call. Gene symbols match
            primary gene names, gene synonyms (`P53` finds TP53), ordered locus
            and ORF names, and `matched_on` says which; identifier sources match
            the entry's cross-references (Ensembl gene, transcript or protein
            IDs, with or without version). Reviewed Swiss-Prot entries only by
            default and listed first. Inputs without a match are listed in
            `unmatched`; when nothing matches the result is `not_found`.


            The response contains the tool result directly.


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


            | Documented field | Provider type | Description |

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

            | `input` | string | The identifier as normalized (Ensembl without
            version, PDB and ChEMBL upper-case). |

            | `matches` | object[] | Matching entries, Swiss-Prot first. |



            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.