Skip to content

Workspace

Retrieve the workspace associated with your API key.

View as Markdown

Get workspace

Returns basic information about the workspace your API key belongs to. Requires the read scope.

GEThttps://api.smoketest.sh/v1/workspacescope: read
Shell
curl https://api.smoketest.sh/v1/workspace \
  -H "Authorization: Bearer $SMOKETEST_API_KEY"

Sample response

JSON
{
  "id": "018e1234-abcd-7000-8000-abc123456789",
  "name": "Acme Corp",
  "slug": "acme-corp",
  "createdAt": "2025-11-01T09:00:00.000Z"
}
FieldTypeDescription
idUUIDWorkspace identifier
namestringDisplay name of the workspace
slugstringURL-safe identifier
createdAtISO 8601When the workspace was created

On this page