staqlydocs
REST APIAPI referenceAuth

Get the workspace

Get the workspace

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

GET
/v1/workspace

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Response Body

OK

application/json
  1. response
id*string
name*string
plan*string

starter, plus, pro or business (cloud; an operator may also set a plan of their own), unlocked (Community Edition)

recovery_rotated_at*string
created_at*string
timezone*string

IANA time zone name (default UTC; the Community Edition starts in the machine's zone). Post repeats keep their local time of day in it across DST, and a schedule rule sent without tz runs in it.

curl -X GET 'https://staqly.example.com/v1/workspace'
{  "id": "string",  "name": "string",  "plan": "plus",  "recovery_rotated_at": "string",  "created_at": "string",  "timezone": "Europe/Warsaw"}