Cortex API
string · enum · requiredstring · requiredstringstringstringstringstringstringstringstring · date-time
Create custom input
POST
http://localhost:8000
/api/custom-input
Add Q&A pair, text, or markdown content manually
Create custom input › Request Body
input_typeEnum values:
qa
text
markdown
contentanswerRequired for Q&A type
collection_idsourceCustom source identifier (defaults to 'custom_input' if not set)
Create custom input › Responses
200
Custom input created
idinput_typefilenamesourceOrigin of the document
created_at