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

# Repo

> One GitHub repository by owner/name or URL: stars, forks, watchers, open issue+PR count, creation/last-push dates, primary language, topics, license, default branch, homepage and flags (archived, fork, template). One request to GET /repos/{owner}/{name}; an unknown repository is an error.

## Request contract

* **Method and path:** POST /apis/v1/github/repositories/repo
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/github/repositories/repo`

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "github.repositories.repo",
  "method": "POST",
  "path": "/apis/v1/github/repositories/repo",
  "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": {
              "repo": "firecrawl/firecrawl"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "allOf": [
            {
              "anyOf": [
                {
                  "properties": {
                    "repo": {}
                  },
                  "required": [
                    "repo"
                  ]
                },
                {
                  "properties": {
                    "url": {}
                  },
                  "required": [
                    "url"
                  ]
                }
              ]
            }
          ],
          "properties": {
            "repo": {
              "description": "Repository as `owner/name`, for example `firecrawl/firecrawl`. Provide exactly one of repo or url. Pattern: ^@?/?[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/[A-Za-z0-9._-]{1,100}(?:\\.git)?/?$.",
              "type": "string"
            },
            "url": {
              "description": "HTTPS github.com/{owner}/{name} URL; deeper paths (issues, tree, ...) are accepted and reduced to the repository. Provide exactly one of repo or url. Pattern: ^(?:https?://)?(?:www\\.)?github\\.com/[A-Za-z0-9-]{1,39}/[A-Za-z0-9._-]{1,100}(?:[/?#].*)?$.",
              "type": "string"
            }
          },
          "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-public/github.json POST /apis/v1/github/repositories/repo
openapi: 3.1.0
info:
  description: ''
  title: GitHub
  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:
    github:
      description: ''
      title: GitHub
      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: 73828e8d56ce13a665df0455fed65723eef8eca8b9daaf3df1dc8393b54fda3a
        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/github/profiles/{handle}
    - /apis/v1/github/profiles/{handle}/activity
    - /apis/v1/github/profiles/{handle}/contributions
    - /apis/v1/github/profiles/{handle}/followers
    - /apis/v1/github/profiles/{handle}/following
    - /apis/v1/github/profiles/{handle}/pull-requests
    - /apis/v1/github/profiles/{handle}/repositories
    - /apis/v1/github/repositories
    - /apis/v1/github/repositories/advisory
    - /apis/v1/github/repositories/contributors
    - /apis/v1/github/repositories/file
    - /apis/v1/github/repositories/issue-counts
    - /apis/v1/github/repositories/issues
    - /apis/v1/github/repositories/labels
    - /apis/v1/github/repositories/latest-release
    - /apis/v1/github/repositories/malware-advisories
    - /apis/v1/github/repositories/releases
    - /apis/v1/github/repositories/repo
    - /apis/v1/github/repositories/repo-advisories
    - /apis/v1/github/repositories/search-advisories
    - /apis/v1/github/repositories/search-repos
    - /apis/v1/github/trending/developers
    - /apis/v1/github/trending/repositories
  x-aisa-document:
    composer_version: '31'
    facts_hash: 73828e8d56ce13a665df0455fed65723eef8eca8b9daaf3df1dc8393b54fda3a
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
    public_projection:
      version: '4'
      source_document_hash: sha256:a055d89f62349e434a949353c82c3e802d4c1431c066f986216eec578e7f054b
    document_hash: sha256:0014d1824663f07a4243d1903cd5129063a4673a5eb1bec96605e5d18d3f74b4
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: github
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/github/repositories/repo:
    post:
      tags:
        - GitHub
      summary: Repo
      description: >-
        One GitHub repository by owner/name or URL: stars, forks, watchers, open
        issue+PR count, creation/last-push dates, primary language, topics,
        license, default branch, homepage and flags (archived, fork, template).
        One request to GET /repos/{owner}/{name}; an unknown repository is an
        error.
      operationId: github.repositories.repo
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  repo: firecrawl/firecrawl
            schema:
              additionalProperties: true
              allOf:
                - anyOf:
                    - properties:
                        repo: {}
                      required:
                        - repo
                    - properties:
                        url: {}
                      required:
                        - url
              properties:
                repo:
                  description: >-
                    Repository as `owner/name`, for example
                    `firecrawl/firecrawl`. Provide exactly one of repo or url.
                    Pattern:
                    ^@?/?[A-Za-z0-9](?:[A-Za-z0-9-]{0,37}[A-Za-z0-9])?/[A-Za-z0-9._-]{1,100}(?:\.git)?/?$.
                  type: string
                url:
                  description: >-
                    HTTPS github.com/{owner}/{name} URL; deeper paths (issues,
                    tree, ...) are accepted and reduced to the repository.
                    Provide exactly one of repo or url. Pattern:
                    ^(?:https?://)?(?:www\.)?github\.com/[A-Za-z0-9-]{1,39}/[A-Za-z0-9._-]{1,100}(?:[/?#].*)?$.
                  type: string
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: >-
                    Published by the provider on
                    2026-09-15T03:02:36.972327+00:00.
                  summary: Official provider example
                  value:
                    observed_at_ms: 1789441356972
                    repo: firecrawl/firecrawl
                    repository:
                      archived: false
                      created_at: '2024-04-15T21:02:29Z'
                      default_branch: main
                      description: >-
                        The context API to search, scrape, and interact with the
                        web at scale. 🔥
                      disabled: false
                      forks: 9791
                      full_name: firecrawl/firecrawl
                      has_discussions: true
                      has_issues: true
                      has_pages: false
                      has_wiki: false
                      homepage: https://firecrawl.dev
                      id: 787076358
                      is_fork: false
                      is_template: false
                      language: TypeScript
                      license:
                        key: agpl-3.0
                        name: GNU Affero General Public License v3.0
                        spdx_id: AGPL-3.0
                        url: https://api.github.com/licenses/agpl-3.0
                      name: firecrawl
                      open_issues_and_prs: 628
                      owner:
                        avatar_url: https://avatars.githubusercontent.com/u/135057108?v=4
                        html_url: https://github.com/firecrawl
                        id: 135057108
                        login: firecrawl
                        type: Organization
                      parent_full_name: null
                      pushed_at: '2026-09-15T02:24:10Z'
                      size_kb: 179466
                      source_url: https://github.com/firecrawl/firecrawl
                      stars: 180475
                      topics:
                        - ai
                        - ai-agents
                        - ai-crawler
                        - ai-scraping
                        - ai-search
                        - crawler
                        - data-extraction
                        - html-to-markdown
                        - llm
                        - markdown
                        - scraper
                        - scraping
                        - web-crawler
                        - web-data
                        - web-data-extraction
                        - web-scraper
                        - web-scraping
                        - web-search
                        - webscraping
                      updated_at: '2026-09-15T03:02:33Z'
                      visibility: public
                      watchers: 467
                    source_url: https://github.com/firecrawl/firecrawl
                    upstream_requests: 1
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            One GitHub repository by owner/name or URL: stars, forks, watchers,
            open issue+PR count, creation/last-push dates, primary language,
            topics, license, default branch, homepage and flags (archived, fork,
            template). One request to GET /repos/{owner}/{name}; an unknown
            repository is an error.


            The response contains the tool result directly.


            | Documented field | Provider type | Description |

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

            | `observed_at_ms` | number | When the workflow read GitHub, Unix
            milliseconds. |

            | `repo` | string | Normalized owner/name the call resolved to. |

            | `repository` | object |  |

            | `source_url` | string | The github.com page a human would read for
            the same answer. |

            | `upstream_requests` | number | GitHub API requests this call made.
            |



            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.