curl --request POST \
--url https://api.dev.opencorpus.ai/assistants/{assistant_id}/knowledge-bases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"knowledge_base_ids": [
"<string>"
]
}
'{
"status": "<string>",
"message": "<string>",
"attached_knowledge_bases": [
{}
]
}Attach knowledge bases to a specific assistant
curl --request POST \
--url https://api.dev.opencorpus.ai/assistants/{assistant_id}/knowledge-bases \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"knowledge_base_ids": [
"<string>"
]
}
'{
"status": "<string>",
"message": "<string>",
"attached_knowledge_bases": [
{}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.