---
title: Get a workspace
description: Returns the workspace the caller can access, with its name and revision.
doc_version: 0.1.0-preview
last_updated: 2026-09-14
---

# Get a workspace

`GET /v1/workspaces/{workspaceId}`

Returns the workspace the caller can access, with its name and revision.

## Authentication

Send `Authorization: Bearer <GRAPHON_API_KEY>`. Read the key from the
GRAPHON_API_KEY environment variable. Never print it.

## Path parameters

- `workspaceId` (string) — The workspace id.

## Example request

```bash
curl \
  --url "https://api.graphon.ai/v1/workspaces/wspq7ws2np5l8z4" \
  --header "Authorization: Bearer $GRAPHON_API_KEY"
```

## CLI

```bash
graphon workspaces get
```

## Example response

```json
{
  "id": "wspq7ws2np5l8z4",
  "name": "Ada Lovelace’s workspace",
  "revision": 1
}
```

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
