brandContext
API · Context · Create a context document
Create a new context document and link it to the brand kit.
Two creation modes:
- Link existing: Provide document_id to link an existing KnowledgeDoc.
- Inline creation: Provide doc_type and name (plus optional description, data, content) to create a new KnowledgeDoc and link it automatically.
Singleton constraint: For predefined types (brand_voice, icps, usps, etc.), only one document per type per brandkit is allowed. Attempting to create a duplicate will return a 400 error.
The canonical_key is auto-set from doc_type if it matches a predefined type.
post/api/v1/brandkit/{brand_id}/context-documents
Request
- Base URLhttps://api.simplified.com
- AuthAPI key in header Authorization
Path parameters
brand_idstring uuid required
Brand kit UUID
Request body
Response
Context document created
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.