curl --request POST \
--url https://api.staging.kathan.tech/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-User-ID: <api-key>' \
--data '
{
"assistant_id": "<string>",
"input": "",
"session_id": "<string>"
}
'{
"output_type": "<string>",
"output": "<string>",
"session_id": "<string>"
}Send a message to an assistant
curl --request POST \
--url https://api.staging.kathan.tech/chat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-User-ID: <api-key>' \
--data '
{
"assistant_id": "<string>",
"input": "",
"session_id": "<string>"
}
'{
"output_type": "<string>",
"output": "<string>",
"session_id": "<string>"
}API key authentication.
Required user id for API key requests.
Was this page helpful?