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

# Projects

> Get a project ID by a project developer ID



## OpenAPI

````yaml get /projects/v0
openapi: 3.0.0
info:
  title: Terraspect API
  version: 0.0.2
servers:
  - url: https://api.terraspect.earth
    description: Production server
security: []
tags:
  - name: Projects
    description: Endpoints for retrieving project and developer information
  - name: Impact
    description: Endpoints for accessing impact and community metrics
  - name: Financials
    description: Endpoints for accessing financial data (some require extended permissions)
paths:
  /projects/v0:
    get:
      summary: Get projects by project developer id
      parameters:
        - name: projectDeveloperId
          in: query
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectsResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    ProjectsResponse:
      type: object
      properties:
        projects:
          type: array
          items:
            $ref: '#/components/schemas/Project'
      required:
        - projects
    Project:
      type: object
      properties:
        project_id:
          type: string
          description: Unique identifier for the project
          example: proj_789012
        name:
          type: string
          description: Official project name
          example: Kisumu Reforestation Project
        project_currency:
          type: string
          description: ISO 4217 currency code
          example: KES
        project_developer:
          $ref: '#/components/schemas/ProjectDeveloper'
      required:
        - project_id
        - name
        - project_currency
        - project_developer
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
      required:
        - message
    ProjectDeveloper:
      type: object
      required:
        - project_developer_id
        - project_developer_name
        - country_code
        - country_name
      properties:
        project_developer_id:
          type: string
          description: Unique identifier for the project developer
          example: pd_123456
        project_developer_name:
          type: string
          description: Official name of the project developer
          example: Green Forest Initiative
        country_code:
          type: string
          description: ISO 3166-1 alpha-2 country code
          minLength: 2
          maxLength: 2
          example: KE
        country_name:
          type: string
          description: Full country name
          example: Kenya
  responses:
    BadRequest:
      description: Submitted request is not valid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthorized:
      description: Auth required endpoint was called without auth token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: User cannot perform requested action
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Something went wrong and there was not specific mapper for the exception
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'

````