---
search:
  tags:
    - Workspace
    - GET
seo:
  description: >-
    Lists the workspaces the caller can act in, with its role in each. An API
    key reaches its own… Reference for the GET /workspaces endpoint in the AI
    Inbx API.
sidebar:
  label: List workspaces
  badge: GET
title: List workspaces
type: openapi-operation
---
Lists the workspaces the caller can act in, with its role in each. An API key reaches its own workspace alone. An OAuth token reaches every workspace it was granted, and a request with one that reaches several names the workspace it acts in with the `AIInbx-Workspace` header, set to an `id` from here; this list is the one call that needs no header.

`GET /workspaces`
