Workspace

Inspect the authenticated workspace

Returns the workspace bound to the provided public API key along with the effective authentication context.

get/v1/workspace

Request

  • Base URL: https://api.trendtrack.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.trendtrack.io/v1/workspace
  • Auth: HTTP bearer

Response

Workspace snapshot for the authenticated public API credential. The response also includes the X-Request-Id header.

requestIdstring required

Request identifier mirrored in the X-Request-Id response header.

Example response

{
  "requestId": "38558568-a304-4682-a798-2578e37345f0",
  "workspace": {
    "id": "ws_123",
    "slug": "my-workspace",
    "name": "My Workspace",
    "createdAt": "2024-11-12T16:12:43.931Z"
  },
  "authenticatedAs": {
    "accessLevel": "full_access"
  },
  "credential": {
    "id": "cred_123",
    "name": "Production key",
    "createdAt": "2026-04-20T07:24:00.246Z",
    "lastUsedAt": "2026-04-20T07:28:18.682Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.