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

# Update Project

> Update a project's fields.



## OpenAPI

````yaml /api-reference/openapi.json patch /v1/projects/{project_id}
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /v1/projects/{project_id}:
    patch:
      tags:
        - v1
        - protected
        - projects
      summary: Update Project
      description: Update a project's fields.
      operationId: update_project_v1_projects__project_id__patch
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            format: uuid
            title: Project Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProjectUpdate'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ProjectUpdate:
      additionalProperties: false
      description: Patch payload for a project. All fields optional — unset = unchanged.
      properties:
        description:
          anyOf:
            - maxLength: 1000
              type: string
            - type: 'null'
          description: New project description.
          title: Description
        instructions:
          anyOf:
            - maxLength: 20000
              type: string
            - type: 'null'
          description: New project-level instructions.
          title: Instructions
        name:
          anyOf:
            - maxLength: 255
              minLength: 1
              type: string
            - type: 'null'
          description: New project name.
          title: Name
        parent_project_id:
          anyOf:
            - type: string
            - type: 'null'
          description: New parent project UUID, or null to detach.
          title: Parent Project Id
      title: ProjectUpdate
      type: object
    ProjectResponse:
      properties:
        agents:
          default: []
          items:
            $ref: '#/components/schemas/ProjectAgentRef'
          title: Agents
          type: array
        created_by:
          title: Created By
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        id:
          format: uuid
          title: Id
          type: string
        instructions:
          anyOf:
            - type: string
            - type: 'null'
          title: Instructions
        mcp_instances:
          default: []
          items:
            $ref: '#/components/schemas/ProjectMcpInstanceRef'
          title: Mcp Instances
          type: array
        name:
          title: Name
          type: string
        parent_project_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Parent Project Id
        skills:
          default: []
          items:
            $ref: '#/components/schemas/ProjectSkillRef'
          title: Skills
          type: array
        workspace_id:
          title: Workspace Id
          type: string
      required:
        - id
        - workspace_id
        - created_by
        - name
        - description
        - instructions
        - parent_project_id
      title: ProjectResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ProjectAgentRef:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
      required:
        - id
        - name
      title: ProjectAgentRef
      type: object
    ProjectMcpInstanceRef:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
      required:
        - id
        - name
      title: ProjectMcpInstanceRef
      type: object
    ProjectSkillRef:
      properties:
        id:
          format: uuid
          title: Id
          type: string
        name:
          title: Name
          type: string
      required:
        - id
        - name
      title: ProjectSkillRef
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````