RedRover Logo

Workspaces

List Workspaces

Lists the workspaces your key or connected app can act on. This is the one endpoint that needs no X-Workspace-Id.

GET/workspaces
Scope: None neededAI Connector Tool: redrover_list_workspaces

Headers

  • AuthorizationstringRequired

    Bearer followed by an rr_live_ API key or a connected app's access token. See Authentication.

Query Parameters

  • limitinteger

    How many results to return, 1 to 100 (default 25)

    1 to 100 · default 25

  • offsetinteger

    How many results to skip (default 0)

    default 0

Response

200 A page of workspaces, by name.

  • dataobject[]Required
    Show 2 Child Fields
    • idstringRequired

      Workspace ID (UUID). Send it as X-Workspace-Id

    • namestringRequired

      Workspace name

  • paginationobjectRequired
    Show 3 Child Fields
    • limitintegerRequired

      Page size used for this response

    • offsetintegerRequired

      How many results were skipped

    • hasMorebooleanRequired

      True when more results follow at a higher offset

Errors

Every error uses the error envelope.

  • 400limit or offset is not valid
  • 401The Authorization header is missing, or the key is invalid or revoked
  • 403The key lacks the endpoint's scope, or cannot reach the workspace
  • 429More than 120 requests in a minute. Wait for Retry-After seconds
  • 500Something went wrong on our side
curl "https://app.tryredrover.com/api/public/v1/workspaces?limit=25" \
  -H "Authorization: Bearer $REDROVER_API_KEY"
200 Response
{
  "data": [
    {
      "id": "8f14e45f-ceea-4e1a-9c2b-6d7a1c3b9e21",
      "name": "Acme Analytics"
    }
  ],
  "pagination": {
    "limit": 25,
    "offset": 0,
    "hasMore": false
  }
}