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

# List a Team's Projects

> Lists the projects a team owns plus those granted to it. The requester
must be a member of the team.




## OpenAPI

````yaml /openapi.yaml get /v1/teams/{teamID}/projects
openapi: 3.1.0
info:
  title: px0 API
  description: >
    px[0] is an open-source prompt infrastructure toolkit for managing prompts
    in production. It replaces hardcoded prompt strings with versioned
    templates, in-process caching, and OpenTelemetry observability, so teams can
    iterate on prompts without touching application code. This is the OpenAPI
    specification for all the public APIs of px0.
  version: 1.0.0
servers:
  - url: http://localhost:3000
    description: Local development server
security: []
paths:
  /v1/teams/{teamID}/projects:
    get:
      tags:
        - Projects
      summary: List a Team's Projects
      description: |
        Lists the projects a team owns plus those granted to it. The requester
        must be a member of the team.
      operationId: listTeamProjects
      parameters:
        - name: teamID
          in: path
          required: true
          description: The ID of the team.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: List of projects
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectListResponse'
        '400':
          description: Invalid team id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '403':
          description: Forbidden (requester is not a member of the team)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
      security:
        - BearerAuth: []
components:
  schemas:
    ProjectListResponse:
      type: object
      required:
        - projects
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/Project'
    APIError:
      type: object
      properties:
        error:
          type: string
          example: invalid credentials
      required:
        - error
    Project:
      type: object
      required:
        - id
        - owning_team_id
        - name
        - slug
        - created_at
      properties:
        id:
          type: string
          format: uuid
        owning_team_id:
          type: string
          format: uuid
          description: The team that owns the project.
        name:
          type: string
          description: Human-readable project name, unique within the owning team.
        slug:
          type: string
          description: Normalized identifier, unique within the owning team.
        created_at:
          type: string
          format: date-time
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Use an access token retrieved from login (Bearer sess_...) or a
        programmatic API key (Bearer ak_...).

````