Skip to main content
POST
/
reputation
/
{agent_id}
/
recompute
Trigger score recomputation
curl --request POST \
  --url https://api.mnemom.ai/v1/reputation/{agent_id}/recompute \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>",
  "include_reclassifications": true
}
'
{
  "agent_id": "<string>",
  "previous_score": 123,
  "new_score": 123,
  "delta": 123,
  "reclassifications_applied": 123,
  "recomputed_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier

Body

application/json
reason
string

Reason for triggering recomputation

include_reclassifications
boolean
default:true

Whether to include pending reclassifications in the recomputation

Response

Recomputation result with new scores

agent_id
string
previous_score
number
new_score
number
delta
number
reclassifications_applied
integer
recomputed_at
string<date-time>