Invoke Skill Memos Expert Prepare
post
/api/v1/skills/memos.expert.prepare/invokePrepare a litigation expert report β damages, loss quantification, opinion.
Prepares a draft litigation expert report covering damages, loss quantification or an opinion on a dispute. Supply the scenario, which sets out the facts and the question, and optionally a matter type, supporting file_ids, a jurisdiction and the professional standard to follow. It returns an executive summary, the methodology, the quantum and the limitations.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_id | string (uuid) | null | UUID of the client the report is for, if it relates to a client in Archie. |
matter_type | "damages" | "loss_quantification" | "valuation_dispute" | "fraud_opinion" | "professional_negligence" | Kind of matter: damages, loss_quantification, valuation_dispute, fraud_opinion or professional_negligence.damagesloss_quantificationvaluation_disputefraud_opinionprofessional_negligence |
file_ids | string (uuid)[] | UUIDs of uploaded files, such as pleadings or ledgers, to rely on. |
scenariorequired | string | Facts of the matter and the question the expert is asked to answer. |
jurisdiction | "AU" | "GB" | "CA" | "US" | "NZ" | null | ISO 3166-1 alpha-2 code of the jurisdiction whose rules apply. |
professional_standard | string | null | Professional standard the report must follow, such as 'APES 215'. |
Responses
200Skill executed successfully
| Field | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
skillrequired | string | β | ||||||||||||||||||||||||||||||
outputrequired | object | βshow nested
| ||||||||||||||||||||||||||||||
correlation_idrequired | string | β |
401Authentication required
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
403Insufficient permissions
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
404Skill not found
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
429Rate limit exceeded
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
5XXInternal server error
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorrequired | object | βshow nested
|
curl https://api.dev.arch.ie/api/v1/skills/memos.expert.prepare/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": null,
"matter_type": "damages",
"file_ids": [
"00000000-0000-0000-0000-000000000000"
],
"scenario": "string",
"jurisdiction": null,
"professional_standard": null
}'