---
title: "Get all input mappings that originates from the given workflow specification"
method: GET
path: "/workflow-specs-mappings/{workflowSpecId}"
tags: ["WorkflowSpecs"]
---

# Get all input mappings that originates from the given workflow specification

`GET /workflow-specs-mappings/{workflowSpecId}`

## Request

- Base URL: `https://api.delfi.slb.com/fdplan/evaluation/v1`
- URL: `https://api.delfi.slb.com/fdplan/evaluation/v1/workflow-specs-mappings/{workflowSpecId}`
- Auth: API key in header `Authorization` and API key in header `appkey`

Get all input mappings that originates from the given workflow specification.

## Path parameters

- `workflowSpecId` string, required

## Query parameters

- `version` integer, required

## Headers

- `slb-partition-id` string, required

## Response `200`

Workflow specification input mappings originating from the given workflow specification

- WorkflowSpecMapping[]
  - `fromWorkflowSpec` VersionId, required: A specification reference which allows the API users to specify the version of a specification when creating or updating a parent specification.
    - `id` string, required: The specification ID.
    - `version` integer, required: The version of the specification of the given ID.
  - `toWorkflowSpec` VersionId, required: A specification reference which allows the API users to specify the version of a specification when creating or updating a parent specification.
    - `id` string, required: The specification ID.
    - `version` integer, required: The version of the specification of the given ID.
  - `inputMappings` InputMapping[], required
    - `fromAddress` SpecAddress, required: An address used to describe the location of a Spec within a WorkflowSpec. Used to enrich the spec model with additional attributes such as specifying the location of a data container or providing annotations.
      - `type` 'Invalid' | 'Computation' | 'DataTypeInput' | 'DataTypeOutput' | 'Workflow', required: Whether the address refers to a data-type input, a data-type output or a computation specification.
      - `computationIndex` integer: The zero based index of the Computation Spec.
      - `dataTypeIndex` integer: The zero based index of a data-type with respect to a computation specification. Inputs and outputs are treated as separate ordered lists.
    - `toAddress` SpecAddress, required: An address used to describe the location of a Spec within a WorkflowSpec. Used to enrich the spec model with additional attributes such as specifying the location of a data container or providing annotations.
      - `type` 'Invalid' | 'Computation' | 'DataTypeInput' | 'DataTypeOutput' | 'Workflow', required: Whether the address refers to a data-type input, a data-type output or a computation specification.
      - `computationIndex` integer: The zero based index of the Computation Spec.
      - `dataTypeIndex` integer: The zero based index of a data-type with respect to a computation specification. Inputs and outputs are treated as separate ordered lists.

## Other responses

- `401`: Unauthorized.
- `404`: Workflow specification was not found
- `default`: Unexpected error.

## Changes

- **2026-09-21** `5f813005dce5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/slb/apis/evaluation/changes/workflow-specs-mappings/:workflowSpecId/get.md)

---

[API](https://skmtc.dev/slb/apis/evaluation.md) - [All operations](https://skmtc.dev/slb/apis/evaluation/llms.txt) - [OpenAPI document](https://skmtc.dev/slb/apis/evaluation/revisions/5f813005dce5?raw)
