POST
/
api
/
v1
/
recommendations
curl --request POST \
--url https://api.camelai.com/api/v1/recommendations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"source_ids": [
1,
2
]
}'
{
"source_ids": [
1,
2
]
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer scheme

Body

application/json

Serializer for chat recommendations request.

source_ids
integer[]

List of connection IDs to generate recommendations for

Minimum length: 1
thread_id
integer | null

Optional thread ID for contextual recommendations

Response

Serializer for chat recommendations response.

suggestions
string[]
required

List of recommendation suggestions