> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getsteerco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List workspaces

> List the workspaces your key can use. Send one's id in the X-Workspace-Id header of every tool call.



## OpenAPI

````yaml /openapi.json get /v1/workspaces
openapi: 3.1.0
info:
  title: Steerco API
  version: 2.0.0
  description: >-
    Read and change your Steerco workspace: companies, people, mail, meetings,
    deals, sequences, tasks, lead finders and website visitors. The REST API and
    the MCP server run the same tools.
servers:
  - url: https://api.getsteerco.com
security: []
paths:
  /v1/workspaces:
    get:
      tags:
        - Workspaces
      summary: List workspaces
      description: >-
        List the workspaces your key can use. Send one's id in the
        X-Workspace-Id header of every tool call.
      operationId: list_workspaces
      responses:
        '200':
          description: Your workspaces
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Workspace'
        '401':
          description: The API key is missing or not valid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    Workspace:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        view:
          type: string
          enum:
            - Sales
            - CS
          description: >-
            Which view the organization opens in. Sales has deals, sequences,
            conversations and tasks. CS has presentations and workflows.
      required:
        - id
        - name
        - view
    Error:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
      required:
        - error
        - code
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key, starting ak_. Create one under Settings > MCP and API in
        Steerco.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.