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

# List Projects

> List all projects the user has access to.



## OpenAPI

````yaml openapi.json GET /projects
openapi: 3.1.0
info:
  title: Sb0 API
  version: 0.1.0
servers: []
security: []
paths:
  /projects:
    get:
      tags:
        - Projects
      summary: List Projects
      description: List all projects the user has access to.
      operationId: projects_list
      parameters:
        - description: Filter by namespace ID
          in: query
          name: namespace_id
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by namespace ID
            title: Namespace Id
        - description: Maximum number of results
          in: query
          name: limit
          required: false
          schema:
            default: 50
            description: Maximum number of results
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
        - description: Page number
          in: query
          name: page_number
          required: false
          schema:
            default: 1
            description: Page number
            minimum: 1
            title: Page Number
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ProjectListItem'
                title: Response Projects List
                type: array
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    ProjectListItem:
      description: >-
        Minimal project shape for discovery/listing.


        The /projects list endpoint is authorized via `discover` and must not
        leak

        read-level fields (e.g. description).
      properties:
        id:
          description: The unique identifier of the project.
          title: Id
          type: string
        name:
          description: Project name.
          title: Name
          type: string
        namespace_id:
          description: The namespace this project belongs to.
          title: Namespace Id
          type: string
      required:
        - id
        - namespace_id
        - name
      title: ProjectListItem
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````