Skip to main content
POST
/
v1
/
context-documents
Create Context Document
curl --request POST \
  --url https://api.example.com/v1/context-documents
{
  "data": {
    "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "title": "<string>",
    "document_type": "<string>",
    "is_global": true,
    "description": "<string>",
    "tags": [
      "<string>"
    ],
    "version": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "content": "<string>",
    "targeting_rules": {}
  },
  "meta": {}
}

Response

201 - application/json

Successful Response

data
ContextDocumentResponse · object
required

Full response — includes content and targeting_rules.

meta
Meta · object