Validate Tasks
Task validation
Validate Tasks
Validate a batch of 1-15 candidate Task names before persisting them, without creating anything. Each candidate is screened with fast whole-string quality heuristics and a near-duplicate lookup against your existing Tasks.
- Quality heuristics are hard rejections. A candidate that trips one or more
heuristics gets
status: "rejected:formatting"and arejection_reasonslist naming the failing codes (too_short,too_long,too_few_words,low_letter_ratio). - Near-duplicate detection is advisory only.
similar_taskslists existing Tasks similar to the candidate (highest similarity first), populated only for candidates that pass the quality heuristics and empty otherwise. It never rejects on its own, so the caller decides whether a match is a true duplicate.
A candidate that passes the heuristics has status: "valid" and an empty
rejection_reasons, even when similar_tasks is non-empty.
Validate Tasks
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
application/json
Candidate Tasks to validate. Between 1 and 15 per request; requests with more than 15 are rejected with 422.
Required array length:
1 - 15 elementsResponse
OK
One result per input Task, in the same order as the request.