# GET /agents/automations (GitHub API)
Base URL: https://api.github.com
Auth: Authorization; GitHub token; required.
Last verified: 2026-10-20

> List automations for user

## Critical Gotchas
* GitHub recommends an `Accept: application/vnd.github+json` header and an explicit `X-GitHub-Api-Version` header.
* Fine-grained tokens only authorize repositories and permissions selected when the token is created.

## cURL
curl -X GET 'https://api.github.com/agents/automations?page=1&per_page=30&owner_type=user' \
  -H "Authorization: Bearer $GITHUB_TOKEN" \
  -H 'Accept: application/vnd.github+json' \
  -H 'X-GitHub-Api-Version: 2026-03-10'

## Parameters
| Name | In | Type | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| page | query | integer | No | The page number of the results to fetch. |
| per_page | query | integer | No | The number of results per page (max 100). |
| owner_type | query | string | No | Filter automations by owner type. `user` returns automations owned by their c... |

## Response example
[{"id":"string","repository":{}}]

---
Need an API key? Get one at https://github.com/settings/tokens