/rate_limitGet rate limit status for the authenticated user
[!NOTE] Accessing this endpoint does not count against your REST API rate limit.
Rate limit status reflects the applicable limits for the requester and resource category, not the hostname used for the request. Requests authenticated as a user share the user's rate limit across credentials. Requests without authentication use the requesting IP address. API requests routed through either an API hostname or a web hostname can count against the same applicable limit.
Some categories of endpoints have custom rate limits that are separate from the rate limit governing the other REST API endpoints. For this reason, the API response categorizes your rate limit. Under resources, you'll see objects relating to different categories:
- The
coreobject provides your rate limit status for all non-search-related resources in the REST API. - The
searchobject provides your rate limit status for the REST API for searching (excluding code searches). For more information, see "Search." - The
code_searchobject provides your rate limit status for the REST API for searching code. For more information, see "Search code." - The
graphqlobject provides your rate limit status for the GraphQL API. For more information, see "Resource limitations." - The
integration_manifestobject provides your rate limit status for thePOST /app-manifests/{code}/conversionsoperation. For more information, see "Creating a GitHub App from a manifest." - The
dependency_snapshotsobject provides your rate limit status for submitting snapshots to the dependency graph. For more information, see "Dependency graph." - The
dependency_sbomobject provides your rate limit status for requesting SBOMs from the dependency graph. For more information, see "Dependency graph." - The
actions_runner_registrationobject provides your rate limit status for registering self-hosted runners in GitHub Actions. For more information, see "Self-hosted runners." - The
source_importobject is no longer in use for any API endpoints, and it will be removed in the next API version. For more information about API versions, see "API Versions."
[!NOTE] The
rateobject is closing down. If you're writing new API client code or updating existing code, you should use thecoreobject instead of therateobject. Thecoreobject contains the same information that is present in therateobject.
A 404 is returned: Resource not found.