Archust Docs
Documents

Update knowledge metadata (primary guard)

PATCH
/v1/documents/{id}/knowledge-metadata

Authorization

bearerAuth
AuthorizationBearer <token>

Clerk session JWT. Also send x-clerk-org-id if org context needed.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PATCH "https://example.com/v1/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/knowledge-metadata" \  -H "Content-Type: application/json" \  -d '{    "metadata": {}  }'
{  "id": "string",  "knowledge": {}}