TagsClear tag validationdel

Clear tag validation

Clears validation flags on a tag answer for this document.

curl -X DELETE "https://api.textmine.com/v3/documents/123/tags/123/validate" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (`tm_<key>`)"
{
  "document_id": 67890,
  "status": "processed",
  "tags": [
    {
      "tag_id": 456,
      "name": "Termination notice period",
      "question": "example_string",
      "answer": "30 days",
      "confidence": 0.89,
      "reasoning": "example_string",
      "run_at": "2024-12-25T10:00:00Z",
      "validation": {
        "is_valid": true,
        "validated_answer": "30 days written notice",
        "comment": "example_string",
        "validated_by_id": 123,
        "validated_by_name": "John Doe",
        "validated_at": "2024-12-25T10:00:00Z"
      }
    }
  ]
}
DELETE
/v3/documents/{documentId}/tags/{tagId}/validate
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (`tm_<key>`)
Bearer Tokenstring
Required

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.
path
documentIdinteger
Required

Document ID.

Format: int64
path
tagIdinteger
Required

Tag ID.

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (tm_<key>). Use Authorization: Bearer tm_<key> for API-key access to /v3/** endpoints. V3 also accepts Auth0 JWT and HTTP Basic for user-session contexts.

Path Parameters

Responses

document_idinteger
statusstring
tagsarray