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

# Update a project

> Changes only the keys sent: the standard fields GET /v1/fields?object=project marks `writable` (title, description, status, priority, start_date, due_date and assignee, unless a sync in your workspace owns one) at the top level, and custom fields under `fields`. `null` clears a field: `assignee` unassigns the project and `priority` unsets it; `title`, `status` and a mandatory custom field cannot be cleared. `status` is a status name from the project's own status template, matched exactly, case included. `account` is set at create and cannot change. The project may not end before it starts. When a project that cascades dates has its set `start_date` moved to another date, its tasks move by the same amount; its `due_date` follows its tasks, so sending one is a 422. A project synced from another tool (`source` names that tool) takes custom fields only: a request with any standard field is a 409 and writes nothing, since that tool's next sync would replace it. Every key is checked before anything is written. A 500 whose `details` list fields as `written` means those standard fields were written and the custom values were not; it says whether to send them again or what refused them. A custom field written here is shown on the project in the app, unless someone removed it from this project. To add a field to the project without writing a value, as the app's field dialog does, use PUT /v1/objects/project/records/{project_id}/fields/{field_key}.



## OpenAPI

````yaml /api/statisfy-api.openapi.json patch /v1/objects/project/records/{project_id}
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/project/records/{project_id}:
    patch:
      tags:
        - projects
      summary: Update a project
      description: >-
        Changes only the keys sent: the standard fields GET
        /v1/fields?object=project marks `writable` (title, description, status,
        priority, start_date, due_date and assignee, unless a sync in your
        workspace owns one) at the top level, and custom fields under `fields`.
        `null` clears a field: `assignee` unassigns the project and `priority`
        unsets it; `title`, `status` and a mandatory custom field cannot be
        cleared. `status` is a status name from the project's own status
        template, matched exactly, case included. `account` is set at create and
        cannot change. The project may not end before it starts. When a project
        that cascades dates has its set `start_date` moved to another date, its
        tasks move by the same amount; its `due_date` follows its tasks, so
        sending one is a 422. A project synced from another tool (`source` names
        that tool) takes custom fields only: a request with any standard field
        is a 409 and writes nothing, since that tool's next sync would replace
        it. Every key is checked before anything is written. A 500 whose
        `details` list fields as `written` means those standard fields were
        written and the custom values were not; it says whether to send them
        again or what refused them. A custom field written here is shown on the
        project in the app, unless someone removed it from this project. To add
        a field to the project without writing a value, as the app's field
        dialog does, use PUT
        /v1/objects/project/records/{project_id}/fields/{field_key}.
      operationId: projects_update
      parameters:
        - in: path
          name: project_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              properties:
                assignee:
                  default: null
                  description: A user's id; null unassigns the project
                  title: Assignee
                  type: string
                description:
                  default: null
                  description: Free text
                  title: Description
                  type: string
                due_date:
                  default: null
                  description: YYYY-MM-DD
                  format: date
                  title: Due Date
                  type: string
                fields:
                  anyOf:
                    - additionalProperties: true
                      type: object
                    - type: 'null'
                  default: null
                  description: Custom field keys to values
                  title: Fields
                priority:
                  default: null
                  description: low, medium or high; null unsets it
                  enum:
                    - low
                    - medium
                    - high
                  title: Priority
                  type: string
                start_date:
                  default: null
                  description: YYYY-MM-DD
                  format: date
                  title: Start Date
                  type: string
                status:
                  default: null
                  description: A status name from the project's status template
                  title: Status
                  type: string
                title:
                  default: null
                  description: The project's name
                  title: Title
                  type: string
              type: object
        required: false
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Project'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    Project:
      properties:
        account:
          anyOf:
            - type: string
            - type: 'null'
          description: The id of the account the project is on
          title: Account
        account_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Account Name
        assignee:
          anyOf:
            - type: string
            - type: 'null'
          description: The assignee's user id
          title: Assignee
        created_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Created At
        creator:
          anyOf:
            - type: string
            - type: 'null'
          description: The creator's user id
          title: Creator
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        due_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Due Date
        fields:
          additionalProperties: true
          title: Fields
          type: object
        id:
          title: Id
          type: string
        priority:
          anyOf:
            - enum:
                - low
                - medium
                - high
              type: string
            - type: 'null'
          title: Priority
        source:
          anyOf:
            - type: string
            - type: 'null'
          title: Source
        start_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Start Date
        status:
          anyOf:
            - type: string
            - type: 'null'
          title: Status
        status_group:
          anyOf:
            - enum:
                - not_started
                - active
                - done
                - archived
              type: string
            - type: 'null'
          title: Status Group
        template:
          anyOf:
            - type: string
            - type: 'null'
          description: The id of the template the project was created from
          title: Template
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Updated At
      required:
        - id
      title: Project
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.