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

# List projects accessible to a team

> Resolves projects granted through explicit assignment, project tags, or repository URL fragments. Use `sources` to see every matching access path.



## OpenAPI

````yaml /api-reference/openapi.json get /teams/{team_id}/projects
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: >-
    API for interacting with Corgea's scanning and vulnerability management
    features
servers:
  - url: https://www.corgea.app/api/v1
    description: Production server
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /teams/{team_id}/projects:
    parameters:
      - name: team_id
        in: path
        required: true
        description: Team ID
        schema:
          type: integer
    get:
      tags:
        - Teams
      summary: List projects accessible to a team
      description: >-
        Resolves projects granted through explicit assignment, project tags, or
        repository URL fragments. Use `sources` to see every matching access
        path.
      operationId: listTeamProjects
      responses:
        '200':
          description: Resolved team projects retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeamProjectsResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Team not found
components:
  schemas:
    TeamProjectsResponse:
      type: object
      required:
        - team_id
        - project_count
        - projects
      properties:
        team_id:
          type: integer
        project_count:
          type: integer
        projects:
          type: array
          items:
            $ref: '#/components/schemas/TeamProject'
    TeamProject:
      type: object
      required:
        - id
        - name
        - repo_url
        - tags
        - source
        - sources
      properties:
        id:
          type: integer
        name:
          type: string
        repo_url:
          type: string
          format: uri
          nullable: true
        tags:
          type: array
          items:
            type: string
        source:
          type: string
          description: Primary match source.
          enum:
            - explicit
            - tag
            - repo_url
        sources:
          type: array
          description: All access paths through which this project matches.
          items:
            type: string
            enum:
              - explicit
              - tag
              - repo_url
  responses:
    Unauthorized:
      description: Invalid or missing token
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Missing or invalid authorization header
    Forbidden:
      description: Permission denied or feature unavailable
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Permission denied
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: API key for authentication
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2 access token (JWT) in the Authorization header

````