---
title: "List the work on which your activity happened"
method: GET
path: "/workspaces/{workspaceSlug}/activity/me/work"
tags: ["Activity"]
---

# List the work on which your activity happened

`GET /workspaces/{workspaceSlug}/activity/me/work`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/workspaces/{workspaceSlug}/activity/me/work`
- Auth: HTTP bearer

## Path parameters

- `workspaceSlug` string, required

## Query parameters

- `range` '30d' | '90d' | '1y' | 'all' | 'custom'
- `from` string, date-time
- `to` string, date-time
- `team` string
- `repo` string[]
- `kinds` string[]
- `cursor` string
- `size` integer

## Response `200`

Your work listed

- ActivityWorkPage: One page of activity grouped by the pull request or issue it happened on, latest first
  - `content` ActivityWork[], required: The work on this page, by its latest activity, newest first
    - `actions` ActivityAction[], required: Each kind of activity that happened on it, in a fixed order of kinds
      - `count` integer, required: How often it was done
      - `kind` 'PULL_REQUEST_OPENED' | 'PULL_REQUEST_MERGED' | 'PULL_REQUEST_CLOSED' | 'REVIEW_APPROVED' | 'REVIEW_CHANGES_REQUESTED' | 'REVIEW_COMMENTED' | 'COMMENTED' | 'CODE_COMMENTED' | 'ISSUE_OPENED' | 'ISSUE_CLOSED', required: What was done
    - `id` string, required: Identifier of the group: work:<id of the pull request or issue>, or event:<id of the activity> for activity whose pull request or issue is not known
    - `lastOccurredAt` string, date-time, required: When the latest of this activity happened
    - `people` UserInfo[], required: Everyone this activity counts for, by name
      - `avatarUrl` string, required: URL to the user's avatar image
      - `email` string: Email address of the user, if public
      - `htmlUrl` string, required: URL to the user's profile on the git provider
      - `id` integer, required: Unique identifier of the user
      - `login` string, required: Login/username of the user
      - `name` string, required: Display name of the user
    - `work` WorkItem: A pull request or issue
      - `author` UserInfo: Information about a user from the git provider
        - `avatarUrl` string, required: URL to the user's avatar image
        - `email` string: Email address of the user, if public
        - `htmlUrl` string, required: URL to the user's profile on the git provider
        - `id` integer, required: Unique identifier of the user
        - `login` string, required: Login/username of the user
        - `name` string, required: Display name of the user
      - `checks` 'SUCCESS' | 'FAILURE' | 'PENDING' | 'CANCELLED' | 'NONE' | 'NO_PIPELINE' | 'SKIPPED': What the checks said about the pull request's current head, when known
      - `createdAt` string, date-time: When it was created
      - `htmlUrl` string: Link to the pull request or issue on the provider
      - `id` integer, required: Identifier of the pull request or issue
      - `isDraft` boolean, required: Whether the pull request is a draft; false for issues
      - `number` integer, required: Number within the repository
      - `repository` RepositoryInfo: Information about a git repository
        - `description` string: Description of the repository
        - `hiddenFromContributions` boolean, required: Whether activity in this repository is left out of a team's activity
        - `htmlUrl` string, required: URL to the repository on the git provider
        - `id` integer, required: Unique identifier of the repository
        - `labels` LabelInfo[]: Labels defined in the repository
          - `color` string, required: Hex color code of the label (without #)
          - `id` integer, required: Unique identifier of the label
          - `name` string, required: Name of the label
          - `repository` RepositoryInfo (recursive)
        - `name` string, required: Name of the repository
        - `nameWithOwner` string, required: Full name including owner (e.g., 'owner/repo')
      - `requestedTeams` TeamRef[]: The member's teams the pull request asks for a review; only team review requests list them
        - `id` integer, required: Identifier of the team
        - `name` string, required: Name of the team
      - `reviewDecision` 'APPROVED' | 'CHANGES_REQUESTED' | 'REVIEW_REQUIRED': The pull request's review decision, when the provider reported one
      - `reviewers` Reviewer[]: The pull request's reviewers besides its author, where each review stands; only open work lists them
        - `state` 'CHANGES_REQUESTED' | 'APPROVED' | 'COMMENTED' | 'REQUESTED', required: REQUESTED while a review is asked of them, otherwise the verdict of their latest review that was not dismissed
        - `user` UserInfo, required: Information about a user from the git provider
          - `avatarUrl` string, required: URL to the user's avatar image
          - `email` string: Email address of the user, if public
          - `htmlUrl` string, required: URL to the user's profile on the git provider
          - `id` integer, required: Unique identifier of the user
          - `login` string, required: Login/username of the user
          - `name` string, required: Display name of the user
      - `state` 'OPEN' | 'CLOSED' | 'MERGED', required: Current state
      - `title` string, required: Title
      - `type` 'PULL_REQUEST' | 'ISSUE', required: Whether this is a pull request or an issue
      - `updatedAt` string, date-time: When it was last updated
  - `nextCursor` string: Opaque cursor that fetches the next page when passed back as cursor; absent on the last page

## Other responses

- `400`: A request parameter is not valid
- `403`: The caller is not a member of the workspace
- `404`: Workspace, contributor, team or repository not found

## Changes

- **2026-10-17** `4b8a89bf492c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/changes/workspaces/:workspaceSlug/activity/me/work/get.md)

---

[API](https://skmtc.dev/hephaestus-build/apis/hephaestus-api.md) · [All operations](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hephaestus-build/apis/hephaestus-api/revisions/3592ab716973?raw)
