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

# List Hacker News user submissions

> Lists a Hacker News user's stories, polls, and jobs (newest first). Results are paged: while `data.page.hasMore` is true, send `data.page.nextPage` as `page` to get the next page.

> **Request example pending verification.** The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (`X-AISA-Cost-Mode: quote`) before running it.

## Request contract

* **Method and path:** GET /apis/v1/hackernews/users/\{username}/submissions
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/hackernews/users/{username}/submissions`
* **username:** path; required
* **limit:** query; optional
* **page:** query; optional

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "hackernews.users.username.submissions",
  "method": "GET",
  "path": "/apis/v1/hackernews/users/{username}/submissions",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "in": "path",
      "name": "username",
      "required": true,
      "schema": {
        "description": "Hacker News username (case-sensitive).",
        "maxLength": 4096,
        "minLength": 1,
        "type": "string"
      }
    },
    {
      "in": "query",
      "name": "limit",
      "required": false,
      "schema": {
        "description": "Hits per page (1–50). Default: 20. Prefer this over `pageSize`.",
        "maximum": 50,
        "minimum": 1,
        "type": "integer"
      }
    },
    {
      "in": "query",
      "name": "page",
      "required": false,
      "schema": {
        "description": "Zero-based page index (maximum 50 pages, up to 1,000 hits).",
        "maximum": 49,
        "minimum": 0,
        "type": "integer"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Observed response structure

The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.

* **HTTP status / last observed:** 200 / 2026-11-14

```json theme={null}
{
  "additionalProperties": true,
  "properties": {
    "data": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "author": {
                "type": "string"
              },
              "childIds": {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              "commentCount": {
                "type": "integer"
              },
              "createdAt": {
                "type": "string"
              },
              "dead": {
                "type": "boolean"
              },
              "deleted": {
                "type": "boolean"
              },
              "id": {
                "type": "integer"
              },
              "itemUrl": {
                "type": "string"
              },
              "parentId": {
                "type": "null"
              },
              "score": {
                "type": "integer"
              },
              "text": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "title": {
                "type": "string"
              },
              "type": {
                "type": "string"
              },
              "url": {
                "type": [
                  "null",
                  "string"
                ]
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "lookupStatus": {
          "type": "string"
        },
        "page": {
          "additionalProperties": true,
          "properties": {
            "hasMore": {
              "type": "boolean"
            },
            "nextPage": {
              "type": "integer"
            },
            "page": {
              "type": "integer"
            },
            "pageSize": {
              "type": "integer"
            },
            "returned": {
              "type": "integer"
            }
          },
          "type": "object"
        },
        "user": {
          "additionalProperties": true,
          "properties": {
            "profileUrl": {
              "type": "string"
            },
            "username": {
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "meta": {
      "additionalProperties": true,
      "properties": {
        "version": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Cost and request rules

Usage-based pricing. Default request estimate: \$0.014 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

## Pagination

* Pass `aisa_pagination.next_cursor` as `page` (query parameter) to fetch the next page; stop when `aisa_pagination.has_more` is false.
* The same values are returned in the `X-AISA-Has-More` and `X-AISA-Next-Cursor` response headers.
* Page size parameter: `limit`

## Response time

* Typically returns within 10 seconds.


## OpenAPI

````yaml openapi-public/hackernews.json GET /apis/v1/hackernews/users/{username}/submissions
openapi: 3.1.0
info:
  description: ''
  title: Hacker News
  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:
    hackernews:
      description: ''
      title: Hacker News
      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: 240cf350e0b348aaf801c5b25655a625de9e9f207954aed90de92af093a5b3ae
        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/hackernews/comments/{id}/context
    - /apis/v1/hackernews/feeds/{feed}
    - /apis/v1/hackernews/items/{id}
    - /apis/v1/hackernews/jobs/who-is-hiring
    - /apis/v1/hackernews/maxitem
    - /apis/v1/hackernews/search
    - /apis/v1/hackernews/stories/{id}
    - /apis/v1/hackernews/stories/{id}/comments
    - /apis/v1/hackernews/updates
    - /apis/v1/hackernews/users/{username}
    - /apis/v1/hackernews/users/{username}/comments
    - /apis/v1/hackernews/users/{username}/favorites
    - /apis/v1/hackernews/users/{username}/submissions
  x-aisa-document:
    composer_version: '31'
    facts_hash: 240cf350e0b348aaf801c5b25655a625de9e9f207954aed90de92af093a5b3ae
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:9f622e208337037fe5fc67f6b4a27000a5d640d4ff212bc0f94727ddfbd0c2b8
    document_hash: sha256:1157ebfc25b4ab5c3756a4f944e3ba16e66aa9a9564618bd7dce975adeb73d1f
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: hackernews
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/hackernews/users/{username}/submissions:
    get:
      tags:
        - Hacker News
      summary: List Hacker News user submissions
      description: >-
        Lists a Hacker News user's stories, polls, and jobs (newest first).
        Results are paged: while `data.page.hasMore` is true, send
        `data.page.nextPage` as `page` to get the next page.


        > **Request example pending verification.** The request example for this
        endpoint has not yet been verified in production. Static examples
        describe the request format; replace sample values with your own. Check
        the estimated price with a free quote request (`X-AISA-Cost-Mode:
        quote`) before running it.
      operationId: hackernews.users.username.submissions
      parameters:
        - in: path
          name: username
          required: true
          schema:
            description: Hacker News username (case-sensitive).
            maxLength: 4096
            minLength: 1
            type: string
        - in: query
          name: limit
          required: false
          schema:
            description: 'Hits per page (1–50). Default: 20. Prefer this over `pageSize`.'
            maximum: 50
            minimum: 1
            type: integer
        - in: query
          name: page
          required: false
          schema:
            description: Zero-based page index (maximum 50 pages, up to 1,000 hits).
            maximum: 49
            minimum: 0
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                properties:
                  aisa_pagination:
                    additionalProperties: false
                    description: >-
                      AIsa pagination. Pass next_cursor as page to fetch the
                      next page; has_more is false on the last page.
                    properties:
                      has_more:
                        type: boolean
                      next_cursor:
                        type:
                          - string
                          - 'null'
                      next_param:
                        const: page
                        type: string
                    required:
                      - has_more
                      - next_cursor
                      - next_param
                    type: object
                  data:
                    additionalProperties: true
                    properties:
                      items:
                        items:
                          additionalProperties: true
                          properties:
                            author:
                              type: string
                            childIds:
                              items:
                                type: integer
                              type: array
                            commentCount:
                              type: integer
                            createdAt:
                              type: string
                            dead:
                              type: boolean
                            deleted:
                              type: boolean
                            id:
                              type: integer
                            itemUrl:
                              type: string
                            parentId:
                              type: 'null'
                            score:
                              type: integer
                            text:
                              type:
                                - 'null'
                                - string
                            title:
                              type: string
                            type:
                              type: string
                            url:
                              type:
                                - 'null'
                                - string
                          type: object
                        type: array
                      lookupStatus:
                        type: string
                      page:
                        additionalProperties: true
                        properties:
                          hasMore:
                            type: boolean
                          nextPage:
                            type: integer
                          page:
                            type: integer
                          pageSize:
                            type: integer
                          returned:
                            type: integer
                        type: object
                      user:
                        additionalProperties: true
                        properties:
                          profileUrl:
                            type: string
                          username:
                            type: string
                        type: object
                    type: object
                  meta:
                    additionalProperties: true
                    properties:
                      version:
                        type: string
                    type: object
                type: object
          description: >-
            Observed successful JSON response. This partial structure comes from
            successful probe or sampled requests; fields and types may vary. No
            field is guaranteed to be present. Last observed: 2026-11-14.
          headers:
            X-AISA-Has-More:
              description: Mirrors aisa_pagination.has_more.
              schema:
                enum:
                  - 'true'
                  - 'false'
                type: string
            X-AISA-Next-Cursor:
              description: Mirrors aisa_pagination.next_cursor; absent on the last page.
              schema:
                type: string
          x-aisa-response-observation:
            completeness: observed
            last_observed: '2026-11-14'
            origins:
              - probe
        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.