Get the workspace
Returns the name and organization_id of the credential’s workspace.
GET
/workspaceAuthorization
AuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
or
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.
Responses
200
Workspace identity
successbooleanrequireddataWorkspaceObjectrequiredShow propertiesHide properties
organization_idstringrequiredmin length 1
namestringrequiredmin length 1
request_idstringrequiredmin length 1
404
not_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
Array of
objectfieldstringrequiredcodestringrequiredAllowed:
requiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired