PeekPanda markpeekpandaDocumentation
For your AI
Dashboard

List workspaces

List where this credential may work, with the tenancy selector for each.

Download Markdown ↓

GEThttps://api.peekpanda.com/v1/workspaces

Request

This read has no query parameters. Call it before naming a workspace so you never guess an id.

This endpoint does not require any path, query, or body parameters.

Response

Each row carries the selector to send back as x-genviral-tenancy, or as the MCP workspace field. An API key and a connection pinned to one workspace list only that tenancy. An all-access connection lists personal plus every workspace its owner can currently reach.

Response fields

data[].selectorstring
data[].kindstring
data[].namestring

Authentication

Requires Bearer API credential or OAuth access token. Scope context:read. MCP calls get_context with action workspaces.

Errors

400invalid_request for an invalid filter, identity or limit.
401authentication_required for a missing or invalid credential.
402subscription_required when access is not entitled.
403authorization_required for a missing scope or unavailable preview access.
403workspace_not_accessible when x-genviral-tenancy names a workspace the credential cannot reach.
404not_found when the record is outside the accessible catalogue.
429rate_limited; honor Retry-After when present.

MCP request

Call get_context with action workspaces. Path fields go in params, filters in query, and a write body in body.

{
  "name": "get_context",
  "arguments": {
    "request": {
      "action": "workspaces"
    }
  }
}

Source

The credential itself and current workspace membership. Nothing is collected.

Refresh

Membership is read on every request, so a workspace the owner leaves drops out immediately.

AI agent or LLM? Read this page as markdown