Skip to main content
POST
Labels

Request contract

  • Method and path: POST /apis/v1/github/repositories/labels
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/github/repositories/labels
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)?/?$.

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:100

Records per page.

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

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

The labels defined in a repository (name, color, description, whether GitHub-default), one page of up to 100. Use the names with issues and issue_counts.

The response contains the tool result directly.

The provider identifies labels 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.