> ## 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.

# Get a Project

> Fetches a project by ID. The requester must be able to reach the
project — as a member of the owning team or of a team granted access.
Projects the requester cannot reach are reported as not found.




## OpenAPI

````yaml /openapi.yaml get /v1/projects/{projectID}
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/projects/{projectID}:
    get:
      tags:
        - Projects
      summary: Get a Project
      description: |
        Fetches a project by ID. The requester must be able to reach the
        project — as a member of the owning team or of a team granted access.
        Projects the requester cannot reach are reported as not found.
      operationId: getProject
      parameters:
        - name: projectID
          in: path
          required: true
          description: The ID of the project.
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: The project
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
        '400':
          description: Invalid project id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIError'
        '404':
          description: Project not found or not reachable by the requester
          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:
    ProjectResponse:
      type: object
      required:
        - project
      properties:
        project:
          $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_...).

````