> For the complete documentation index, see [llms.txt](https://help.bioinsight.illumina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.bioinsight.illumina.com/clarity-lims/api-and-database/api-docs/automation/automation-tokens/step-automation-tokens.md).

# Step Automation Tokens

When configuring automations in BaseSpace Clarity LIMS, copy tokens from the Tokens list and paste them into the Command Line field. These tokens are available for use in step automations. If using multiple variables, add a space between each entry. All tokens and parameters are case-sensitive.

| Token                                                                                                                                          | Purpose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | Example                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| {username}                                                                                                                                     | Supplies the username being configured in client.properties for the Automation Worker running the automation.                                                                                                                                                                                                                                                                                                                                                                                                                                            | <p><code>cmd /c "C:\ai\ai.bat {username}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat apiuser</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| {password}                                                                                                                                     | Supplies the password of the username being configured in client.properties for the Automation Worker running the automation.                                                                                                                                                                                                                                                                                                                                                                                                                            | <p><code>cmd /c "C:\ai\ai.bat {password}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 3BlindMice</code></p><p>In log files, the password supplied on the command line is replaced with a series of \*\*\* characters.</p>                                                                                                                                                                                                                                                                                                                                                                                  |
| {baseURI}                                                                                                                                      | Supplies the base API URI to the triggered automation script.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | <p><code>cmd /c "C:\ai\ai.bat {baseURI}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat [https://lims.lan.29/api](https://help.bioinsight.illumina.com/clarity-lims/api-and-database/api-docs/automation/automation-tokens/https:/lims.lan.29/api)</code></p>                                                                                                                                                                                                                                                                                                                                                 |
| {stepURI}                                                                                                                                      | Supplies the URI of the step to the triggered automation script. Include the version parameter (ie, {stepURI:version}) to specify the version of the REST API to be accessed.                                                                                                                                                                                                                                                                                                                                                                            | <p><code>cmd /c "C:\ai\ai.bat {stepURI:v2}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat <https://yourServerNameOrIP/api/v2/steps/CAM-CSB-100212-24-197></code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| {artifactsURI}                                                                                                                                 | <p>Supplies the URI of the artifacts root to the triggered automation script.</p><p>Include the version parameter (ie, {artifactsURI:version}) to specify the version of the REST API to be accessed.</p>                                                                                                                                                                                                                                                                                                                                                | <p><code>cmd /c "C:\ai\ai.bat {artifactsURI:v2}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat <https://yourServerNameOrIP/api/v2/artifacts></code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| <p>{processURI}</p><p>{stepURI} token is preferred.</p><p>{processURI} is deprecated and less accurate. May be removed in future versions.</p> | <p>Supplies the URI of the step to the triggered automation script.</p><p>If using the deprecated {processURI} token, the addition of the version and scheme parameters is recommended ({processURI:version:scheme}).</p><p>Adding the version and scheme reduces the chance of a server and REST version upgrade unknowingly affecting your scripts.</p>                                                                                                                                                                                                | <p><code>cmd /c "C:\ai\ai.bat {processURI:v2:http}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat <https://yourServerNameOrIP/api/v2/processes/CAM-CSB-100212-24-197></code></p>                                                                                                                                                                                                                                                                                                                                                                                                                             |
| {processLuid}                                                                                                                                  | Supplies the LIMS ID of the step that triggered the automation script.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | <p><code>cmd /c "C:\ai\ai.bat {processLuid}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat CAM-CSB-100212-24-169</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| {udf:nameOfUDF}                                                                                                                                | Supplies the current value stored within a UDF configured as nameofUDF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | <p><code>cmd /c "C:\ai\ai.bat {udf:injection\_volume}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 12.4</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| {parentProcessUdf:nameOfUDF}                                                                                                                   | <p>Supplies the current value stored within a UDF configured as nameofUDF of the immediate parent step to the step that triggered the automation script.</p><p>The parent step must provide the inputs (derived samples) to the step.</p><p>In cases where there are multiple parents (ie, the inputs are derived from various steps) only the first of these parents is returned.</p>                                                                                                                                                                   | <p><code>cmd /c "C:\ai\ai.bat {parentProcessUdf:RunID}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat RUN\_BW1765</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| {parentProcessUdfN:nameOfUDF}                                                                                                                  | <p>Supplies the current value stored within a UDF configured as nameofUDF of the immediate parent step to the step that triggered the automation script. The parent step must provide the inputs (derived samples) to the step.</p><p>In cases where there are multiple parents (ie, the inputs are derived from various steps) all parent step IDs are treated as an array-based list.</p><p>N specifies the array list index position 0..n of the desired step.</p><p>{parentProcessUdf0:nameofUDF} is equivalent to {parentProcessUdf:nameofUDF}.</p> | <p><code>cmd /c "C:\ai\ai.bat {parentProcessUdf1:RunID}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat RUN\_HJ1865</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| {outputFileLuids}                                                                                                                              | Supplies the LIMS IDs of all step output file placeholders.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              | <p><code>cmd /c "C:\ai\ai.bat {outputFileLuids}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat "BAR103A1CO248" "BAR103A1CO249" "BAR103A1CO250" "BAR103A1CO251" "BAR103A3CO158" "BAR103A3CO159" "BAR103A3CO160" "BAR103A3CO161"</code></p>                                                                                                                                                                                                                                                                                                                                                                    |
| {outputFileLuidN}                                                                                                                              | Supplies the LIMS ID for the specified step output file placeholder. All output file placeholders applying to inputs of the step are treated as an array-based list, where N specifies the array list index position \[0..n] of the desired file.                                                                                                                                                                                                                                                                                                        | <p>Assuming the same eight output files as in the previous example:</p><p><code>cmd /c "C:\ai\ai.bat {outputFileLuid0}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat BAR103A1CO248</code></p><p><code>cmd /c "C:\ai\ai.bat {outputFileLuid1}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat BAR103A1CO249</code></p><p><code>cmd /c "C:\ai\ai.bat {outputFileLuid7}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat BAR103A3CO161</code></p>                                                                                                                                         |
| {compoundOutputFileLuids}                                                                                                                      | Supplies the LIMS IDs for all shared step output file placeholders.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | <p><code>cmd /c "C:\ai\ai.bat {compoundOutputFileLuids}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat "92-527" "92-528" "100-541" "100-544"</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| {compoundOutputFileLuidN}                                                                                                                      | Supplies the LIMS ID for the specified step output file placeholder that applies to an individual input. All output file placeholders applying to individual inputs for the step are treated as an array-based list, where \*N specifies the array list index position \[0..n] of the desired file.                                                                                                                                                                                                                                                      | <p>Assuming the same four output files as in the previous example:</p><p><code>cmd /c "C:\ai\ai.bat {compoundOutputFileLuid0}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 92-527</code></p><p><code>cmd /c "C:\ai\ai.bat {compoundOutputFileLuid1}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 92-528</code></p><p><code>cmd /c "C:\ai\ai.bat {compoundOutputFileLuid2}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 100-541</code></p><p><code>cmd /c "C:\ai\ai.bat {compoundOutputFileLuid3}"</code></p><p>resolves to:</p><p><code>cmd /c C:\ai\ai.bat 100-544</code></p> |
| Deprecated {parentProcessLuid\*} tokens                                                                                                        | <p>The following tokens have been deprecated:</p><p>• {parentProcessLuid}</p><p>• {parentProcessLuids}</p><p>• {parentProcessLuidN}</p><p>These tokens were only applicable to steps that take file inputs. File inputs are no longer supported in the Clarity LIMS.</p>                                                                                                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.bioinsight.illumina.com/clarity-lims/api-and-database/api-docs/automation/automation-tokens/step-automation-tokens.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
