Get Workspace
Workspaces
Get Workspace
Retrieve a specific workspace by ID
GET
Get Workspace
Documentation Index
Fetch the complete documentation index at: https://docs.tokencraft.dev/llms.txt
Use this file to discover all available pages before exploring further.
Get Workspace
Retrieves detailed information about a specific workspace. Access is membership-aware:- TEAM-owned workspace: all members can read.
- Non-TEAM workspace: owner-only.
Endpoint
Authentication
Requires a valid API token in the Authorization header.Request
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer token | Yes |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Workspace ID |
Response
Success Response
Status:200 OK
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique workspace identifier |
name | string | Workspace name |
description | string|null | Optional description |
user_id | string | Owner’s user ID |
created_at | string | ISO 8601 timestamp |
updated_at | string | ISO 8601 timestamp |
Examples
Error Responses
401 Unauthorized
404 Not Found
- Workspace ID doesn’t exist
- You do not have access to this workspace
- Invalid ID format
500 Internal Server Error
Next Steps
List Tokensets
Get all tokensets in this workspace
List Workspaces
Get all workspaces