Get Readiness
const url = 'https://example.com/api/canvas/example/readiness';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/canvas/example/readiness \ --header 'Authorization: Bearer <token>'Get aggregate document readiness snapshot (cached, no LLM calls).
Combines cached quality scores, approval status, version history
staleness, and section completeness into a single 0-100 score with
letter grade and actionable detail. Response also includes a
sections array (per-section detail) for the DocumentHealthBar UI.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Successful Response
Aggregate document readiness response — emitted by
GET /canvas/{deal_id}/readiness and POST .../readiness/refresh.
object
Weakest-section entry — keys match the dict shape emitted by
readiness_service._compute_snapshot.
object
Per-dimension 0-100 sub-scores feeding the weighted overall_score.
quality is null when quality_unavailable; model_integrity is null
when no Excel cross-tab data exists. Other components are always populated.
Per-section readiness row consumed by DocumentHealthBar.
Example
{ "quality_unavailable": false}Validation Error
object
object
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}