ima integration (AI, Productivity). Imported from open-connector.
https://{hostname}{pathname}/openapi/note/v1/list_notebook
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The notebook pagination cursor. |
| limit | integer | optional | The maximum number of notebooks to request. |
/openapi/wiki/v1/search_knowledge_base
| Param | Type | Required | Description |
|---|---|---|---|
| query | string | required | The knowledge-base search query. Use an empty string to list accessible bases. |
| cursor | string | optional | The knowledge-base pagination cursor. |
| limit | integer | optional | The maximum number of knowledge bases to request. |
/openapi/wiki/v1/get_knowledge_base
| Param | Type | Required | Description |
|---|---|---|---|
| knowledgeBaseIds | array | optional | The unique IMA knowledge-base IDs to fetch. |
/openapi/wiki/v1/get_addable_knowledge_base_list
| Param | Type | Required | Description |
|---|---|---|---|
| cursor | string | optional | The addable knowledge-base pagination cursor. |
| limit | integer | optional | The maximum number of knowledge bases to request. |
/openapi/wiki/v1/search_knowledge
| Param | Type | Required | Description |
|---|---|---|---|
| knowledgeBaseId | string | required | The IMA knowledge base ID. |
| query | string | required | The search keyword. |
| cursor | string | optional | The knowledge-item search cursor. |
/openapi/wiki/v1/add_knowledge
| Param | Type | Required | Description |
|---|---|---|---|
| knowledgeBaseId | string | required | The IMA knowledge base ID. |
| folderId | string | optional | The target folder ID inside the knowledge base. |
| fileUrl | string | required | The HTTP or HTTPS URL whose bytes should be uploaded to IMA. |
| fileName | string | required | The file name to store in IMA, including the extension. |
| contentType | string | optional | The MIME type of the file. If omitted, IMA upload type is inferred from fileNam… |
| duplicatePolicy | string | optional | How to handle an existing file with the same name. |
/openapi/note/v1/get_doc_content
| Param | Type | Required | Description |
|---|---|---|---|
| mediaId | string | required | The IMA media ID. |
| fileName | string | optional | The preferred transit file name when downloading URL content. |