> ## 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 agent assignments

> List the agents an action is assigned to.

Returns the agent assignments for one action.

<Note>
  Action assignments are stored but not enforced at runtime; whether an agent can invoke an action is decided by [Rulebook](/en/automations/rulebook) wiring and the rule's own agent assignments. See [Assign to agents](/en/api-reference/assign-action-agents).
</Note>

## Headers

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

## Path parameters

<ParamField path="id" type="string" required>
  Action ID whose assignments you want.
</ParamField>

## Response

Returns a top-level array of [`Agent assignment`](/en/api-reference/actions-and-attributes#agent-assignment-object) objects.

## 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>
</AccordionGroup>
