curl --request POST \
--url https://core.ravenna.ai/api/ticket-clustering/clusters/generate \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"filters": {
"assigneeId": "<string>",
"createdAt": "<string>",
"openFilter": true,
"priority": "URGENT",
"queueId": "<string>",
"search": "<string>",
"searchFields": [
"title"
],
"slackMessageTs": "<string>",
"starredBy": "<string>",
"starredFilter": true,
"statusId": "<string>",
"textFilter": "<string>",
"unassignedFilter": true,
"excludeTicketIds": [
"<string>"
],
"agentParticipated": true,
"agentId": "<string>",
"workspaceId": "<string>",
"filters": "<string>",
"ravFilters": "<string>",
"viewMode": "list",
"responseType": "default",
"skip": 2,
"offset": 1,
"cursor": "<string>",
"limit": 5000.5,
"set": "<string>",
"sortBy": "<string>",
"sortDirection": "asc",
"groupBy": "<string>",
"groupDirection": "asc"
},
"clusteringConfig": {
"llmModel": "<string>",
"temperature": 123,
"minL1ClusterSizePct": 123,
"minL0ClusterSizePct": 123,
"outlierThreshold": 123,
"noiseBatchSize": 123,
"rebalanceThresholdPct": 123,
"embeddingModel": "<string>"
}
}'{
"status": "<string>",
"workflowId": "<string>",
"createdAt": "<string>"
}Generates ticket clusters from filter conditions or returns cached results if available within 24 hours
curl --request POST \
--url https://core.ravenna.ai/api/ticket-clustering/clusters/generate \
--header 'Content-Type: application/json' \
--header 'x-ravenna-api-token: <api-key>' \
--data '{
"filters": {
"assigneeId": "<string>",
"createdAt": "<string>",
"openFilter": true,
"priority": "URGENT",
"queueId": "<string>",
"search": "<string>",
"searchFields": [
"title"
],
"slackMessageTs": "<string>",
"starredBy": "<string>",
"starredFilter": true,
"statusId": "<string>",
"textFilter": "<string>",
"unassignedFilter": true,
"excludeTicketIds": [
"<string>"
],
"agentParticipated": true,
"agentId": "<string>",
"workspaceId": "<string>",
"filters": "<string>",
"ravFilters": "<string>",
"viewMode": "list",
"responseType": "default",
"skip": 2,
"offset": 1,
"cursor": "<string>",
"limit": 5000.5,
"set": "<string>",
"sortBy": "<string>",
"sortDirection": "asc",
"groupBy": "<string>",
"groupDirection": "asc"
},
"clusteringConfig": {
"llmModel": "<string>",
"temperature": 123,
"minL1ClusterSizePct": 123,
"minL0ClusterSizePct": 123,
"outlierThreshold": 123,
"noiseBatchSize": 123,
"rebalanceThresholdPct": 123,
"embeddingModel": "<string>"
}
}'{
"status": "<string>",
"workflowId": "<string>",
"createdAt": "<string>"
}Was this page helpful?