> ## 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 comments by comment id

> Get comments by comment id.

## Request contract

* **Method and path:** GET /apis/v1/polymarket/comments/\{id}
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/polymarket/comments/{id}`
* **id:** path; required
* **get\_positions:** query; optional

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "any_polymarket_gamma_apis_v1_polymarket_comments_id",
  "method": "GET",
  "path": "/apis/v1/polymarket/comments/{id}",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "get_positions",
      "schema": {
        "type": "boolean"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

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


## OpenAPI

````yaml openapi/polymarket-gamma.json GET /apis/v1/polymarket/comments/{id}
openapi: 3.1.0
info:
  description: ''
  title: Polymarket Gamma
  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-gamma:
      description: ''
      title: Polymarket Gamma
      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: ea4652f81dbb5117d54b401f31ded482c22f2b01ffbbe2fd118a5364d8f766d4
        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/comments
    - /apis/v1/polymarket/comments/user_address/{user_address}
    - /apis/v1/polymarket/comments/{id}
    - /apis/v1/polymarket/events
    - /apis/v1/polymarket/events/keyset
    - /apis/v1/polymarket/events/slug/{slug}
    - /apis/v1/polymarket/events/{id}
    - /apis/v1/polymarket/events/{id}/tags
    - /apis/v1/polymarket/markets
    - /apis/v1/polymarket/markets/keyset
    - /apis/v1/polymarket/markets/slug/{slug}
    - /apis/v1/polymarket/markets/{id}
    - /apis/v1/polymarket/markets/{id}/tags
    - /apis/v1/polymarket/public-profile
    - /apis/v1/polymarket/public-search
    - /apis/v1/polymarket/series
    - /apis/v1/polymarket/series/{id}
    - /apis/v1/polymarket/sports
    - /apis/v1/polymarket/sports/market-types
    - /apis/v1/polymarket/tags
    - /apis/v1/polymarket/tags/slug/{slug}
    - /apis/v1/polymarket/tags/slug/{slug}/related-tags
    - /apis/v1/polymarket/tags/slug/{slug}/related-tags/tags
    - /apis/v1/polymarket/tags/{id}
    - /apis/v1/polymarket/tags/{id}/related-tags
    - /apis/v1/polymarket/tags/{id}/related-tags/tags
    - /apis/v1/polymarket/teams
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:d2b508bbe13743767d5c356654f4270aa1de9f3dd063aa5ad705bcabc16b72f8
    facts_hash: ea4652f81dbb5117d54b401f31ded482c22f2b01ffbbe2fd118a5364d8f766d4
    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-gamma
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/polymarket/comments/{id}:
    get:
      tags:
        - default
      summary: Get comments by comment id
      description: Get comments by comment id.
      operationId: any_polymarket_gamma_apis_v1_polymarket_comments_id
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
        - in: query
          name: get_positions
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Response8689C55A3B97_Comment'
                type: array
          description: Comments
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response8689C55A3B97_Comment:
      properties:
        body:
          type:
            - string
            - 'null'
        createdAt:
          format: date-time
          type:
            - string
            - 'null'
        id:
          type: string
        parentCommentID:
          type:
            - string
            - 'null'
        parentEntityID:
          type:
            - integer
            - 'null'
        parentEntityType:
          type:
            - string
            - 'null'
        profile:
          $ref: '#/components/schemas/Response8689C55A3B97_CommentProfile'
        reactionCount:
          type:
            - integer
            - 'null'
        reactions:
          items:
            $ref: '#/components/schemas/Response8689C55A3B97_Reaction'
          type: array
        replyAddress:
          type:
            - string
            - 'null'
        reportCount:
          type:
            - integer
            - 'null'
        updatedAt:
          format: date-time
          type:
            - string
            - 'null'
        userAddress:
          type:
            - string
            - 'null'
      type: object
    Response8689C55A3B97_CommentProfile:
      properties:
        baseAddress:
          type:
            - string
            - 'null'
        bio:
          type:
            - string
            - 'null'
        displayUsernamePublic:
          type:
            - boolean
            - 'null'
        isCreator:
          type:
            - boolean
            - 'null'
        isMod:
          type:
            - boolean
            - 'null'
        name:
          type:
            - string
            - 'null'
        positions:
          items:
            $ref: '#/components/schemas/Response8689C55A3B97_CommentPosition'
          type: array
        profileImage:
          type:
            - string
            - 'null'
        profileImageOptimized:
          $ref: '#/components/schemas/Response8689C55A3B97_ImageOptimization'
        proxyWallet:
          type:
            - string
            - 'null'
        pseudonym:
          type:
            - string
            - 'null'
      type: object
    Response8689C55A3B97_Reaction:
      properties:
        commentID:
          type:
            - integer
            - 'null'
        createdAt:
          format: date-time
          type:
            - string
            - 'null'
        icon:
          type:
            - string
            - 'null'
        id:
          type: string
        profile:
          $ref: '#/components/schemas/Response8689C55A3B97_CommentProfile'
        reactionType:
          type:
            - string
            - 'null'
        userAddress:
          type:
            - string
            - 'null'
      type: object
    Response8689C55A3B97_CommentPosition:
      properties:
        positionSize:
          type:
            - string
            - 'null'
        tokenId:
          type:
            - string
            - 'null'
      type: object
    Response8689C55A3B97_ImageOptimization:
      properties:
        field:
          type:
            - string
            - 'null'
        id:
          type: string
        imageOptimizedComplete:
          type:
            - boolean
            - 'null'
        imageOptimizedLastUpdated:
          type:
            - string
            - 'null'
        imageSizeKbOptimized:
          type:
            - number
            - 'null'
        imageSizeKbSource:
          type:
            - number
            - 'null'
        imageUrlOptimized:
          type:
            - string
            - 'null'
        imageUrlSource:
          type:
            - string
            - 'null'
        relID:
          type:
            - integer
            - 'null'
        relname:
          type:
            - string
            - 'null'
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

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