Record a reviewer action intent on a Praxis Shield incident
curl --request POST \
--url https://pria.praxislxp.com/api/admin/security/threats/{incidentId}/actions \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"action": "<string>",
"metadata": {}
}
'{
"success": true,
"incident": {
"_id": "<string>",
"severity": 2,
"categories": [
"<string>"
],
"title": "<string>",
"summary": "<string>",
"user": "<string>",
"userEmail": "<string>",
"userFname": "<string>",
"userLname": "<string>",
"institutionIds": [
"<string>"
],
"institutions": [
{
"_id": "<string>",
"name": "<string>"
}
],
"evidence": [
{}
],
"llmAssessments": [
{}
],
"reviewerNotes": [
{
"author": "<string>",
"note": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"reviewerActions": [
{
"author": "<string>",
"action": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
}Admin
Record a reviewer action intent on a Praxis Shield incident
Appends an INTENT-ONLY reviewer action to the incident (recorded for audit but never executed by the institution panel — metadata.intentOnly is forced true). Mounted under the admin gate (isAdmin) and RAP-scoped via the institutions.edit entitlement (super bypasses): the caller must manage at least one of the incident’s institutions.
POST
/
api
/
admin
/
security
/
threats
/
{incidentId}
/
actions
Record a reviewer action intent on a Praxis Shield incident
curl --request POST \
--url https://pria.praxislxp.com/api/admin/security/threats/{incidentId}/actions \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"action": "<string>",
"metadata": {}
}
'{
"success": true,
"incident": {
"_id": "<string>",
"severity": 2,
"categories": [
"<string>"
],
"title": "<string>",
"summary": "<string>",
"user": "<string>",
"userEmail": "<string>",
"userFname": "<string>",
"userLname": "<string>",
"institutionIds": [
"<string>"
],
"institutions": [
{
"_id": "<string>",
"name": "<string>"
}
],
"evidence": [
{}
],
"llmAssessments": [
{}
],
"reviewerNotes": [
{
"author": "<string>",
"note": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
],
"reviewerActions": [
{
"author": "<string>",
"action": "<string>",
"metadata": {},
"createdAt": "2023-11-07T05:31:56Z"
}
],
"firstSeenAt": "2023-11-07T05:31:56Z",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
}Authorizations
JWT token passed in x-access-token header
Path Parameters
Body
application/json
Was this page helpful?
⌘I