Skip to main content
POST
/
prompts
/
update
Update AI analysis prompt
curl --request POST \
  --url https://ai.platform.arb.inc/prompts/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 42,
  "prompt": "Analyze the statement of claim with enhanced focus on damages calculation.",
  "active": true,
  "triggerOnDocket": true,
  "triggerOnDraft": false,
  "includeEvidence": true,
  "includeFullCase": false
}
'
{
  "id": 42,
  "created": "2026-01-15T10:30:00.000Z",
  "updated": "2026-01-20T14:45:00.000Z",
  "documentID": "statementOfClaim",
  "ruleSet": "small-claims-v1",
  "prompt": "Analyze the statement of claim with enhanced focus on damages calculation.",
  "active": true,
  "triggerOnDocket": true,
  "triggerOnDraft": false,
  "includeEvidence": true,
  "includeFullCase": false
}

Authorizations

Authorization
string
header
required

access token

Body

application/json
id
integer
required

Prompt ID to update

Required range: x >= 1
Example:

42

prompt
string

Updated AI prompt text

Required string length: 1 - 50000
Example:

"Analyze the statement of claim with enhanced focus on damages calculation."

active
boolean

Whether this prompt is active

Example:

true

triggerOnDocket
boolean

Trigger analysis when document is docketed

Example:

true

triggerOnDraft
boolean

Trigger analysis when document is drafted

Example:

false

includeEvidence
boolean

Include case evidence in analysis context

Example:

true

includeFullCase
boolean

Include full case docket in analysis context

Example:

false

Response

Updated prompt details

id
integer
Example:

42

created
string<date-time>
Example:

"2026-01-15T10:30:00.000Z"

updated
string<date-time>
Example:

"2026-01-20T14:45:00.000Z"

documentID
string
Example:

"statementOfClaim"

ruleSet
string
Example:

"small-claims-v1"

prompt
string
Example:

"Analyze the statement of claim with enhanced focus on damages calculation."

active
boolean
Example:

true

triggerOnDocket
boolean
Example:

true

triggerOnDraft
boolean
Example:

false

includeEvidence
boolean
Example:

true

includeFullCase
boolean
Example:

false