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

# Update a project

> Rename a Project or edit its description.

This is a partial update — only the fields you send change; the rest stay as they were. Send an empty value (e.g. `description: ""`) to clear a field.


## OpenAPI

````yaml api-reference/openapi.json PATCH /projects/{project_id}
openapi: 3.1.0
info:
  title: Biomni Public API — V0
  description: >-
    The public API for **Biomni** — the AI agent platform for clinical genomics
    (variant annotation, ClinVar lookups, PMID-cited literature, and project
    file drives). Create projects and Tasks, send messages to the agent, stream
    its replies, manage files, and check your usage — all from your own code.


    **Authentication**: send `Authorization: Bearer <your-api-key>`. The adapter
    forwards your key straight to Biomni; it never stores it.


    **Safe retries**: send `Idempotency-Key: <token>` on POST endpoints
    (`/projects`, `/tasks`, `/messages`, `/files/uploads`) so a retried request
    won't create a duplicate.
  version: 0.1.0
servers:
  - url: https://api.phylo.bio/api/v1
security: []
paths:
  /projects/{project_id}:
    patch:
      tags:
        - projects
      summary: Update a project
      description: Rename a Project or edit its description.
      operationId: update_project_projects__project_id__patch
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            title: Project Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateProjectRequest'
            examples:
              rename:
                summary: Rename only
                value:
                  name: Patient001 BRCA1 — final report
              full:
                summary: Rename and edit the description
                value:
                  name: Patient001 BRCA1 — final report
                  description: Sign-off review pass complete.
      responses:
        '200':
          description: Project after update.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
              example:
                id: proj_a4374b138a
                object: project
                name: adapter demo 111024
                description: Created via the Biomni API
                created: 1779131424
                drive_stats:
                  file_count: 2
                  total_bytes: 18234
      security:
        - bearerAuth: []
components:
  schemas:
    UpdateProjectRequest:
      properties:
        name:
          anyOf:
            - type: string
              maxLength: 128
              minLength: 1
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
              maxLength: 1024
            - type: 'null'
          title: Description
          description: Free-text description of the Project.
      type: object
      title: UpdateProjectRequest
    Project:
      properties:
        id:
          type: string
          title: Id
        object:
          type: string
          const: project
          title: Object
          default: project
        name:
          type: string
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
          description: Free-text description of the Project.
        created:
          type: integer
          title: Created
        updated:
          anyOf:
            - type: integer
            - type: 'null'
          title: Updated
        drive_stats:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Drive Stats
        org_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Org Id
        org_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Org Name
      type: object
      required:
        - id
        - name
        - created
      title: Project
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Requires an API key. See the Authentication guide.

````