How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitLab Epics API

> [!warning]> The Epics REST API was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/460668) in GitLab 17.0> and is planned for removal in v5 of the API. From GitLab 17.4 to 18.0, if> [the new look for epics](https://docs.gitlab.com/user/group/epics/#epics-as-work-items) is enabled,> or in GitLab 18.1 and later, use the Work Items API instead. For more information, see> [migrate epic APIs to work items](https://docs.gitlab.com/api/graphql/epic_work_items_api_migration_guide/).> This change is a breaking change.Use this API to manage [epics](https://docs.gitlab.com/user/group/epics/), the issues assigned tothem, their child and [related epics](https://docs.gitlab.com/user/group/epics/linked_epics/), and[group epic boards](https://docs.gitlab.com/user/group/epics/epic_boards/).Every call to this API must be authenticated. If a user is not a member of a private group, a `GET`request on that group results in a `404` status code.Epics are available only in GitLab [Premium and Ultimate](https://about.gitlab.com/pricing/). If theEpics or Related Epics feature is not available, a `403` status code is returned.

GitLab Epics API is one of 189 APIs that GitLab publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 16 JSON Schema definitions.

Tagged areas include Epic. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, rate-limit docs, an AsyncAPI specification, and 16 JSON Schemas.

This API exposes 26 operations across 19 paths, and defines 27 schemas. It is described by OpenAPI 3.2.0, at version 19.6.

Requests are made against a single base URL, https://{hostname}.

26 operations 19 paths 27 schemas 4 DELETE13 GET6 POST3 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
19.6
Base URL
https://gitlab.com/api/v4
Authentication
HTTP Bearer, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

GitLab Epics API declares 3 security schemes for authenticating requests. It accepts HTTP bearer tokens (http). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 9 scopes. An API key is passed in the header as PRIVATE-TOKEN (apiKey). By default, every request must be authenticated.

Paths & Operations 26

Across 19 paths, the API surfaces 26 operations — 4 DELETE, 13 GET, 6 POST, 3 PUT. Each is listed below with its method, path, parameters, and response codes.

Epics 26

[!warning] The Epics REST API was deprecated in GitLab 17.0 and is planned for removal in v5 of the API. From GitLab 17.4 to 18.0, if the new look for epics is enabled, or in GitL…

GET
/api/v4/groups/{id}/related_epic_links
List all related epic links for a group
getApiV4GroupsIdRelatedEpicLinks 7 params → 200401403404400
GET
/api/v4/groups/{id}/epics/{epic_iid}/related_epics
List all linked epics for an epic
getApiV4GroupsIdEpicsEpicIidRelatedEpics 2 params → 200401403404400
POST
/api/v4/groups/{id}/epics/{epic_iid}/related_epics
Create a related epic link
postApiV4GroupsIdEpicsEpicIidRelatedEpics 2 params body → 201401404409422400
DELETE
/api/v4/groups/{id}/epics/{epic_iid}/related_epics/{related_epic_link_id}
Delete a related epic link
deleteApiV4GroupsIdEpicsEpicIidRelatedEpicsRelatedEpicLinkId 3 params → 200401403404400
GET
/api/v4/groups/{id}/epic_boards
List all epic boards in a group
getApiV4GroupsIdEpicBoards 3 params → 200401403404400
GET
/api/v4/groups/{id}/epic_boards/{board_id}
Retrieve a group epic board
getApiV4GroupsIdEpicBoardsBoardId 2 params → 200401403404400
GET
/api/v4/groups/{id}/epic_boards/{board_id}/lists
List all group epic board lists
getApiV4GroupsIdEpicBoardsBoardIdLists 4 params → 200401403404400
GET
/api/v4/groups/{id}/epic_boards/{board_id}/lists/{list_id}
Retrieve a group epic board list
getApiV4GroupsIdEpicBoardsBoardIdListsListId 3 params → 200401403404400
GET
/api/v4/groups/{id}/epics
List all group epics
getApiV4GroupsIdEpics 23 params → 200403404422400
GET
/api/v4/groups/{id}/-/epics
List all group epics
getApiV4GroupsIdDashEpics 23 params → 200403404422400
GET
/api/v4/groups/{id}/epics/{epic_iid}
Get details of an epic
getApiV4GroupsIdEpicsEpicIid 2 params → 200403404400
GET
/api/v4/groups/{id}/-/epics/{epic_iid}
Get details of an epic
getApiV4GroupsIdDashEpicsEpicIid 2 params → 200403404400
POST
/api/v4/groups/{id}/(-/)epics
Create a new epic
postApiV4GroupsIdDashEpics 1 param body → 201400403404429
PUT
/api/v4/groups/{id}/(-/)epics/{epic_iid}
Update an epic
putApiV4GroupsIdDashEpicsEpicIid 2 params body → 200400403404
DELETE
/api/v4/groups/{id}/(-/)epics/{epic_iid}
Destroy an epic
deleteApiV4GroupsIdDashEpicsEpicIid 2 params → 204403404400
GET
/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics
Get related epics
getApiV4GroupsIdDashEpicsEpicIidEpics 2 params → 200401403404400
POST
/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics
Create and relate epic to a parent
postApiV4GroupsIdDashEpicsEpicIidEpics 2 params body → 201401403404409400
POST
/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics/{child_epic_id}
Relate epics
postApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId 3 params → 201401403404409400
DELETE
/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics/{child_epic_id}
Remove epics relation
deleteApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId 3 params → 200401404400
PUT
/api/v4/groups/{id}/(-/)epics/{epic_iid}/epics/{child_epic_id}
Reorder child epics
putApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicId 3 params body → 200401404400
PUT
/api/v4/groups/{id}/(-/)epics/{epic_iid}/issues/{epic_issue_id}
Update a related epic link
putApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueId 3 params body → 200400401403404
POST
/api/v4/groups/{id}/(-/)epics/{epic_iid}/issues/{epic_issue_id}
Add an issue to an epic
postApiV4GroupsIdDashEpicsEpicIidIssuesIssueId 3 params → 201401403404409400
DELETE
/api/v4/groups/{id}/(-/)epics/{epic_iid}/issues/{epic_issue_id}
Remove an issue from the epic
deleteApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueId 3 params → 200401403404400
GET
/api/v4/groups/{id}/epics/{epic_iid}/issues
List all issues for an epic
getApiV4GroupsIdEpicsEpicIidIssues 4 params → 200401403404400
GET
/api/v4/groups/{id}/-/epics/{epic_iid}/issues
List all issues for an epic
getApiV4GroupsIdDashEpicsEpicIidIssues 4 params → 200401403404400
POST
/api/v4/groups/{id}/epics/{epic_iid}/todo
Create a to-do item for an epic
postApiV4GroupsIdEpicsEpicIidTodo 2 params → 201404400

Schemas 27

The contract defines 27 schemas that model the data the API accepts and returns. The most detailed are APIEntitiesEpicIssue (46 properties), APIEntitiesRelatedEpic (42 properties), APIEntitiesEpic (38 properties), APIEntitiesIssueBasic (30 properties). Each schema is shown below with its type and property counts.

APIEntitiesEpicBoardsList
object
4 properties
APIEntitiesEpicBoard
object
7 properties
APIEntitiesRelatedEpic
object
42 properties
APIEntitiesLabelBasic
object
7 properties
putApiV4GroupsIdDashEpicsEpicIidEpicsChildEpicIdRequest
object
2 properties
putApiV4GroupsIdDashEpicsEpicIidRequest
object
16 properties
APIEntitiesProjectIdentity
object
7 properties
APIEntitiesUserBasic
object
10 properties
APIEntitiesMilestone
object
13 properties
APIEntitiesRelatedEpicLink
object
6 properties
APIEntitiesCustomAttribute
object
2 properties
APIEntitiesIteration
object
12 properties
APIEntitiesNamespaceBasic
object
8 properties
APIEntitiesBasicGroupDetails
object
3 properties
APIEntitiesTodo
object
12 properties
postApiV4GroupsIdDashEpicsEpicIidEpicsRequest
object
2 properties 1 required
postApiV4GroupsIdEpicsEpicIidRelatedEpicsRequest
object
3 properties 2 required
postApiV4GroupsIdDashEpicsRequest
object
13 properties 1 required
APIEntitiesTaskCompletionStatus
object
2 properties
APIEntitiesEpicIssue
object
46 properties
EpicBaseEntity
object
7 properties
APIEntitiesIssuableTimeStats
object
4 properties
APIEntitiesIssuableReferences
object
3 properties
APIEntitiesEpic
object
38 properties
APIEntitiesIssueBasic
object
30 properties
putApiV4GroupsIdDashEpicsEpicIidIssuesEpicIssueIdRequest
object
4 properties
APIEntitiesEpicIssueLink
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

gitlab-epics-api-openapi.yml Raw ↑

Other APIs GitLab publishes across the network.

GitLab Orbit gRPC API
GitLab GraphQL API
GitLab Applications API
GitLab Authorization API
GitLab Broadcast Messages API
GitLab Groups API
GitLab Metadata API
GitLab Project Webhooks API
GitLab Projects API
GitLab Tokens API
GitLab User Info API
GitLab Webhook Configuration API
Where this information came from

This is an independent, third-party profile of GitLab Epics API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.