Skip to main content
POST
Issues

Request contract

  • Method and path: POST /apis/v1/github/repositories/issues
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/github/repositories/issues
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
repo
string
required

Repository as owner/name, for example firecrawl/firecrawl. Provide exactly one of repo or url. Pattern: ^@?/?A-Za-z0-9 [blocked]?/[A-Za-z0-9._-]{1,100}(?:.git)?/?$.

direction
string
default:desc

direction

Provider reference: allowed values ["asc", "desc"]; default "desc".

include_pull_requests
boolean

Keep pull requests, which GitHub lists on the same endpoint.

labels
string[]

Label names an issue must all carry (AND). Case-insensitive on GitHub's side.

page
number
default:1

1-based page; has_next in the response says whether page+1 exists.

Provider reference: minimum 1; maximum 1000; default 1.

per_page
number
default:30

Records per page.

Provider reference: minimum 1; maximum 100; default 30.

sort
string
default:created

sort

Provider reference: allowed values ["created", "updated", "comments"]; default "created".

state
string
default:open

Issue state to match.

Provider reference: allowed values ["open", "closed", "all"]; default "open".

url
string

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}(?:[/?#].*)?$.

Response

One page of a repository's issues filtered by state and labels (all given labels must match), sorted by created/updated/comments. Pull requests are excluded unless include_pull_requests is true, so a page may hold fewer than per_page records; pull_requests_excluded says how many were dropped. Each record carries title, state, labels, assignees, milestone, comment and reaction counts, body and timestamps.

The response contains the tool result directly.

The provider identifies issues as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.