---
updatedAt: 2025-02-14T21:21:33.000Z
agentTools:
  projectIndex: https://developer.liquidplanner.com/llms.txt
---

# clients/:id

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "treeitems",
    "version": "1.0"
  },
  "paths": {
    "/workspaces/{workspace_id}/clients/{id}": {
      "put": {
        "tags": [
          "Client"
        ],
        "summary": "clients/:id",
        "security": [
          {
            "Bearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/client"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "workspace_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/clientWrapper"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://app.liquidplanner.com/api/v1"
    }
  ],
  "components": {
    "requestBodies": {
      "clientWrapper": {
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/clientWrapper"
            }
          }
        },
        "required": true
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "client": {
        "type": "object",
        "properties": {
          "work": {
            "readOnly": true,
            "description": "sum of the work tracked against items contained by this client",
            "type": "integer"
          },
          "alerts": {
            "readOnly": true,
            "description": "array of zero or more alerts",
            "type": "string"
          },
          "created_at": {
            "readOnly": true,
            "description": "",
            "type": "string"
          },
          "created_by": {
            "readOnly": true,
            "description": "",
            "type": "integer"
          },
          "done_on": {
            "readOnly": false,
            "description": "timestamp specified by user (or defaulted to \"now\") when the client is marked done",
            "type": "string"
          },
          "started_on": {
            "readOnly": true,
            "description": "the date on which work first started for the client",
            "type": "string"
          },
          "description": {
            "readOnly": false,
            "description": "plain-text description of the client",
            "type": "string"
          },
          "earliest_finish": {
            "readOnly": true,
            "description": "timestamp for 10% probable finish of all tasks in the client",
            "type": "string"
          },
          "earliest_start": {
            "readOnly": true,
            "description": "timestamp for 10% probable start of some task in the client",
            "type": "string"
          },
          "expected_finish": {
            "readOnly": true,
            "description": "timestamp for 50% probable finish of all tasks in the client",
            "type": "string"
          },
          "expected_start": {
            "readOnly": true,
            "description": "timestamp for 50% probable start of some task in the client",
            "type": "string"
          },
          "p98_finish": {
            "readOnly": true,
            "description": "timestamp for 98% probable finish of latest task in the client",
            "type": "string"
          },
          "has_note": {
            "readOnly": true,
            "description": "true if there is a note for this client",
            "type": "boolean"
          },
          "high_effort_remaining": {
            "readOnly": true,
            "description": "high (worst case) estimate of remaining effort to complete client",
            "type": "integer"
          },
          "is_done": {
            "readOnly": false,
            "description": "boolean, if set to true, all tasks in the client are done and therefore not scheduled",
            "type": "boolean"
          },
          "is_on_hold": {
            "readOnly": false,
            "description": "boolean, if set to true, all tasks in the client are not scheduled",
            "type": "boolean"
          },
          "effective_is_on_hold": {
            "readOnly": true,
            "description": "boolean, if set to true, all tasks in the client are not scheduled",
            "type": "string"
          },
          "latest_finish": {
            "readOnly": true,
            "description": "timestamp for 90% probable finish of all tasks in the client",
            "type": "string"
          },
          "low_effort_remaining": {
            "readOnly": true,
            "description": "low (best case) estimate of remaining effort to complete all tasks for this client",
            "type": "integer"
          },
          "manual_alert": {
            "readOnly": false,
            "description": "arbitrary string; if nonblank, generates an alert on this item",
            "type": "string"
          },
          "name": {
            "readOnly": false,
            "description": "name of this client",
            "type": "string"
          },
          "assignments": {
            "readOnly": false,
            "description": "",
            "type": "string"
          },
          "contract_value": {
            "readOnly": false,
            "description": "",
            "type": "string"
          },
          "external_reference": {
            "readOnly": false,
            "description": "arbitrary string; use e.g. to store a reference ID from an external system",
            "type": "string"
          },
          "occurrences": {
            "readOnly": true,
            "description": "array of schedules for each occurrence of the item",
            "type": "string"
          },
          "space_id": {
            "readOnly": true,
            "description": "space ID",
            "type": "integer"
          },
          "updated_at": {
            "readOnly": true,
            "description": "",
            "type": "string"
          },
          "updated_by": {
            "readOnly": true,
            "description": "",
            "type": "integer"
          },
          "billable_expenses": {
            "readOnly": true,
            "description": "The total of all billable lineitem expenses associated with this client.",
            "type": "string"
          },
          "nonbillable_expenses": {
            "readOnly": true,
            "description": "The total of all nonbillable lineitem expenses associated with this client.",
            "type": "string"
          },
          "total_expenses": {
            "readOnly": true,
            "description": "The total for all lineitem expenses, billable and nonbillable, associated with this client.",
            "type": "string"
          }
        }
      },
      "clientWrapper": {
        "type": "object",
        "properties": {
          "client": {
            "$ref": "#/components/schemas/client"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```