/agents/repos/{owner}/{repo}/automationsList automations for a repository
Returns a paginated list of the authenticated user's automations for a repository,
together with every repository-owned automation in it. total_count is the number of
caller-visible automations matching the supplied filters across all pages.
Repository-owned automations are visible to anyone with read access to the repository,
so the results are not limited to automations the caller created. Use the owner_type
field on each automation to tell the two apart.
Fine-grained access tokens for "List automations for a repository"
This endpoint works with the following fine-grained token types:
The fine-grained token must have one of the following permission sets for each repository accessed by this request:
- "Agent tasks" repository permissions (read)
- "Contents" repository permissions (read)
The required permission set depends on each repository's Automation permission configuration.
GitHub App installation access tokens are not supported for this endpoint.
A 400 is returned: Bad request. A 401 is returned: Authentication required. A 404 is returned: Resource not found.