task-similarity
4 endpoints
post /projects/{id}/scan-duplicates
Scan a project for duplicate tasks
Requires authentication
Runs a pairwise similarity scan over the project's existing open tasks and returns created/open counts.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | integer | yes | Project id |
Responses
- 200 OK · object
- 401 Unauthorized · apimodel.ErrorEnvelope
- 404 Not Found · apimodel.ErrorEnvelope
post /task-similarities/{id}/confirm
Confirm a similarity suggestion
Requires authentication
Accepts a similarity suggestion and materializes the real task link. An absent kind uses the suggested one.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | integer | yes | Similarity id |
Request body: apimodel.ConfirmSimilarityRequest
| Name | Type | Required | Description |
|---|---|---|---|
| kind | string | no |
Responses
- 200 OK · object
- 401 Unauthorized · apimodel.ErrorEnvelope
- 404 Not Found · apimodel.ErrorEnvelope
post /task-similarities/{id}/dismiss
Dismiss a similarity suggestion
Requires authentication
Rejects a similarity suggestion so it no longer surfaces on the task.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | integer | yes | Similarity id |
Responses
- 200 OK · object
- 401 Unauthorized · apimodel.ErrorEnvelope
- 404 Not Found · apimodel.ErrorEnvelope
get /tasks/{id}/similar
List similar tasks
Requires authentication
Returns auto-detected same-project similarity candidates for a task, hydrated with the other task's summary.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | integer | yes | Task id |
Responses
- 200 OK · object
- 401 Unauthorized · apimodel.ErrorEnvelope
- 404 Not Found · apimodel.ErrorEnvelope