v3

latestOpenAPI 3.0.0private2026-07-31264964.3 KB

Index a custom content

Index a custom content for AskX usage.

post/ask/index

Request body

rootIdstring required

Root id of the object to gather sources from. This should be created from the UI as a new custom data source.

idstring required

Unique id of the object to index scoped to the rootId

titlestring required

Title of the object to index

contentstring required

Content of the object to index

type'markdown' | 'html' required
updatedAtstring date-time required

Last update date of the object to index. Used to determine the freshness of the object.

urlstring required

Url of the object to index. Used to redirect to the proper page.

Response

Ok

explanationstring

For super, gives explanation about the source

urlstring required

Url of the note

titlestring required

Title of the note

idstring required

Id of the note