Workday · Capability

Workday HCM API — Organizations

Workday HCM API — Organizations. 2 operations. Lead operation: Get Supervisory Organizations. Self-contained Naftiko capability covering one Workday business surface.

Run with Naftiko WorkdayOrganizations

What You Can Do

GET
Getsupervisoryorganizations — Get Supervisory Organizations
/v1/supervisoryorganizations
GET
Getsupervisoryorganizationbyid — Get Supervisory Organization by Id
/v1/supervisoryorganizations/{id}

MCP Tools

get-supervisory-organizations

Get Supervisory Organizations

read-only idempotent
get-supervisory-organization-id

Get Supervisory Organization by Id

read-only idempotent

Capability Spec

hcm-organizations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Workday HCM API — Organizations
  description: 'Workday HCM API — Organizations. 2 operations. Lead operation: Get Supervisory Organizations. Self-contained
    Naftiko capability covering one Workday business surface.'
  tags:
  - Workday
  - Organizations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    WORKDAY_API_KEY: WORKDAY_API_KEY
capability:
  consumes:
  - type: http
    namespace: hcm-organizations
    baseUri: https://wd2-impl-services1.workday.com/ccx/api/v1/{tenant}
    description: Workday HCM API — Organizations business capability. Self-contained, no shared references.
    resources:
    - name: supervisoryOrganizations
      path: /supervisoryOrganizations
      operations:
      - name: getsupervisoryorganizations
        method: GET
        description: Get Supervisory Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: supervisoryOrganizations-ID
      path: /supervisoryOrganizations/{ID}
      operations:
      - name: getsupervisoryorganizationbyid
        method: GET
        description: Get Supervisory Organization by Id
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.WORKDAY_API_KEY}}'
  exposes:
  - type: rest
    namespace: hcm-organizations-rest
    port: 8080
    description: REST adapter for Workday HCM API — Organizations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/supervisoryorganizations
      name: supervisoryorganizations
      description: REST surface for supervisoryOrganizations.
      operations:
      - method: GET
        name: getsupervisoryorganizations
        description: Get Supervisory Organizations
        call: hcm-organizations.getsupervisoryorganizations
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/supervisoryorganizations/{id}
      name: supervisoryorganizations-id
      description: REST surface for supervisoryOrganizations-ID.
      operations:
      - method: GET
        name: getsupervisoryorganizationbyid
        description: Get Supervisory Organization by Id
        call: hcm-organizations.getsupervisoryorganizationbyid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: hcm-organizations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Workday HCM API — Organizations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-supervisory-organizations
      description: Get Supervisory Organizations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hcm-organizations.getsupervisoryorganizations
      outputParameters:
      - type: object
        mapping: $.
    - name: get-supervisory-organization-id
      description: Get Supervisory Organization by Id
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: hcm-organizations.getsupervisoryorganizationbyid
      outputParameters:
      - type: object
        mapping: $.