Skip to main content
POST
Reject an AI match-rule suggestion (discard it)

Autorizações

Authorization
string
header
obrigatório

Bearer token authentication (format: "Bearer {token}")

Parâmetros de caminho

contextId
string<uuid>
obrigatório

Context ID

suggestionId
string<uuid>
obrigatório

Suggestion ID

Corpo

application/json
reason
string

Optional rejection reason

Maximum string length: 1000
Exemplo:

"too aggressive"

Resposta

OK

candidate
object
obrigatório

The config-only proposed match rule

contextId
string
obrigatório

Reconciliation context ID this suggestion belongs to

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

createdAt
string
obrigatório

When the review was created (RFC 3339)

Exemplo:

"2026-06-16T10:30:00Z"

id
string
obrigatório

Unique identifier for the review

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

status
string
obrigatório

Lifecycle status: PENDING_REVIEW (awaiting human decision), APPROVED (rule created), or REJECTED (discarded)

Exemplo:

"PENDING_REVIEW"

updatedAt
string
obrigatório

When the review was last updated (RFC 3339)

Exemplo:

"2026-06-16T10:35:00Z"

version
integer<int64>
obrigatório

Optimistic-concurrency version of the review

Exemplo:

1

createdRuleId
string

Identifier of the match rule created on approval; empty until an approved review is linked

Exemplo:

"550e8400-e29b-41d4-a716-446655440000"

rejectReason
string

Optional reason recorded when the suggestion is rejected

Exemplo:

"too aggressive"

reviewerId
string

Principal id of the reviewer; empty until the suggestion is adjudicated

Exemplo:

"user-42"