v1
latestOpenAPI 3.1.02026-07-1255227258.8 KBPatch Document Metadata
Path parameters
The id of the document.
The id of the document.
Headers
An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition.
An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition.
Request body
Example request
{
"metadata": {
"classified": "null (setting null deletes key from metadata)",
"editors": [
"Alice",
"Bob"
],
"published": true,
"articleCount": 42,
"title": "declassified report"
}
}Response
Successful Response
Example response
{
"metadata": {
"editors": [
"Alice",
"Bob"
],
"title": "declassified report",
"unchanged_key": "unchanged_value",
"updated_at": 1714491736216
}
}