Invoke Skill Reports Due Diligence Prepare
post
/api/v1/skills/reports.due-diligence.prepare/invokePrepare an M&A due-diligence / quality-of-earnings report.
Builds a quality-of-earnings and due diligence report on a target business from data-room files. Send client_id for the acquirer and target_entity for the business being bought; the deal type, sections and period have defaults. The answer holds normalised EBITDA, a working-capital peg, debt-like items, red flags and a download link, and any figure not yet calculated is named in stub_fields.
Request bodyapplication/json
| Field | Type | Description |
|---|---|---|
client_idrequired | string (uuid) | UUID of the acquiring entity. |
target_entityrequired | string | Legal name of the business being bought or invested in. |
deal_type | "acquisition" | "merger" | "investment" | Kind of deal: acquisition, merger or investment; acquisition when omitted.acquisitionmergerinvestment |
file_ids | string (uuid)[] | UUIDs of data-room files to review; only the first 5 are read. |
sections | "qoe" | "working_capital" | "debt_like" | "tax_exposures" | "customer_concentration" | "revenue_quality" | "key_dependencies" | "red_flags"[] | Sections to build, any of qoe, working_capital, debt_like, tax_exposures, customer_concentration, revenue_quality, key_dependencies and red_flags; the first five of those by default. |
period | string | null | Review period as an ISO 8601 range such as 2025-10-01/2026-09-30; the last twelve months when omitted. |
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/reports.due-diligence.prepare/invoke \
-X POST \
-H "Authorization: Bearer sk_..." \
-H "Content-Type: application/json" \
-d '{
"client_id": "00000000-0000-0000-0000-000000000000",
"target_entity": "string",
"deal_type": "acquisition",
"file_ids": [
"00000000-0000-0000-0000-000000000000"
],
"sections": [
"qoe"
],
"period": null
}'