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

# List Labels

> List the project's labels, newest first. Page by passing the previous response's `nextCursor` as `cursor`; a null `nextCursor` means there are no further pages.



## OpenAPI

````yaml get /v1/labels
openapi: 3.0.0
info:
  title: Browserbase API
  description: Browserbase API for 3rd party developers
  version: v1
servers:
  - url: https://api.browserbase.com
    description: Public endpoint
    variables: {}
security:
  - BrowserbaseAuth: []
tags: []
paths:
  /v1/labels:
    get:
      summary: List Labels
      description: >-
        List the project's labels, newest first. Page by passing the previous
        response's `nextCursor` as `cursor`; a null `nextCursor` means there are
        no further pages.
      operationId: Labels_list
      parameters:
        - name: limit
          in: query
          description: Maximum number of results to return.
          required: false
          schema:
            type: integer
            default: 20
            maximum: 1000
            minimum: 1
        - name: cursor
          in: query
          description: >-
            Pagination cursor. Pass the nextCursor from the previous response to
            fetch the next page. Omit to start from the first page.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A page of labels.
          content:
            application/json:
              schema:
                description: A page of labels.
                type: object
                properties:
                  data:
                    description: The page of matching labels.
                    type: array
                    items:
                      $ref: '#/components/schemas/Label'
                  limit:
                    description: The maximum number of results returned in this page.
                    type: integer
                  nextCursor:
                    description: >-
                      Cursor for the next page. Pass it back as `cursor` on the
                      next request to continue paging. null when there are no
                      more results.
                    anyOf:
                      - type: string
                    nullable: true
                required:
                  - data
                  - limit
                  - nextCursor
        '400':
          description: Invalid query parameters or cursor.
          content:
            application/json:
              schema:
                type: object
                properties:
                  statusCode:
                    description: HTTP status code.
                    type: integer
                  error:
                    description: HTTP error name.
                    type: string
                  message:
                    description: Human-readable error message.
                    type: string
                required:
                  - statusCode
                  - error
                  - message
components:
  schemas:
    Label:
      description: A project-owned session label.
      type: object
      properties:
        id:
          description: Stable identifier of the label.
          type: string
          format: uuid
        projectId:
          description: The project that owns the label.
          type: string
          format: uuid
        name:
          description: Display name, unique ignoring case within the project.
          type: string
        createdAt:
          description: UTC timestamp when the label was created.
          type: string
          format: date-time
        updatedAt:
          description: UTC timestamp when the label was last renamed.
          type: string
          format: date-time
      required:
        - id
        - projectId
        - name
        - createdAt
        - updatedAt
  securitySchemes:
    BrowserbaseAuth:
      type: apiKey
      in: header
      name: X-BB-API-Key
      description: Your [Browserbase API Key](https://www.browserbase.com/settings).

````

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