> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workday

> Reference for the Tracecat Workday integration: registered actions, required secrets, expected inputs, and example workflow usage.

## Get business process event

Action ID: `tools.workday.get_business_process_event`

Retrieve a business process event.

Reference: [https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events/-ID-](https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events/-ID-)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## Get Workday accounts

Action ID: `tools.workday.get_workday_accounts`

Get Workday accounts, including disabled state, account expiration, and password and session settings, for one account or all accounts.

Reference: [https://community.workday.com/sites/default/files/file-hosting/productionapi/Human\_Resources/v47.1/Get\_Workday\_Account.html](https://community.workday.com/sites/default/files/file-hosting/productionapi/Human_Resources/v47.1/Get_Workday_Account.html)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**As\_Of\_Entry\_DateTime** `string | null`

The date and time the data was entered into the system (entry moment), e.g. 2026-01-01T00:00:00Z.

Default: `null`.

**Count** `integer | null`

Number of results to return per page. Workday returns 100 results per page by default.

Default: `null`.

**ID** `string | null`

Workday account reference ID. Leave empty to return all accounts.

Default: `null`.

**Page** `integer | null`

Page number of results to return. If you set Page, also set As\_Of\_Entry\_DateTime so the result set stays the same between requests.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

**type** `string | null`

Reference ID type for ID, e.g. WID or Employee\_ID.

Default: `null`.

## Get worker

Action ID: `tools.workday.get_worker`

Retrieve a worker instance.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## Get worker staffing information

Action ID: `tools.workday.get_worker_staffing`

Retrieve a worker and current staffing information.

Reference: [https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/workers/-ID-](https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/workers/-ID-)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List active user sessions

Action ID: `tools.workday.list_active_user_sessions`

Retrieve a collection of active user sessions.

Reference: [https://developer.workday.com/rest-api-explorer/docs/systemMetrics/v1#get-/activeUserSessions](https://developer.workday.com/rest-api-explorer/docs/systemMetrics/v1#get-/activeUserSessions)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List business process completed steps

Action ID: `tools.workday.list_business_process_completed_steps`

Retrieve completed steps for a business process event.

Reference: [https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events/-ID-/completedSteps](https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events/-ID-/completedSteps)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List business process events

Action ID: `tools.workday.list_business_process_events`

Retrieve business process events, such as hires, terminations, and job changes.

Reference: [https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events](https://developer.workday.com/rest-api-explorer/docs/businessProcess/v1#get-/events)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**businessProcess** `array[string] | null`

The Workday ID of the business process type.

Default: `null`.

**completedOnOrAfter** `string | null`

Return events completed on or after this date and time.

Default: `null`.

**completedOnOrBefore** `string | null`

Return events completed on or before this date and time.

Default: `null`.

**initiatedOnOrAfter** `string | null`

Return events initiated on or after this date and time.

Default: `null`.

**initiatedOnOrBefore** `string | null`

Return events initiated on or before this date and time.

Default: `null`.

**initiator** `array[string] | null`

The Workday ID of the event initiator.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**status** `array[string] | null`

The Workday ID of the event status.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

**worker** `string | null`

The Workday ID of the worker the event is for.

Default: `null`.

## List integration system users

Action ID: `tools.workday.list_integration_system_users`

Get Workday accounts associated with integration systems.

Reference: [https://community.workday.com/sites/default/files/file-hosting/productionapi/Integrations/v47.1/Get\_Integration\_System\_Users.html](https://community.workday.com/sites/default/files/file-hosting/productionapi/Integrations/v47.1/Get_Integration_System_Users.html)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**As\_Of\_Entry\_DateTime** `string | null`

The date and time the data was entered into the system (entry moment), e.g. 2026-01-01T00:00:00Z.

Default: `null`.

**Count** `integer | null`

Number of results to return per page. Workday returns 100 results per page by default.

Default: `null`.

**Page** `integer | null`

Page number of results to return. If you set Page, also set As\_Of\_Entry\_DateTime so the result set stays the same between requests.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List OAuth clients

Action ID: `tools.workday.list_oauth_clients`

Return OAuth client details for clients in the tenant.

Reference: [https://developer.workday.com/rest-api-explorer/docs/oAuthClient/v1#get-/clientDetails](https://developer.workday.com/rest-api-explorer/docs/oAuthClient/v1#get-/clientDetails)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**client\_name** `string | null`

Client Name

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List supervisory organization members

Action ID: `tools.workday.list_supervisory_organization_members`

Retrieve a collection of members for the specified supervisory organization ID.

Reference: [https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/supervisoryOrganizations/-ID-/members](https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/supervisoryOrganizations/-ID-/members)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List supervisory organizations managed by worker

Action ID: `tools.workday.list_worker_supervisory_organizations_managed`

Retrieve a collection of supervisory organizations managed by a specific worker.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/supervisoryOrganizationsManaged](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/supervisoryOrganizationsManaged)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List unidentified sign-ons

Action ID: `tools.workday.list_unidentified_signons`

Get sign-on attempts where the user name provided did not match a Workday account. The time range must be less than 24 hours.

Reference: [https://community.workday.com/sites/default/files/file-hosting/productionapi/Identity\_Management/v47.1/Get\_Unidentified\_Signons.html](https://community.workday.com/sites/default/files/file-hosting/productionapi/Identity_Management/v47.1/Get_Unidentified_Signons.html)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**From\_DateTime** `string` *required*

Request Signon information from this time. The time range between the From\_DateTime and To\_DateTime must be less than 24 hours.

**To\_DateTime** `string` *required*

Request Signon information to this time. The time range between the From\_DateTime and To\_DateTime must be less than 24 hours.

**As\_Of\_Entry\_DateTime** `string | null`

The date and time the data was entered into the system (entry moment), e.g. 2026-01-01T00:00:00Z.

Default: `null`.

**Count** `integer | null`

Number of results to return per page. Workday returns 100 results per page by default.

Default: `null`.

**Page** `integer | null`

Page number of results to return. If you set Page, also set As\_Of\_Entry\_DateTime so the result set stays the same between requests.

Default: `null`.

**User\_Name** `string | null`

An optional User Name regular expression used to match unidentified sign-on attempts.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List user activity logs

Action ID: `tools.workday.list_activity_logs`

Retrieve a collection of user activity log entries in a specified time frame. Requires user activity logging to be enabled in the tenant.

Reference: [https://developer.workday.com/rest-api-explorer/docs/privacy/v1#get-/activityLogging](https://developer.workday.com/rest-api-explorer/docs/privacy/v1#get-/activityLogging)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**from** `string` *required*

The date and time of the earliest log entry. The default timezone is UTC/GMT. The time format is "\{yyyy}-\{mm}-\{dd}T\{hh}:\{mm}:\{ss}Z".

**to** `string` *required*

The date and time of the latest log entry. The default timezone is UTC/GMT. The time format is "\{yyyy}-\{mm}-\{dd}T\{hh}:\{mm}:\{ss}Z".

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**instancesReturned** `integer | null`

This number multiplied by 10,000 determines the total number of requested user activity instances.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**returnUserActivityEntryCount** `boolean | null`

If true, returns only the total count of user activity instances for the specified parameters.

Default: `null`.

**systemAccount** `string | null`

The system account to filter user activity entries by.

Default: `null`.

**taskId** `string | null`

The Workday ID of the task to filter user activity entries by.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List user-based security group assignments

Action ID: `tools.workday.list_user_based_security_group_assignments`

Get Workday accounts and their assigned user-based security groups, filtered by account user name or security group name.

Reference: [https://community.workday.com/sites/default/files/file-hosting/productionapi/Human\_Resources/v47.1/Get\_User-Based\_Security\_Group\_Assignments.html](https://community.workday.com/sites/default/files/file-hosting/productionapi/Human_Resources/v47.1/Get_User-Based_Security_Group_Assignments.html)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**As\_Of\_Entry\_DateTime** `string | null`

The date and time the data was entered into the system (entry moment), e.g. 2026-01-01T00:00:00Z.

Default: `null`.

**Count** `integer | null`

Number of results to return per page. Workday returns 100 results per page by default.

Default: `null`.

**Include\_User\_Based\_Security\_Group\_Assignment\_Data** `boolean | null`

Boolean flag to indicate include or not the User-Based Security Groups assigned to the Workday Account.

Default: `null`.

**Page** `integer | null`

Page number of results to return. If you set Page, also set As\_Of\_Entry\_DateTime so the result set stays the same between requests.

Default: `null`.

**User\_Based\_Security\_Group\_Name** `string | null`

User-Based Security Group Name in the Request Criteria. Use instead of Workday\_Account\_User\_Name to list a group's members.

Default: `null`.

**Workday\_Account\_User\_Name** `string | null`

Workday Account Name used in the Request Criteria for Assign User-Based Security Groups Request.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List Workday account sign-ons

Action ID: `tools.workday.list_workday_account_signons`

Get sign-ons and sign-on attempts for valid Workday accounts, including sign-on time, IP address, authentication type, MFA, device, and failure details. The time range must be less than 24 hours.

Reference: [https://community.workday.com/sites/default/files/file-hosting/productionapi/Identity\_Management/v47.1/Get\_Workday\_Account\_Signons.html](https://community.workday.com/sites/default/files/file-hosting/productionapi/Identity_Management/v47.1/Get_Workday_Account_Signons.html)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**From\_DateTime** `string` *required*

Request Signon information from this time. The time range between the From\_DateTime and To\_DateTime must be less than 24 hours.

**To\_DateTime** `string` *required*

Request Signon information to this time. The time range between the From\_DateTime and To\_DateTime must be less than 24 hours.

**As\_Of\_Entry\_DateTime** `string | null`

The date and time the data was entered into the system (entry moment), e.g. 2026-01-01T00:00:00Z.

Default: `null`.

**Count** `integer | null`

Number of results to return per page. Workday returns 100 results per page by default.

Default: `null`.

**Page** `integer | null`

Page number of results to return. If you set Page, also set As\_Of\_Entry\_DateTime so the result set stays the same between requests.

Default: `null`.

**User\_Name** `string | null`

An optional User Name regular expression used to match Workday Accounts.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List worker direct reports

Action ID: `tools.workday.list_worker_direct_reports`

Retrieve a collection of direct reports for a specific worker.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/directReports](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/directReports)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List worker history

Action ID: `tools.workday.list_worker_history`

Retrieve a collection of history items for a specific worker.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/history](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/history)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List worker leaves of absence

Action ID: `tools.workday.list_worker_leaves_of_absence`

Retrieve the leaves of absence for a specified worker ID.

Reference: [https://developer.workday.com/rest-api-explorer/docs/absenceManagement/v5#get-/workers/-ID-/leavesOfAbsence](https://developer.workday.com/rest-api-explorer/docs/absenceManagement/v5#get-/workers/-ID-/leavesOfAbsence)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**fromDate** `string | null`

The start of a date range filter using the yyyy-mm-dd format.

Default: `null`.

**leaveType** `array[string] | null`

The Workday ID of the type of leave of absence. You can specify multiple leaveType query parameters.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**status** `array[string] | null`

The Workday ID of the status of the leave of absence. The valid statuses are Successfully Completed, In Progress, Canceled, Rescinded, and Process Terminated.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

**toDate** `string | null`

The end of a date range filter using the yyyy-mm-dd format.

Default: `null`.

## List worker organizations

Action ID: `tools.workday.list_worker_organizations`

Retrieve a collection of organizations for a specific worker.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/organizations](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers/-ID-/organizations)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List worker service dates

Action ID: `tools.workday.list_worker_service_dates`

Retrieve a collection of service dates for the specified worker ID.

Reference: [https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/workers/-ID-/serviceDates](https://developer.workday.com/rest-api-explorer/docs/staffing/v7#get-/workers/-ID-/serviceDates)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List worker time off details

Action ID: `tools.workday.list_worker_time_off_details`

Retrieve a collection of time off details for a specified worker.

Reference: [https://developer.workday.com/rest-api-explorer/docs/absenceManagement/v5#get-/workers/-ID-/timeOffDetails](https://developer.workday.com/rest-api-explorer/docs/absenceManagement/v5#get-/workers/-ID-/timeOffDetails)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**fromDate** `string | null`

The start of a date range filter using the yyyy-mm-dd format.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**status** `array[string] | null`

The Workday ID of the time off status. You can specify multiple status query parameters.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

**timeOffType** `array[string] | null`

The Workday ID of the Time Off Type. You can specify multiple timeOffType query parameters.

Default: `null`.

**toDate** `string | null`

The end of a date range filter using the yyyy-mm-dd format.

Default: `null`.

## List WQL data source fields

Action ID: `tools.workday.list_wql_data_source_fields`

Retrieve the fields of a data source, including the related business object of each field.

Reference: [https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/dataSources/-ID-/fields](https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/dataSources/-ID-/fields)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**ID** `string` *required*

The Workday ID of the resource.

**alias** `string | null`

The alias of the data source field.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**searchString** `string | null`

The string to be searched in case insensitive manner within the descriptors of the data source fields.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## List WQL data sources

Action ID: `tools.workday.list_wql_data_sources`

Retrieve a collection of data sources, including their primary business objects.

Reference: [https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/dataSources](https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/dataSources)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**alias** `string | null`

The alias of the data source.

Default: `null`.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**dataSourceIndexType** `string | null`

The parameter is used to filter "Indexed" and "Non-indexed" data sources.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**searchString** `string | null`

The string to be searched in case insensitive manner within the descriptors of the data sources.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## Run WQL query

Action ID: `tools.workday.run_wql_query`

Return the data from a Workday Query Language (WQL) query. You can only view data you have security access to. Queries longer than 2,048 characters are not supported by this GET endpoint.

Reference: [https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/data](https://developer.workday.com/rest-api-explorer/docs/wql/v1#get-/data)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**query** `string` *required*

The WQL query that retrieves the data. Example: SELECT worker from allWorkers.

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.

## Search workers

Action ID: `tools.workday.search_workers`

Retrieve a collection of workers, optionally filtered by a search string.

Reference: [https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers](https://developer.workday.com/rest-api-explorer/docs/common/v1#get-/workers)

### Secrets

Required secrets:

* `workday_oauth`: OAuth token `WORKDAY_USER_TOKEN`.

### Input fields

**base\_url** `string | null`

Workday services host, e.g. [https://wd2-impl-services1.workday.com](https://wd2-impl-services1.workday.com). Defaults to the `workday.base_url` workspace variable.

Default: `null`.

**limit** `integer | null`

The maximum number of objects in a single response. The default is 20. The maximum is 100.

Default: `null`.

**offset** `integer | null`

The zero-based index of the first object in a response collection. The default is 0. Use offset with the limit parameter to control paging of a response collection.

Default: `null`.

**search** `string | null`

Search string to match workers on, such as a name or worker ID.

Default: `null`.

**tenant** `string | null`

Workday tenant name. Defaults to the `workday.tenant` workspace variable.

Default: `null`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.