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

# List Provider Projects

> List what a provider token can import from.

No workspace is involved: this only talks to the provider, so it needs an
authenticated user and nothing more.



## OpenAPI

````yaml /openapi.json post /integrations/providers/{provider}/projects
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers: []
security: []
paths:
  /integrations/providers/{provider}/projects:
    post:
      tags:
        - INTEGRATIONS
      summary: List Provider Projects
      description: >-
        List what a provider token can import from.


        No workspace is involved: this only talks to the provider, so it needs
        an

        authenticated user and nothing more.
      operationId: list_provider_projects_integrations_providers__provider__projects_post
      parameters:
        - name: provider
          in: path
          required: true
          schema:
            type: string
            title: Provider
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProviderProjectsRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderProjectsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
        - APIKeyHeader: []
components:
  schemas:
    ProviderProjectsRequest:
      properties:
        token:
          type: string
          title: Token
          description: >-
            API token for the provider. Used for this request only — Sink never
            stores it.
      type: object
      required:
        - token
      title: ProviderProjectsRequest
    ProviderProjectsResponse:
      properties:
        provider:
          type: string
          enum:
            - railway
            - vercel
            - render
          title: Provider
        projects:
          items:
            $ref: '#/components/schemas/ProviderProjectResponse'
          type: array
          title: Projects
      type: object
      required:
        - provider
        - projects
      title: ProviderProjectsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ProviderProjectResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        environments:
          items:
            $ref: '#/components/schemas/ProviderEnvironmentResponse'
          type: array
          title: Environments
          default: []
        services:
          items:
            $ref: '#/components/schemas/ProviderServiceResponse'
          type: array
          title: Services
          default: []
      type: object
      required:
        - id
        - name
      title: ProviderProjectResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ProviderEnvironmentResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: ProviderEnvironmentResponse
    ProviderServiceResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - name
      title: ProviderServiceResponse
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: /auth/login
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key

````