GitHub Enterprise Activity API

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

Operations 34

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 #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/github-enterprise:github-enterprise-activity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

github-enterprise-activity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Github Enterprise Activity API
  version: 1.1.4
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  x-github-plan: ghec
  description: 'Operations tagged activity across 2 of this provider''s published API definitions: github-enterprise-ghec-openapi.json, github-enterprise-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.github.com
tags:


# --- truncated at 32 KB (209 KB total) ---
# Full source: https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-activity-api-openapi.yml