> ## Documentation Index
> Fetch the complete documentation index at: https://browseruse-0aece648-larsen-v1-unified-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List Agent Workspaces

> List agent workspaces, newest-first.



## OpenAPI

````yaml /cloud/openapi/v1.json get /agent-workspaces
openapi: 3.1.0
info:
  title: Browser Use API v1
  summary: Unified /api/v1 preview spec, non-production only
  version: 1.0.0
servers:
  - url: https://api-staging-ufcbwvyv9yifyyvc3.browser-use.com/api/v1
    description: Browser Use API v1 (staging)
security: []
paths:
  /agent-workspaces:
    get:
      tags:
        - Agent workspaces
      summary: List Agent Workspaces
      description: List agent workspaces, newest-first.
      operationId: list_agent_workspaces_agent_workspaces_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            default: 50
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentWorkspaceList'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    AgentWorkspaceList:
      properties:
        nextCursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Nextcursor
          description: Cursor for the next page, or null
        hasMore:
          type: boolean
          title: Hasmore
          description: Whether more pages exist
          default: false
        items:
          items:
            $ref: '#/components/schemas/AgentWorkspace'
          type: array
          title: Items
      type: object
      required:
        - items
      title: AgentWorkspaceList
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AgentWorkspace:
      properties:
        id:
          type: string
          format: uuid
          title: Id
          description: Workspace id — pass this to share a disk across runs.
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
          description: Human-readable label, if set.
        createdAt:
          type: string
          format: date-time
          title: Createdat
          description: When the workspace was created.
      type: object
      required:
        - id
        - createdAt
      title: AgentWorkspace
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-Browser-Use-API-Key

````