curl --request POST \
--url https://api.dev.opencorpus.ai/chat/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>",
"input": "<string>",
"input_type": "<string>",
"session_id": "<string>"
}
'{
"output_type": "<string>",
"output": "<string>",
"session_id": "<string>"
}Send a message to an assistant
curl --request POST \
--url https://api.dev.opencorpus.ai/chat/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"assistant_id": "<string>",
"input": "<string>",
"input_type": "<string>",
"session_id": "<string>"
}
'{
"output_type": "<string>",
"output": "<string>",
"session_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.