Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Documents Analyse

post/api/v1/skills/documents.analyse/invoke

Analyse an uploaded document β€” summarise, extract figures, classify, risk-assess.

Reads a document you have already uploaded and returns an analysis of it: a summary, the key figures, a classification or a risk assessment. You must supply file_id, the UUID of the uploaded file, and can choose the analysis_type. The response holds the analysis text, any extracted data and a confidence score.

Request bodyapplication/json

FieldTypeDescription
file_idrequiredstring (uuid)UUID of the uploaded file to analyse.
analysis_type"summarize" | "extract_figures" | "classify" | "risk_assess"Kind of analysis to run on the document; defaults to a summary.
summarizeextract_figuresclassifyrisk_assess

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
analysisrequiredstringβ€”
extracted_dataobjectβ€”
show nested
Empty object.
confidencenumberβ€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/documents.analyse/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "file_id": "00000000-0000-0000-0000-000000000000",
       "analysis_type": "summarize"
     }'