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

# List Organizations

> Retrieve organizations for the current workspace with optional filters.

## Method

`GET` `/v1/organizations`

## Query Parameters

<ParamField query="q" type="string">Search query (matches name/description).</ParamField>
<ParamField query="category" type="string">Filter by organization category.</ParamField>
<ParamField query="modeKey" type="string">Filter by capability mode key.</ParamField>

## Headers

<ParamField header="Authorization" type="string">Bearer token with `organizations:read` scope.</ParamField>

## Request Example

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.voyantcloud.com/v1/organizations?q=travel&category=agency" \
    -H "Authorization: Bearer $VOYANT_API_KEY"
  ```

  ```javascript Node.js theme={null}
  const res = await fetch("https://api.voyantcloud.com/v1/organizations?modeKey=cruise", {
    headers: { Authorization: `Bearer ${process.env.VOYANT_API_KEY}` },
  })
  const payload = await res.json()
  ```

  ```python Python theme={null}
  import os, requests

  resp = requests.get(
    "https://api.voyantcloud.com/v1/organizations",
    params={"q": "travel"},
    headers={"Authorization": f"Bearer {os.environ['VOYANT_API_KEY']}"},
  )
  orgs = resp.json()
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "data": [
      {
        "id": "org_123",
        "name": "Voyant Cruises",
        "legalName": "Voyant Cruises SRL",
        "email": "contact@voyantcruises.com",
        "phone": "+40 700 000 001",
        "description": "Cruise specialist partner",
        "taxId": "RO12345678",
        "kind": "agency",
        "billingAddress": null,
        "visitingAddress": null,
        "metadata": null,
        "createdAt": "2025-01-20T10:00:00.000Z",
        "updatedAt": "2025-01-20T10:00:00.000Z"
      }
    ]
  }
  ```

  ```json 401 Unauthorized theme={null}
  { "error": "Workspace ID required" }
  ```
</ResponseExample>

<Tip>Workspace context must be present. Workspace-scoped API keys add this automatically.</Tip>
