Skip to main content
POST
Create AI analysis prompt

Authorizations

Authorization
string
header
required

access token

Body

application/json
documentID
string
required

Document type identifier

Required string length: 1 - 50
Example:

"statementOfClaim"

ruleSet
string
required

Rule set identifier for case type

Required string length: 1 - 50
Example:

"small-claims-v1"

prompt
string
required

AI prompt text for document analysis

Required string length: 1 - 50000
Example:

"Analyze the statement of claim and extract key facts, legal arguments, and relief requested. Identify any procedural issues or missing information."

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

Prompt created successfully

ok
boolean
Example:

true