# GitHub Enterprise Activity API

**Canonical:** https://apis.io/apis/github-enterprise/github-enterprise-activity-api/  
**Provider:** GitHub Enterprise — https://apis.io/providers/github-enterprise/  
**Base URL:** https://api.github.com  
**Documentation:** https://docs.github.com/en/enterprise-cloud@latest/rest

GitHub Enterprise Activity API is one of 58 APIs that [GitHub Enterprise](https://apis.io/providers/github-enterprise/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 8 JSON Schema definitions. Tagged areas include Activity. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

Activity APIs provide access to notifications, subscriptions, and timelines.

## Operations (34)

| Method | Path | Summary |
|---|---|---|
| GET | `/events` | List public events |
| GET | `/feeds` | Get feeds |
| GET | `/networks/{owner}/{repo}/events` | List public events for a network of repositories |
| GET | `/notifications` | List notifications for the authenticated user |
| PUT | `/notifications` | Mark notifications as read |
| GET | `/notifications/threads/{thread_id}` | Get a thread |
| PATCH | `/notifications/threads/{thread_id}` | Mark a thread as read |
| DELETE | `/notifications/threads/{thread_id}` | Mark a thread as done |
| GET | `/notifications/threads/{thread_id}/subscription` | Get a thread subscription for the authenticated user |
| PUT | `/notifications/threads/{thread_id}/subscription` | Set a thread subscription |
| DELETE | `/notifications/threads/{thread_id}/subscription` | Delete a thread subscription |
| GET | `/orgs/{org}/events` | List public organization events |
| GET | `/repos/{owner}/{repo}/events` | List repository events |
| GET | `/repos/{owner}/{repo}/notifications` | List repository notifications for the authenticated user |
| PUT | `/repos/{owner}/{repo}/notifications` | Mark repository notifications as read |
| GET | `/repos/{owner}/{repo}/stargazers` | List stargazers |
| GET | `/repos/{owner}/{repo}/stargazers/count` | Get stargazer count |
| GET | `/repos/{owner}/{repo}/stargazers/history` | Get repository star history |
| GET | `/repos/{owner}/{repo}/subscribers` | List watchers |
| GET | `/repos/{owner}/{repo}/subscription` | Get a repository subscription |
| PUT | `/repos/{owner}/{repo}/subscription` | Set a repository subscription |
| DELETE | `/repos/{owner}/{repo}/subscription` | Delete a repository subscription |
| GET | `/user/starred` | List repositories starred by the authenticated user |
| GET | `/user/starred/{owner}/{repo}` | Check if a repository is starred by the authenticated user |
| PUT | `/user/starred/{owner}/{repo}` | Star a repository for the authenticated user |
| DELETE | `/user/starred/{owner}/{repo}` | Unstar a repository for the authenticated user |
| GET | `/user/subscriptions` | List repositories watched by the authenticated user |
| GET | `/users/{username}/events` | List events for the authenticated user |
| GET | `/users/{username}/events/orgs/{org}` | List organization events for the authenticated user |
| GET | `/users/{username}/events/public` | List public events for a user |
| GET | `/users/{username}/received_events` | List events received by the authenticated user |
| GET | `/users/{username}/received_events/public` | List public events received by a user |
| GET | `/users/{username}/starred` | List repositories starred by a user |
| GET | `/users/{username}/subscriptions` | List repositories watched by a user |

## Machine-readable artifacts (16)

- **OpenAPI** — https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-activity-api-openapi.yml
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/rest
- **RateLimits** — https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
- **Authentication** — https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
- **Documentation** — https://docs.github.com/en/enterprise-cloud@latest/graphql
- **GraphQL** — https://artifacts.apis.io/github-enterprise/graphql/github-enterprise-graphql.md
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/rest
- **Documentation** — https://docs.github.com/en/enterprise-server@latest/graphql
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
- **JSONSchema** — https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json

## Other GitHub Enterprise APIs (12)

- [GitHub Enterprise Cloud GraphQL API](https://apis.io/apis/github-enterprise/github-enterprise-graphql-api/)
- [GitHub MCP Server](https://apis.io/apis/github-enterprise/github-mcp-server/)
- [GitHub Enterprise Actions API](https://apis.io/apis/github-enterprise/github-enterprise-actions-api/)
- [GitHub Enterprise Code Scanning API](https://apis.io/apis/github-enterprise/github-enterprise-code-scanning-api/)
- [GitHub Enterprise Admin API](https://apis.io/apis/github-enterprise/github-enterprise-enterprise-admin-api/)
- [GitHub Enterprise Issues API](https://apis.io/apis/github-enterprise/github-enterprise-issues-api/)
- [GitHub Enterprise SCIM API](https://apis.io/apis/github-enterprise/github-enterprise-scim-api/)
- [GitHub Enterprise Users API](https://apis.io/apis/github-enterprise/github-enterprise-users-api/)
- [GitHub Enterprise Agent Automations API](https://apis.io/apis/github-enterprise/github-enterprise-agent-automations-api/)
- [GitHub Enterprise Agent Merge API](https://apis.io/apis/github-enterprise/github-enterprise-agent-merge-api/)
- [GitHub Enterprise Agent Tasks API](https://apis.io/apis/github-enterprise/github-enterprise-agent-tasks-api/)
- [GitHub Enterprise Agents API](https://apis.io/apis/github-enterprise/github-enterprise-agents-api/)

## Tags

Activity

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/github-enterprise/github-enterprise-activity-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/github-enterprise/.
