Skip to main content
POST
Update AI analysis prompt

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