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

# Get Workspace

> Retrieve workspace metadata for the current environment.

Returns workspace-level metadata associated with the provided workspace API key.

## Request

<ParamField header="Authorization" type="string" required>
  `Bearer <API_KEY>` from Console > Developers > Workspace API Keys.
</ParamField>

## Response

<ResponseField name="id" type="string">
  Workspace identifier (e.g., `org_xxx`).
</ResponseField>

<ResponseField name="apps_count" type="number">
  Total number of apps in the workspace.
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO-8601 timestamp for workspace creation. Consistent with the `createdAt` field returned by all other workspace endpoints.
</ResponseField>

<ResponseField name="created_at" type="number">
  Unix timestamp (seconds since epoch) for workspace creation. Kept for backward compatibility.
</ResponseField>

<RequestExample>
  ```bash theme={null}
  curl -H "Authorization: Bearer sk_workspace_test_..." \
    "https://sandbox.api.hopae.com/connect/v1/workspace"
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "id": "org_3C4Ysr9QkNkdbAZR5AD0uoLpgWl",
    "apps_count": 12,
    "createdAt": "2025-11-13T09:00:00.000Z",
    "created_at": 1731492000
  }
  ```
</ResponseExample>
