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

# treeitems/documents

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "associations",
    "version": "1.0"
  },
  "paths": {
    "/workspaces/{workspace_id}/treeitems/{treeitem_id}/documents": {
      "get": {
        "tags": [
          "Document"
        ],
        "summary": "treeitems/documents",
        "security": [
          {
            "Bearer": []
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/document"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "workspace_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "treeitem_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://app.liquidplanner.com/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "document": {
        "type": "object",
        "properties": {
          "created_at": {
            "readOnly": true,
            "description": "",
            "type": "string"
          },
          "created_by": {
            "readOnly": true,
            "description": "",
            "type": "integer"
          },
          "file_name": {
            "readOnly": false,
            "description": "file name, used in download links in the UI",
            "type": "string"
          },
          "description": {
            "readOnly": false,
            "description": "plaintext description of the file",
            "type": "string"
          },
          "item_id": {
            "readOnly": false,
            "description": "item ID",
            "type": "integer"
          },
          "space_id": {
            "readOnly": true,
            "description": "space ID",
            "type": "integer"
          },
          "updated_at": {
            "readOnly": true,
            "description": "",
            "type": "string"
          },
          "updated_by": {
            "readOnly": true,
            "description": "",
            "type": "integer"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```