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

# List data steps

> List Data Steps, optionally filtered by action or attribute.

Returns [`Data Step`](/en/api-reference/actions-and-attributes#data-step-object) records in the workspace. Pass `toolId` to list only the steps for one action or attribute, ordered by `stepNumber`.

## Headers

<ParamField header="Authorization" type="string" required>
  Bearer token containing your Fini workspace API key. Format: `Bearer fini_...` The key needs `read` scope.
</ParamField>

## Query parameters

<ParamField query="toolId" type="string">
  Optional action or attribute ID. When set, returns only that record's steps, ordered by `stepNumber`.
</ParamField>

## Response

Returns a top-level array of [`Data Step`](/en/api-reference/actions-and-attributes#data-step-object) objects with sensitive values masked.

## Errors

<AccordionGroup>
  <Accordion title="401 Unauthorized" icon="lock">
    The API key is missing, malformed, revoked, or invalid.
  </Accordion>

  <Accordion title="403 Forbidden" icon="shield-halved">
    The API key does not include the `read` scope required for this route.
  </Accordion>

  <Accordion title="500 Internal Server Error" icon="triangle-exclamation">
    Fini failed while loading Data Steps, for example when `toolId` is not a valid ID.
  </Accordion>
</AccordionGroup>
