Vaquill AI · Schema

DocumentUpdateRequest

Move a document between folders. That is the whole of it. The web app's `PATCH /documents/{id}` also accepts `filename`, `matterId` and `metadata`, and none of the three can be published here. `filename` and `matterId` are both INSIDE the R2 object key. `r2_storage._generate_file_key` composes `orgs/{org}/matters/{matter}/docs/{doc}/{filename}`, and both `r2_storage.download_document` and `adapters/document_content._object_key` REGENERATE that key from the row rather than reading a stored path. So changing either one makes the original permanently unreadable, with no error at write time and no error until somebody asks for the file. The web app has that defect today; publishing the fields here would inherit it, and a moved document is a copy-then-delete job rather than a PATCH. `metadata` is free-form JSONB whose keys the ingest pipeline owns: `{"handwritten": ...}` is written by `upload_store._insert_placeholder` and read back by the finalize task. Publishing it lets a customer overwrite a key a worker depends on.

LegalStatutesRegulationsLegal ResearchLawComplianceLegal TechGovernment DataMCPIndiaContracts

Properties

Name Type Description
folderId object `fld_` identifier of the folder to file this document under. Must belong to your organization. Send null to unfile it. Filename and matter cannot be changed: both are part of the stored object's ident
View JSON Schema on GitHub

JSON Schema

vaquill-ai-document-update-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vaquill-ai/json-schema/vaquill-ai-document-update-request-schema.json",
  "title": "DocumentUpdateRequest",
  "description": "Move a document between folders. That is the whole of it.\n\nThe web app's `PATCH /documents/{id}` also accepts `filename`, `matterId`\nand `metadata`, and none of the three can be published here.\n\n`filename` and `matterId` are both INSIDE the R2 object key.\n`r2_storage._generate_file_key` composes\n`orgs/{org}/matters/{matter}/docs/{doc}/{filename}`, and both\n`r2_storage.download_document` and `adapters/document_content._object_key`\nREGENERATE that key from the row rather than reading a stored path. So\nchanging either one makes the original permanently unreadable, with no error\nat write time and no error until somebody asks for the file. The web app has\nthat defect today; publishing the fields here would inherit it, and a moved\ndocument is a copy-then-delete job rather than a PATCH.\n\n`metadata` is free-form JSONB whose keys the ingest pipeline owns:\n`{\"handwritten\": ...}` is written by `upload_store._insert_placeholder` and\nread back by the finalize task. Publishing it lets a customer overwrite a\nkey a worker depends on.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vaquill-ai-documents-api-openapi.yml#/components/schemas/DocumentUpdateRequest",
  "properties": {
    "folderId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Folderid",
      "description": "`fld_` identifier of the folder to file this document under. Must belong to your organization. Send null to unfile it. Filename and matter cannot be changed: both are part of the stored object's identity."
    }
  },
  "additionalProperties": false,
  "type": "object"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vaquill-ai-document-update-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.