DuplicateCandidateResponse
Fields
One detected near-duplicate pair with its explainable score breakdown.
11 fields
band· required- string
case_a· required- DuplicateCaseRef
case_b· required- DuplicateCaseRef
component_scores- object or null
detected_at· required- string (date-time)
id· required- string (uuid)
method· required- string
project_id· required- string (uuid)
reason- string or null
score· required- number
status· required- string
Raw schema (JSON)
{
"description": "One detected near-duplicate pair with its explainable score breakdown.",
"properties": {
"band": {
"enum": [
"exact",
"strong",
"possible"
],
"title": "Band",
"type": "string"
},
"case_a": {
"$ref": "#/components/schemas/DuplicateCaseRef"
},
"case_b": {
"$ref": "#/components/schemas/DuplicateCaseRef"
},
"component_scores": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Component Scores"
},
"detected_at": {
"format": "date-time",
"title": "Detected At",
"type": "string"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"method": {
"enum": [
"fingerprint",
"structural",
"semantic"
],
"title": "Method",
"type": "string"
},
"project_id": {
"format": "uuid",
"title": "Project Id",
"type": "string"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"score": {
"title": "Score",
"type": "number"
},
"status": {
"enum": [
"open",
"merged",
"dismissed"
],
"title": "Status",
"type": "string"
}
},
"required": [
"id",
"project_id",
"band",
"score",
"method",
"status",
"detected_at",
"case_a",
"case_b"
],
"title": "DuplicateCandidateResponse",
"type": "object"
}Used by endpoints
Section titled “Used by endpoints”One endpoint sends or returns this schema, on its own or inside another schema.
GET/api/v1/projects/{project_id}/duplicate-candidates— List Duplicate Candidates
Used by schemas
Section titled “Used by schemas”More details
Section titled “More details”- Specification: OpenAPI JSON