Skip to main content
POST
/
agents
/
{agent_id}
/
reclassify
Reclassify a checkpoint violation
curl --request POST \
  --url https://api.mnemom.ai/v1/agents/{agent_id}/reclassify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "checkpoint_id": "<string>",
  "reason": "<string>",
  "card_amendment_id": "<string>"
}
'
{
  "reclassification_id": "<string>",
  "checkpoint_id": "<string>",
  "agent_id": "<string>",
  "original_type": "<string>",
  "new_type": "<string>",
  "reason": "<string>",
  "score_impact": {
    "previous_score": 123,
    "new_score": 123,
    "delta": 123
  }
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Body

application/json

Request to reclassify a checkpoint violation.

checkpoint_id
string
required

Identifier of the checkpoint to reclassify

reason
string
required

Human-readable justification for the reclassification

card_amendment_id
string | null

Optional ID of an alignment card amendment that triggered this reclassification

Response

Reclassification result with score impact

Result of a checkpoint violation reclassification.

reclassification_id
string

Unique identifier for this reclassification

checkpoint_id
string

Identifier of the reclassified checkpoint

agent_id
string

Agent whose checkpoint was reclassified

original_type
string

Original violation type before reclassification

new_type
string

New violation type after reclassification

reason
string

Justification provided for the reclassification

score_impact
object

Impact of the reclassification on the agent's score