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

# Get all relayer API keys

> Returns all relayer API keys for the authenticated address. Auth allowed: Gamma auth or Relayer API key auth (`RELAYER_API_KEY` + `RELAYER_API_KEY_ADDRESS`).

Returns all relayer API keys for the authenticated address. Auth allowed: Gamma auth or Relayer API key auth (RELAYER_API_KEY and RELAYER_API_KEY_ADDRESS).

## Request contract

* **Method and path:** GET /apis/v1/polymarket/relayer/api/keys
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/polymarket/relayer/api/keys`
* **RELAYER\_API\_KEY:** header; required
* **RELAYER\_API\_KEY\_ADDRESS:** header; required

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "any_polymarket_relayer_apis_v1_polymarket_relayer_f3537f",
  "method": "GET",
  "path": "/apis/v1/polymarket/relayer/api/keys",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Relayer API key (when using relayer API key auth)",
      "in": "header",
      "name": "RELAYER_API_KEY",
      "required": true,
      "schema": {
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "description": "Address that owns the key (when using relayer API key auth). Must match the address that owns the key.",
      "in": "header",
      "name": "RELAYER_API_KEY_ADDRESS",
      "required": true,
      "schema": {
        "description": "Ethereum address (0x-prefixed, 40 hex chars)",
        "pattern": "^0x[0-9a-fA-F]{40}$",
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

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


## OpenAPI

````yaml openapi/polymarket-relayer.json GET /apis/v1/polymarket/relayer/api/keys
openapi: 3.1.0
info:
  description: ''
  title: Polymarket Relayer
  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:
    polymarket-relayer:
      description: ''
      title: Polymarket Relayer
      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: 6a8cddd39f2cef473352a59aaa6b3fe6c0058fb9df5c02362f168034643de17b
        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/polymarket/deployed
    - /apis/v1/polymarket/nonce
    - /apis/v1/polymarket/relay-payload
    - /apis/v1/polymarket/relayer/api/keys
    - /apis/v1/polymarket/submit
    - /apis/v1/polymarket/transaction
    - /apis/v1/polymarket/transactions
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:cda42db9cdf4400a075bcae41e084ad4df6431f10167992dda46530d643b8f46
    facts_hash: 6a8cddd39f2cef473352a59aaa6b3fe6c0058fb9df5c02362f168034643de17b
    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: polymarket-relayer
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/polymarket/relayer/api/keys:
    get:
      tags:
        - default
      summary: Get all relayer API keys
      description: >-
        Returns all relayer API keys for the authenticated address. Auth
        allowed: Gamma auth or Relayer API key auth (`RELAYER_API_KEY` +
        `RELAYER_API_KEY_ADDRESS`).


        Returns all relayer API keys for the authenticated address. Auth
        allowed: Gamma auth or Relayer API key auth (RELAYER_API_KEY and
        RELAYER_API_KEY_ADDRESS).
      operationId: any_polymarket_relayer_apis_v1_polymarket_relayer_f3537f
      parameters:
        - description: Relayer API key (when using relayer API key auth)
          in: header
          name: RELAYER_API_KEY
          required: true
          schema:
            maxLength: 4096
            minLength: 1
            type: string
        - description: >-
            Address that owns the key (when using relayer API key auth). Must
            match the address that owns the key.
          in: header
          name: RELAYER_API_KEY_ADDRESS
          required: true
          schema:
            description: Ethereum address (0x-prefixed, 40 hex chars)
            pattern: ^0x[0-9a-fA-F]{40}$
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                - address: 0xabc...
                  apiKey: 01967c03-b8c8-7000-8f68-8b8eaec6fd3d
                  createdAt: '2026-02-24T18:20:11.237485Z'
                  updatedAt: '2026-02-24T18:20:11.237485Z'
              schema:
                items:
                  $ref: '#/components/schemas/Response3F1A62754080_RelayerApiKey'
                type: array
          description: >-
            API keys retrieved successfully. Returns an empty array if no keys
            exist for the authenticated address.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response3F1A62754080_RelayerApiKey:
      properties:
        address:
          $ref: '#/components/schemas/Response3F1A62754080_Address'
        apiKey:
          description: The relayer API key
          example: 01967c03-b8c8-7000-8f68-8b8eaec6fd3d
          type: string
        createdAt:
          description: Timestamp when the key was created
          example: '2026-02-24T18:20:11.237485Z'
          format: date-time
          type: string
        updatedAt:
          description: Timestamp when the key was last updated
          example: '2026-02-24T18:20:11.237485Z'
          format: date-time
          type: string
      type: object
    Response3F1A62754080_Address:
      description: Ethereum address (0x-prefixed, 40 hex chars)
      example: '0x6e0c80c90ea6c15917308F820Eac91Ce2724B5b5'
      pattern: ^0x[a-fA-F0-9]{40}$
      type: string
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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