---
title: "Get Holiday"
method: GET
path: "/api/v2/resource_management/holidays/{holidayId}"
tags: ["Holiday"]
---

# Get Holiday

`GET /api/v2/resource_management/holidays/{holidayId}`

## Request

- Base URL: `https://apiv2.eightfold.ai`
- URL: `https://apiv2.eightfold.ai/api/v2/resource_management/holidays/{holidayId}`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/eightfold/apis/api-server-v2-service-service/docs/api/v2/resource_management/holidays/:holidayId/get.ts> (a function with typed inputs; its response is checked against the schema)

Given a Holiday id, it returns all attributes of the Holiday (Resource Management Entity)

## Path parameters

- `holidayId` string, required

## Query parameters

- `exclude` string
- `keyList` string

## Headers

- `Authorization` string, required

## Response `200`

OK

- HolidaySchema
  - `createdAt` integer, nullable: Created timestamp for the holiday
  - `updatedBy` string, nullable: User who updated the holiday
  - `isArchived` boolean, nullable: A flag indicating if holiday is archived
  - `holidayDate` integer, nullable, required: Date of the holiday
  - `createdBy` string, nullable: User who created the holiday
  - `holidayName` string, nullable: Name of the holiday
  - `archivedAt` integer, nullable: Archived timestamp for the holiday
  - `updatedAt` integer, nullable: Updated timestamp for the holiday
  - `holidayType` 'public_holiday' | 'optional_holiday', nullable, required: Type of the holiday
  - `region` string, nullable: Region of the holiday
  - `holidayId` integer, nullable: Holiday id

---

[API](https://skmtc.dev/eightfold/apis/api-server-v2-service-service.md) - [All operations](https://skmtc.dev/eightfold/apis/api-server-v2-service-service/llms.txt) - [OpenAPI document](https://skmtc.dev/eightfold/apis/api-server-v2-service-service/revisions/9a8b3a927e93?raw)
