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

# List directories

> Return all directories belonging to an organization, including auto-created directories such as Personal Connections.

Returns all directories belonging to the specified organization, including any auto-created directories such as Personal Connections.

### Path parameters

<ParamField path="organizationId" type="string" required>
  The UUID of the organization whose directories you want to list.
</ParamField>

### Response fields

<ResponseField name="directories" type="object[]">
  Array of directory objects. Each object contains the same fields as a single directory response: `id`, `name`, `type`, and `org_id`.
</ResponseField>

<RequestExample>
  ```bash curl theme={"dark"}
  curl "https://api.orbitsearch.com/v2/organizations/$ORGANIZATION_ID/directories" \
    -H "Authorization: Bearer $USER_ACCESS_TOKEN"
  ```
</RequestExample>
