Gaps

Record a resolution

Records what was done about a gap and moves its status accordingly.

  • answered, content_added, content_updated → addressed. Each requires produced_content_id.
  • ruled_kb_correct, we_dont_do_this → resolved.
  • dismissed, not_relevant, source_irrelevant → dismissed. source_irrelevant requires authority_content_id.
  • ruled_claim_correct, ruled_document → no status change. The ruling is recorded, and an open gap shows awaiting_update in the list until a follow-up resolution such as content_updated moves it. Each requires authority_content_id.

A resolution recorded with an API key names no person, so it has no resolved_by_name or resolved_by_email.

post/org/gaps/{gapId}/resolutions

Request

  • Base URL
    https://apiv2.senso.ai/api/v1
  • Auth
    API key in header X-API-Key

Path parameters

gapIdstring uuid required

The gap's id.

Request body

resolution_type'answered' | 'content_added' | 'content_updated' | 'ruled_kb_correct' | 'ruled_claim_correct' | 'ruled_document' | 'dismissed' | 'not_relevant' | 'we_dont_do_this' | 'source_irrelevant' required

What was decided about a gap. See POST /org/gaps/{gapId}/resolutions for the effect of each.

produced_content_idstring uuid

The content that was written. Required for answered, content_added and content_updated.

authority_content_idstring uuid

The document the decision is about. Required for ruled_claim_correct, ruled_document and source_irrelevant.

ruling_side'kb' | 'claim' | 'document'

Which side a ruling found correct.

notesstring

Response

The recorded resolution.

resolution_idstring uuid required
resolution_type'answered' | 'content_added' | 'content_updated' | 'ruled_kb_correct' | 'ruled_claim_correct' | 'ruled_document' | 'dismissed' | 'not_relevant' | 'we_dont_do_this' | 'source_irrelevant' required

What was decided about a gap. See POST /org/gaps/{gapId}/resolutions for the effect of each.

ruling_side'kb' | 'claim' | 'document'
authority_content_idstring uuid
authority_content_version_idstring uuid
produced_content_idstring uuid
produced_content_version_idstring uuid
notesstring
resolved_by_namestring

The person who recorded it. Absent when it was recorded with an API key.

resolved_by_emailstring

Absent when it was recorded with an API key.

created_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.