Invoke Skill Financials Analyse
post
/api/v1/skills/financials.analyse/invokeAnalyse client financials β variance, trend, ratio, cashflow, profitability, or working capital.
Analyses a client's financials for an accountant, covering variance, trend, ratio, cashflow, profitability or working capital. You must supply client_id, and can narrow the work with a period and a comparison period. It returns a written analysis with metrics, trends, findings, citations and a confidence score.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the client whose financials are analysed. |
analysis_type | "variance" | "trend" | "ratio" | "cashflow" | "profitability" | "working_capital" | Kind of analysis to run; defaults to a period-on-period variance review.variancetrendratiocashflowprofitabilityworking_capital |
period | string | null | Period to analyse as a free-text label, for example 2026-06 or 2025-Q4. |
compare_period | string | null | Period to compare against, as a free-text label such as 2025-06. |
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/financials.analyse/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"analysis_type": "variance",
"period": null,
"compare_period": null
}'