Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every
problem found. No export is recorded and the roof is not kept; nothing is sent to the
export provider or charged, so check as often as you like. The reference is not checked
for duplicates.
The request’s shape comes first. A misspelt or unknown field, a wrong type or a value
out of range answers 422 validation_failed, with errors pointing at each field, and the
roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a
repeated id, heights given two ways or on some points only, an overhang on an edge that is
not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof
problems of check 1, critical, and answer 200 with buildable: false.
Severities.error is critical: the roof cannot be built and would be refused, so
buildable is false. major and minor are warnings: the roof would be built anyway,
and detail says what OSA would do. A critical problem can stop the later checks on its
structure, so check again after correcting it.
Checking first is optional.POST /v1/esx-exports always runs the checks again.
Send your API key as a bearer token: Authorization: Bearer osa_live_….
Keys are opaque; each belongs to exactly one partner. Keys starting with osa_test_
reach only test claims and test accounts. The scopes listed on each operation are the
permissions the key needs. A key's permissions are set when it is issued and can be
changed by OSA on request, never beyond what your plan and add-ons include.
GET /v1/me always shows the current set.
Scopes
esx-exports:create
Body
application/json
The roof and its property, exactly as you would send them to be built.
A roof to build into an ESX, with the property it belongs to. The check call takes the
same body.
reference
string
required
Your own id for the order. One export per reference, in the key's environment (test
or live): a second export with a reference you have already used is refused with
409 duplicate_export; send a corrected roof as a new version of the existing
export instead. Returned on the export, never changed. No leading or trailing
whitespace.
Required string length: 1 - 100
Pattern: ^\S(.*\S)?$
Example:
"ORDER-1042"
input
object
required
A roof, in OSA's roof format version 1 (osa-roof/1): one or more roofs as seen from above,
with enough to build each in three dimensions. You are responsible for the roof being
right. OSA checks it: a roof that cannot be built is refused with exact reasons, and any
other problem is a warning, with the roof built anyway. Lengths and areas are not sent: OSA
works them out from the points and the faces' pitches. Ids everywhere are 1 to 64 letters,
digits, -, _ or ., unique within their list; problems name them.
The carrier's claim number, when there is one. Returned on the export. No leading or
trailing whitespace.
Required string length: 1 - 100
Pattern: ^\S(.*\S)?$
Example:
"FL-2026-0091832"
end_user
object
Who in your system asked for the export, for your own records. Send at least one of
id and email. Returned on the export as sent.
Show child attributes
metadata
object
Your own key-value pairs, returned on the export as sent. Up to 20 keys, each 1 to 40
characters of a to z, 0 to 9 and _; each value text of up to 200 characters.
Show child attributes
Example:
{ "branch": "north", "job_type": "reroof" }
Response
The roof checks ran. buildable says whether the roof would be built; problems lists
every problem found, critical or not.
The result of checking a roof. No export is recorded and the roof is not kept, and
nothing is charged.
buildable
boolean
required
false when any problem is an error: the roof would be refused.
problems
object[]
required
Every problem the checks found, critical or not, each with its severity. A critical problem can stop the later checks on that structure, so check again after correcting it.
Show child attributes
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"One Stop Adjuster","description":"Send claims to adjusters in the OSA app and follow their acceptance.","colors":{"primary":"#01729D","light":"#63C3DB","dark":"#1D3F5A"},"logo":{"light":"https://mintcdn.com/onestopadjuster/LWybYtOm0TEXmFtz/logo/light.svg?fit=max\u0026auto=format\u0026n=LWybYtOm0TEXmFtz\u0026q=85\u0026s=251d9f975a12c805ed521778fe92ea6f","dark":"https://mintcdn.com/onestopadjuster/X8t_lmMUP8DGRu_Y/logo/dark.svg?fit=max\u0026auto=format\u0026n=X8t_lmMUP8DGRu_Y\u0026q=85\u0026s=55f377735a2930a1a30cec4b2e2dd62c"},"favicon":{"light":"https://mintcdn.com/onestopadjuster/V40fJbs4szg8aRVk/images/general_no_background.png?fit=max\u0026auto=format\u0026n=V40fJbs4szg8aRVk\u0026q=85\u0026s=df53d8afe5af1b5844b56fdcb2ef3fa3","dark":"https://mintcdn.com/onestopadjuster/V40fJbs4szg8aRVk/images/general_no_background.png?fit=max\u0026auto=format\u0026n=V40fJbs4szg8aRVk\u0026q=85\u0026s=df53d8afe5af1b5844b56fdcb2ef3fa3"},"api":{"playground":{"display":"interactive"}},"footer":{"socials":{"website":"https://www.osaconnection.com"}},"fonts":{"heading":{"family":"Roboto"}},"styling":{"codeblocks":"system","latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onestopadjuster","hasAudioNarration":false,"actualSubdomain":"onestopadjuster","customDomains":["docs.osaconnection.com"],"gitSource":{"type":"github","owner":"isenbj","repo":"osa-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b1102129ffae5051c41e44d"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b0d1d2d313c97d7e3079ad7","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Guides","count":25},{"language":"default","tag":"API reference","count":15},{"language":"default","tag":"ESX exports","count":10},{"language":"default","tag":"Claims","count":4},{"language":"default","tag":"Members","count":3},{"language":"default","tag":"Account","count":2},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Updates","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"api-reference/esx-exports/check-a-roof-without-building-it","slug":"/api-reference/esx-exports/check-a-roof-without-building-it","pageMetadata":{"title":"Check a roof without building it","openapi":"POST /v1/esx-exports/checks","description":"Runs the checks that `POST /v1/esx-exports` runs, on the same body, and answers with every\nproblem found. No export is recorded and the roof is not kept; nothing is sent to the\nexport provider or charged, so check as often as you like. The `reference` is not checked\nfor duplicates.\n\n**The request's shape comes first.** A misspelt or unknown field, a wrong type or a value\nout of range answers `422 validation_failed`, with `errors` pointing at each field, and the\nroof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a\nrepeated id, heights given two ways or on some points only, an overhang on an edge that is\nnot an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof\nproblems of check 1, critical, and answer `200` with `buildable: false`.\n\n**Severities.** `error` is critical: the roof cannot be built and would be refused, so\n`buildable` is `false`. `major` and `minor` are warnings: the roof would be built anyway,\nand `detail` says what OSA would do. A critical problem can stop the later checks on its\nstructure, so check again after correcting it.\n\n**Checking first is optional.** `POST /v1/esx-exports` always runs the checks again.\n","href":"/api-reference/esx-exports/check-a-roof-without-building-it"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Runs the checks that \", _jsx(_components.code, {\n children: \"POST /v1/esx-exports\"\n }), \" runs, on the same body, and answers with every\\nproblem found. No export is recorded and the roof is not kept; nothing is sent to the\\nexport provider or charged, so check as often as you like. The \", _jsx(_components.code, {\n children: \"reference\"\n }), \" is not checked\\nfor duplicates.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"The request’s shape comes first.\"\n }), \" A misspelt or unknown field, a wrong type or a value\\nout of range answers \", _jsx(_components.code, {\n children: \"422 validation_failed\"\n }), \", with \", _jsx(_components.code, {\n children: \"errors\"\n }), \" pointing at each field, and the\\nroof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a\\nrepeated id, heights given two ways or on some points only, an overhang on an edge that is\\nnot an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof\\nproblems of check 1, critical, and answer \", _jsx(_components.code, {\n children: \"200\"\n }), \" with \", _jsx(_components.code, {\n children: \"buildable: false\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Severities.\"\n }), \" \", _jsx(_components.code, {\n children: \"error\"\n }), \" is critical: the roof cannot be built and would be refused, so\\n\", _jsx(_components.code, {\n children: \"buildable\"\n }), \" is \", _jsx(_components.code, {\n children: \"false\"\n }), \". \", _jsx(_components.code, {\n children: \"major\"\n }), \" and \", _jsx(_components.code, {\n children: \"minor\"\n }), \" are warnings: the roof would be built anyway,\\nand \", _jsx(_components.code, {\n children: \"detail\"\n }), \" says what OSA would do. A critical problem can stop the later checks on its\\nstructure, so check again after correcting it.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Checking first is optional.\"\n }), \" \", _jsx(_components.code, {\n children: \"POST /v1/esx-exports\"\n }), \" always runs the checks again.\"]\n })]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"Check a roof without building it","openapi":"POST /v1/esx-exports/checks","description":"Runs the checks that `POST /v1/esx-exports` runs, on the same body, and answers with every\nproblem found. No export is recorded and the roof is not kept; nothing is sent to the\nexport provider or charged, so check as often as you like. The `reference` is not checked\nfor duplicates.\n\n**The request's shape comes first.** A misspelt or unknown field, a wrong type or a value\nout of range answers `422 validation_failed`, with `errors` pointing at each field, and the\nroof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a\nrepeated id, heights given two ways or on some points only, an overhang on an edge that is\nnot an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof\nproblems of check 1, critical, and answer `200` with `buildable: false`.\n\n**Severities.** `error` is critical: the roof cannot be built and would be refused, so\n`buildable` is `false`. `major` and `minor` are warnings: the roof would be built anyway,\nand `detail` says what OSA would do. A critical problem can stop the later checks on its\nstructure, so check again after correcting it.\n\n**Checking first is optional.** `POST /v1/esx-exports` always runs the checks again.\n","href":"/api-reference/esx-exports/check-a-roof-without-building-it"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["ESX exports"],"operationId":"checkEsxExport","summary":"Check a roof without building it","description":"Runs the checks that `POST /v1/esx-exports` runs, on the same body, and answers with every\nproblem found. No export is recorded and the roof is not kept; nothing is sent to the\nexport provider or charged, so check as often as you like. The `reference` is not checked\nfor duplicates.\n\n**The request's shape comes first.** A misspelt or unknown field, a wrong type or a value\nout of range answers `422 validation_failed`, with `errors` pointing at each field, and the\nroof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a\nrepeated id, heights given two ways or on some points only, an overhang on an edge that is\nnot an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof\nproblems of check 1, critical, and answer `200` with `buildable: false`.\n\n**Severities.** `error` is critical: the roof cannot be built and would be refused, so\n`buildable` is `false`. `major` and `minor` are warnings: the roof would be built anyway,\nand `detail` says what OSA would do. A critical problem can stop the later checks on its\nstructure, so check again after correcting it.\n\n**Checking first is optional.** `POST /v1/esx-exports` always runs the checks again.\n","security":["f06e8fc2-e5ee-44bf-88c3-16773555ad93"],"requestBody":"5cdd6ada-d538-48ac-9aa7-7fd2d630841b","responses":{"200":"85d83b15-fc90-48b2-be36-9c86e6e9ecf2","400":"e6728438-79c9-4ac2-9bc2-5f55fada8a8a","401":"621c3f33-7c9f-4c6b-9005-f115d0b46cd6","403":"8389a8c9-e52f-4e47-be3a-3f820ac9b588","413":"105bd1a5-c0c7-446a-98e0-7fb114adfdb5","422":"d008d1d1-6218-46ce-a906-3e64415c1c05","429":"9e40446b-7475-43d4-bf08-d9e441d62af6","500":"8d5bc26f-00cb-459b-8202-894794ae45f9"},"method":"post","type":"path","servers":["b67ade9b-36f1-4418-bc39-53e2c9b9ca47"],"path":"/v1/esx-exports/checks","baseUrlOptions":["https://api.osaconnection.com"],"title":"Check a roof without building it","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"description":"The roof and its property, exactly as you would send them to be built.","content":{"application/json":{"schema":{"type":"object","description":"A roof to build into an ESX, with the property it belongs to. The check call takes the\nsame body.\n","additionalProperties":false,"required":["reference","input","property"],"properties":{"reference":{"type":"string","minLength":1,"maxLength":100,"pattern":"^\\S(.*\\S)?$","description":"Your own id for the order. One export per reference, in the key's environment (test\nor live): a second export with a reference you have already used is refused with\n`409 duplicate_export`; send a corrected roof as a new version of the existing\nexport instead. Returned on the export, never changed. No leading or trailing\nwhitespace.\n","examples":["ORDER-1042"],"isRequired":true,"uniqueKey":"reference","typeLabel":"string"},"input":{"type":"object","description":"A roof, in OSA's roof format version 1 (`osa-roof/1`): one or more roofs as seen from above,\nwith enough to build each in three dimensions. You are responsible for the roof being\nright. OSA checks it: a roof that cannot be built is refused with exact reasons, and any\nother problem is a warning, with the roof built anyway. Lengths and areas are not sent: OSA\nworks them out from the points and the faces' pitches. Ids everywhere are 1 to 64 letters,\ndigits, `-`, `_` or `.`, unique within their list; problems name them.\n","additionalProperties":false,"required":["type","format","plan","structures"],"properties":{"type":{"type":"string","description":"What the input describes. Always `roof`.","enum":["roof"],"isRequired":true,"uniqueKey":"input.type","typeLabel":"enum\u003cstring>"},"format":{"type":"string","description":"The format and version of the input. Always `osa-roof/1`.","enum":["osa-roof/1"],"isRequired":true,"uniqueKey":"input.format","typeLabel":"enum\u003cstring>"},"plan":{"type":"object","description":"How to read every `x` and `y` in the roof. Heights are always in feet, whatever the plan\nunits; fields that carry a height end in `_ft`. The origin can be anywhere: OSA moves it\nto the middle of each structure.\n","additionalProperties":false,"required":["units","y_axis"],"properties":{"units":{"type":"string","description":"`ft`: `x` and `y` are feet. `px`: `x` and `y` are pixels of an image, and\n`feet_per_pixel` is required.\n","enum":["ft","px"],"isRequired":true,"uniqueKey":"input.plan.units","typeLabel":"enum\u003cstring>"},"y_axis":{"type":"string","description":"`up`: `y` grows upward on the drawing, as on a map. `down`: `y` grows downward, as\nin an image.\n","enum":["up","down"],"isRequired":true,"uniqueKey":"input.plan.y_axis","typeLabel":"enum\u003cstring>"},"feet_per_pixel":{"type":"number","description":"Horizontal (plan) feet per pixel, one scale for the whole plan. Required when `units`\nis `px`, and not allowed otherwise; a roof that breaks this has a critical problem of\ncheck 1 and is refused. More than 0, at most 10.\n","exclusiveMinimum":0,"maximum":10,"uniqueKey":"input.plan.feet_per_pixel","typeLabel":"number"},"north_deg":{"type":"number","description":"The compass direction the top of the drawing faces, in degrees clockwise from north:\nat least 0, less than 360. Leave it out for 0, which means the top of the drawing is\nnorth, as in most aerial imagery.\n","minimum":0,"exclusiveMaximum":360,"uniqueKey":"input.plan.north_deg","typeLabel":"number"}},"isRequired":true,"uniqueKey":"input.plan","typeLabel":"object"},"structures":{"type":"array","description":"The separate buildings, such as a house and a detached garage. Each is a roof that\ntouches no other structure's roof. Most roofs have one. At most 10.\n","minItems":1,"maxItems":10,"items":{"type":"object","description":"One building's roof: its corners (`points`), the lines between them (`edges`) and its\nflat surfaces (`faces`). Give heights one way per structure: none at all (the roof is\nbuilt with its lowest eave at 0 ft, so Xactimate gets a correctly shaped roof but no\nheight above the ground), `eave_height_ft` on faces (recommended: at least one face of\neach section of roof, where a section is a group of faces that share points), or `z_ft`\non every point.\n","additionalProperties":false,"required":["id","points","edges","faces"],"properties":{"id":{"type":"string","description":"Your name for the structure, unique in the roof.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["house"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].id","typeLabel":"string"},"points":{"type":"array","description":"Every corner of the roof as seen from above. At least 3, at most 1,000.","minItems":3,"maxItems":1000,"items":{"type":"object","description":"A corner of the roof as seen from above. A point is one place in three dimensions: where\ntwo parts of a roof pass over the same spot at different heights, such as a porch roof\nmeeting the wall below a higher eave, that spot needs two points, one for each roof.\n","additionalProperties":false,"required":["id","x","y"],"properties":{"id":{"type":"string","description":"The point's id, unique in the structure.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["a"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].points.items.[INDEX].id","typeLabel":"string"},"x":{"type":"number","description":"Position across the drawing, in plan units.","isRequired":true,"uniqueKey":"input.structures.items.[INDEX].points.items.[INDEX].x","typeLabel":"number"},"y":{"type":"number","description":"Position along the drawing, in plan units, in the direction `y_axis` gives.","isRequired":true,"uniqueKey":"input.structures.items.[INDEX].points.items.[INDEX].y","typeLabel":"number"},"z_ft":{"type":"number","description":"Height above the ground, in feet, from -50 to 300. Either every point in the\nstructure has one or none does; a structure with some has a critical problem of\ncheck 1 and is refused. With a height on every point, each point is built as you gave\nit; a face that is then not flat or does not match its pitch is a check 5 warning.\nNothing is averaged in that case.\n","minimum":-50,"maximum":300,"uniqueKey":"input.structures.items.[INDEX].points.items.[INDEX].z_ft","typeLabel":"number"}},"uniqueKey":"input.structures.items.[INDEX].points.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].points","typeLabel":"object[]"},"edges":{"type":"array","description":"Every line between two points that bounds a face. At least 3, at most 2,000.","minItems":3,"maxItems":2000,"items":{"type":"object","description":"A line between two points that bounds a face. Lengths are not sent: OSA works out each\nedge's true length from the points and the faces' pitches.\n","additionalProperties":false,"required":["id","from","to","type"],"properties":{"id":{"type":"string","description":"The edge's id, unique in the structure.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["eave-s"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX].id","typeLabel":"string"},"from":{"type":"string","description":"The id of one of the edge's two points. Order does not matter.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["a"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX].from","typeLabel":"string"},"to":{"type":"string","description":"The id of the edge's other point, different from `from`.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["b"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX].to","typeLabel":"string"},"type":{"type":"string","description":"What the edge is. `eave`: the low, level edge of a face, where water runs off.\n`rake`: the sloped outer edge at a gable end. `ridge`: where two faces meet at the\ntop. `hip`: where two faces meet at an outward corner, sloping down. `valley`: where\ntwo faces meet at an inward corner, sloping down. `apron_flashing`: where the top of\na face meets a wall that rises above it (also called headwall). `step_flashing`:\nwhere the side of a face runs along a wall that rises beside it (also called\nsidewall). `pitch_break`: where a face changes pitch without a ridge, as on a\ngambrel or mansard roof. `unclassified`: an edge whose kind is not known; allowed,\nbut it adds nothing to the estimate.\n","enum":["eave","rake","ridge","hip","valley","apron_flashing","step_flashing","pitch_break","unclassified"],"examples":["eave"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"overhang_ft":{"type":"number","description":"How far the roof overhangs the wall, in feet, from 0 to 10. Only on an `eave` or a\n`rake`; on any other edge it is a critical problem of check 1, and the roof is\nrefused.\n","minimum":0,"maximum":10,"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX].overhang_ft","typeLabel":"number"}},"uniqueKey":"input.structures.items.[INDEX].edges.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].edges","typeLabel":"object[]"},"faces":{"type":"array","description":"Every flat surface of the roof. At least 1, at most 300.","minItems":1,"maxItems":300,"items":{"type":"object","description":"A flat surface of the roof. Every point of a face should lie on one plane: the plane its\npitch, slope direction and height give it. A face slopes down toward its `eave` edges,\nat right angles to them; all of a face's eaves should be parallel and on the same side\nof it. A face with eaves on opposite sides is built sloping toward its longest group of\neaves, with a warning. Areas are not sent: OSA works out each face's true area.\n","additionalProperties":false,"required":["id","edges","pitch"],"properties":{"id":{"type":"string","description":"The face's id, unique in the structure.","pattern":"^[A-Za-z0-9._-]{1,64}$","examples":["south"],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].id","typeLabel":"string"},"edges":{"type":"array","description":"The ids of the edges around the face, in order around it, at least 3 and at most\n200. Each consecutive pair shares a point and the last joins the first.\n","minItems":3,"maxItems":200,"items":{"type":"string","description":"An edge id in the structure.","pattern":"^[A-Za-z0-9._-]{1,64}$","uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].edges.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].edges","typeLabel":"string[]"},"pitch":{"type":"number","description":"Rise in inches per 12 inches of run, as a number: `6` for 6/12, `6.5` for 6.5/12,\n`0` for flat. At most 24.\n","minimum":0,"maximum":24,"examples":[6],"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].pitch","typeLabel":"number"},"eave_height_ft":{"type":"number","description":"Height above the ground of the face's eave edges, in feet, from -50 to 300. Faces\nthat share a ridge, hip or valley take their heights from each other, so one face per\nsection of roof is enough. Where two faces both carry one, they should agree with\nthe geometry; where faces disagree on a shared point's height by more than 1 inch,\nthe point is built at their average, with a warning.\n","minimum":-50,"maximum":300,"examples":[9],"uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].eave_height_ft","typeLabel":"number"},"low_edge":{"type":"string","description":"The id of the edge the face slopes down toward. Should be sent when the face has no\n`eave` edge and a pitch above 0, such as the upper face of a gambrel above its\n`pitch_break`. Without it the face is built from the faces around it, with a major\nwarning.\n","pattern":"^[A-Za-z0-9._-]{1,64}$","uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX].low_edge","typeLabel":"string"}},"uniqueKey":"input.structures.items.[INDEX].faces.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"input.structures.items.[INDEX].faces","typeLabel":"object[]"},"name":{"type":"string","description":"A label, such as \"Detached garage\".","minLength":1,"maxLength":100,"examples":["Detached garage"],"uniqueKey":"input.structures.items.[INDEX].name","typeLabel":"string"},"features":{"type":"object","description":"Counts of things on the structure's roof that the estimate needs and the drawing does not\nshow. Each is a whole number from 1 to 100,000; leave out what is not there, and leave\nout `features` if nothing is. They apply to the structure's whole roof; they cannot be\nplaced on one face.\n","additionalProperties":false,"minProperties":1,"properties":{"pipe_jack_vents":{"type":"integer","description":"Plumbing vent pipes.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.pipe_jack_vents","typeLabel":"integer"},"exhaust_vents":{"type":"integer","description":"Exhaust vents.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.exhaust_vents","typeLabel":"integer"},"attic_vents":{"type":"integer","description":"Attic vents.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.attic_vents","typeLabel":"integer"},"reflective_tubes":{"type":"integer","description":"Tubular skylights.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.reflective_tubes","typeLabel":"integer"},"satellite_dishes":{"type":"integer","description":"Satellite dishes.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.satellite_dishes","typeLabel":"integer"},"ac_units":{"type":"integer","description":"Air conditioning units on the roof.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.ac_units","typeLabel":"integer"},"skylights":{"type":"integer","description":"Skylights.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.skylights","typeLabel":"integer"},"roofing_panels":{"type":"integer","description":"Roofing panels.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.roofing_panels","typeLabel":"integer"},"gutter_ft":{"type":"integer","description":"Gutter, in whole feet.","minimum":1,"maximum":100000,"uniqueKey":"input.structures.items.[INDEX].features.gutter_ft","typeLabel":"integer"}},"uniqueKey":"input.structures.items.[INDEX].features","typeLabel":"object"}},"uniqueKey":"input.structures.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"input.structures","typeLabel":"object[]"}},"examples":[{"type":"roof","format":"osa-roof/1","plan":{"units":"ft","y_axis":"up","north_deg":0},"structures":[{"id":"house","points":[{"id":"a","x":-20,"y":-15},{"id":"b","x":20,"y":-15},{"id":"c","x":20,"y":15},{"id":"d","x":-20,"y":15},{"id":"e","x":-20,"y":0},{"id":"f","x":20,"y":0}],"edges":[{"id":"eave-s","from":"a","to":"b","type":"eave"},{"id":"eave-n","from":"c","to":"d","type":"eave"},{"id":"ridge","from":"e","to":"f","type":"ridge"},{"id":"rake-sw","from":"a","to":"e","type":"rake"},{"id":"rake-se","from":"b","to":"f","type":"rake"},{"id":"rake-ne","from":"c","to":"f","type":"rake"},{"id":"rake-nw","from":"d","to":"e","type":"rake"}],"faces":[{"id":"south","edges":["eave-s","rake-se","ridge","rake-sw"],"pitch":6,"eave_height_ft":9},{"id":"north","edges":["eave-n","rake-nw","ridge","rake-ne"],"pitch":6,"eave_height_ft":9}]}]}],"isRequired":true,"uniqueKey":"input","typeLabel":"object"},"property":{"type":"object","description":"The property the roof is on.","additionalProperties":false,"required":["street","city","state","zip","lat","lon"],"properties":{"street":{"type":"string","minLength":1,"maxLength":100,"description":"Street address, including any unit number.","examples":["740 Canyon View Drive"],"isRequired":true,"uniqueKey":"property.street","typeLabel":"string"},"city":{"type":"string","minLength":1,"maxLength":60,"description":"City.","examples":["Lehi"],"isRequired":true,"uniqueKey":"property.city","typeLabel":"string"},"state":{"type":"string","description":"Two-letter USPS code: the 50 states, `DC`, and the US territories `AS` (American Samoa),\n`GU` (Guam), `MP` (Northern Mariana Islands), `PR` (Puerto Rico) and `VI` (US Virgin\nIslands).\n","enum":["AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","AS","GU","MP","PR","VI"],"examples":["FL"],"isRequired":true,"uniqueKey":"property.state","typeLabel":"enum\u003cstring>"},"zip":{"type":"string","description":"Five-digit ZIP code, optionally ZIP+4.","pattern":"^\\d{5}(-\\d{4})?$","examples":["33606","33606-1234"],"isRequired":true,"uniqueKey":"property.zip","typeLabel":"string"},"lat":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude of the property, in degrees.","examples":[40.4358],"isRequired":true,"uniqueKey":"property.lat","typeLabel":"number"},"lon":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude of the property, in degrees.","examples":[-111.8683],"isRequired":true,"uniqueKey":"property.lon","typeLabel":"number"}},"isRequired":true,"uniqueKey":"property","typeLabel":"object"},"claim_number":{"type":"string","minLength":1,"maxLength":100,"pattern":"^\\S(.*\\S)?$","description":"The carrier's claim number, when there is one. Returned on the export. No leading or\ntrailing whitespace.\n","examples":["FL-2026-0091832"],"uniqueKey":"claim_number","typeLabel":"string"},"end_user":{"type":"object","description":"Who in your system asked for the export, for your own records. Send at least one of\n`id` and `email`. Returned on the export as sent.\n","additionalProperties":false,"minProperties":1,"properties":{"id":{"type":"string","minLength":1,"maxLength":100,"description":"Your own id for the user.","uniqueKey":"end_user.id","typeLabel":"string"},"email":{"type":"string","format":"email","maxLength":255,"description":"An email address.","examples":["maria.delgado@example.com"],"uniqueKey":"end_user.email","typeLabel":"string\u003cemail>"}},"uniqueKey":"end_user","typeLabel":"object"},"metadata":{"type":"object","description":"Your own key-value pairs, returned on the export as sent. Up to 20 keys, each 1 to 40\ncharacters of `a` to `z`, `0` to `9` and `_`; each value text of up to 200 characters.\n","maxProperties":20,"propertyNames":{"pattern":"^[a-z0-9_]{1,40}$"},"additionalProperties":{"type":"string","maxLength":200,"uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"examples":[{"branch":"north","job_type":"reroof"}],"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"gable":{"title":"gable","summary":"A gable roof and its property","value":{"reference":"ORDER-1042","input":{"type":"roof","format":"osa-roof/1","plan":{"units":"ft","y_axis":"up","north_deg":0},"structures":[{"id":"house","points":[{"id":"a","x":-20,"y":-15},{"id":"b","x":20,"y":-15},{"id":"c","x":20,"y":15},{"id":"d","x":-20,"y":15},{"id":"e","x":-20,"y":0},{"id":"f","x":20,"y":0}],"edges":[{"id":"eave-s","from":"a","to":"b","type":"eave"},{"id":"eave-n","from":"c","to":"d","type":"eave"},{"id":"ridge","from":"e","to":"f","type":"ridge"},{"id":"rake-sw","from":"a","to":"e","type":"rake"},{"id":"rake-se","from":"b","to":"f","type":"rake"},{"id":"rake-ne","from":"c","to":"f","type":"rake"},{"id":"rake-nw","from":"d","to":"e","type":"rake"}],"faces":[{"id":"south","edges":["eave-s","rake-se","ridge","rake-sw"],"pitch":6,"eave_height_ft":9},{"id":"north","edges":["eave-n","rake-nw","ridge","rake-ne"],"pitch":6,"eave_height_ft":9}]}]},"property":{"street":"740 Canyon View Drive","city":"Lehi","state":"UT","zip":"84043","lat":40.4358,"lon":-111.8683}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"85d83b15-fc90-48b2-be36-9c86e6e9ecf2":{"description":"The roof checks ran. `buildable` says whether the roof would be built; `problems` lists\nevery problem found, critical or not.\n","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/json":{"schema":{"type":"object","description":"The result of checking a roof. No export is recorded and the roof is not kept, and\nnothing is charged.\n","required":["buildable","problems"],"properties":{"buildable":{"type":"boolean","description":"`false` when any problem is an `error`: the roof would be refused.","isRequired":true,"uniqueKey":"buildable","typeLabel":"boolean"},"problems":{"type":"array","description":"Every problem the checks found, critical or not, each with its severity. A critical problem can stop the later checks on that structure, so check again after correcting it.\n","items":{"type":"object","description":"One problem with a roof: where it is, which check found it, how serious it is and what\nit means. The same shape in the check call's answer and an export's `warnings`.\n","required":["pointer","check","severity","detail"],"properties":{"pointer":{"type":"string","description":"JSON Pointer to the place in the request, for example `/input/structures/0/faces/8`.","isRequired":true,"uniqueKey":"problems.items.[INDEX].pointer","typeLabel":"string"},"check":{"type":"integer","minimum":1,"description":"The number of the check that found the problem: 1, the request matches the roof\nformat; 2, edges and faces refer to things that exist and faces close; 3, how edges\nsit on faces; 4, eaves and slope direction; 5, heights where faces meet; 6, heights\ngiven for every section; 7, the property's ZIP and location. More checks may be\nadded.\n","isRequired":true,"uniqueKey":"problems.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"`error`: critical, the roof cannot be built and is refused. `major` and `minor`:\nwarnings; the roof is built and `detail` says what OSA did. Open list: new values\nmay be added; treat an unknown value as `major`.\n","enum":["error","major","minor"],"isRequired":true,"uniqueKey":"problems.items.[INDEX].severity","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What is wrong, naming your own ids, and for a warning what OSA did about it.","isRequired":true,"uniqueKey":"problems.items.[INDEX].detail","typeLabel":"string"}},"uniqueKey":"problems.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"problems","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"clean":{"title":"clean","summary":"Buildable, with no problems","value":{"buildable":true,"problems":[]}},"warnings":{"title":"warnings","summary":"Buildable, with one major and one minor warning","value":{"buildable":true,"problems":[{"pointer":"/input/structures/0/edges/0","check":4,"severity":"major","detail":"eave `eave-s` is not level (its ends are 1 ft 3 in apart); it would be built as drawn"},{"pointer":"/input/structures/0/points/4","check":5,"severity":"minor","detail":"point `e`, the faces that meet there put it at different heights (1.7 in apart); it would be built at their average, 16 ft 6.9 in"}]}},"not_buildable":{"title":"not_buildable","summary":"Not buildable, with one critical problem and a warning","value":{"buildable":false,"problems":[{"pointer":"/input/structures/0/edges/2","check":2,"severity":"error","detail":"edge `ridge` joins point `g`, which does not exist"},{"pointer":"/input/structures/0/edges/7","check":3,"severity":"minor","detail":"Edge `stray` (unclassified) lies on no face. It is left out of the roof."}]}}},"exampleType":"examples"}},"exampleType":"examples"},"e6728438-79c9-4ac2-9bc2-5f55fada8a8a":{"description":"The body isn't valid JSON or can't be read (`malformed_request`).","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"malformed_request":{"title":"malformed_request","summary":"malformed_request","value":{"type":"https://docs.osaconnection.com/errors#malformed_request","title":"Malformed request","status":400,"detail":"The request body isn't valid JSON.","code":"malformed_request","request_id":"0a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d"}}},"exampleType":"examples"}},"exampleType":"examples"},"621c3f33-7c9f-4c6b-9005-f115d0b46cd6":{"description":"The key is missing, malformed, unknown, revoked or expired (`invalid_key`).\n","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"invalid_key":{"title":"invalid_key","summary":"invalid_key","value":{"type":"https://docs.osaconnection.com/errors#invalid_key","title":"Invalid API key","status":401,"detail":"The API key is missing, malformed, revoked or expired.","code":"invalid_key","request_id":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}},"exampleType":"examples"}},"exampleType":"examples"},"8389a8c9-e52f-4e47-be3a-3f820ac9b588":{"description":"The key is valid but can't do this. `not_in_plan`: the operation is not included in your\norganisation's plan and add-ons, whatever the key's own permissions. `insufficient_scope`:\nyour plan and add-ons include the operation, but the key doesn't have the permission it\nneeds.\n","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"insufficient_scope":{"title":"insufficient_scope","summary":"insufficient_scope","value":{"type":"https://docs.osaconnection.com/errors#insufficient_scope","title":"Insufficient scope","status":403,"detail":"This key doesn't have the claims:write permission.","code":"insufficient_scope","request_id":"0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e"}},"not_in_plan":{"title":"not_in_plan","summary":"not_in_plan","value":{"type":"https://docs.osaconnection.com/errors#not_in_plan","title":"Not in plan","status":403,"detail":"Member invitations are not included in your organisation's plan and add-ons.","code":"not_in_plan","request_id":"1c2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f"}}},"exampleType":"examples"}},"exampleType":"examples"},"105bd1a5-c0c7-446a-98e0-7fb114adfdb5":{"description":"The body is larger than 1 MB (`payload_too_large`).","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"payload_too_large":{"title":"payload_too_large","summary":"payload_too_large","value":{"type":"https://docs.osaconnection.com/errors#payload_too_large","title":"Payload too large","status":413,"detail":"Request bodies are limited to 1 MB.","code":"payload_too_large","request_id":"1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e"}}},"exampleType":"examples"}},"exampleType":"examples"},"d008d1d1-6218-46ce-a906-3e64415c1c05":{"description":"The request is invalid (`validation_failed`): a missing, unknown or invalid body field,\nquery parameter, path parameter or header. `errors` lists each problem: `pointer` for a\nbody field, `parameter` for a query or path parameter, `header` for a header.\n","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"validation_failed":{"title":"validation_failed","summary":"validation_failed","value":{"type":"https://docs.osaconnection.com/errors#validation_failed","title":"Validation failed","status":422,"detail":"The request has 1 invalid field.","code":"validation_failed","request_id":"8d9e0f1a2b3c4d5e6f7a8b9c0d1e2f3a","errors":[{"parameter":"limit","detail":"must be \u003c= 200"}]}}},"exampleType":"examples"}},"exampleType":"examples"},"9e40446b-7475-43d4-bf08-d9e441d62af6":{"description":"Too many requests for this key (`rate_limited`). Wait for the number of seconds in\n`Retry-After`, then retry.\n","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","required":true,"schema":{"type":"integer","minimum":1},"examples":{"seconds":{"summary":"Retry in 12 seconds","value":12}}},"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rate_limited":{"title":"rate_limited","summary":"rate_limited","value":{"type":"https://docs.osaconnection.com/errors#rate_limited","title":"Rate limited","status":429,"detail":"This key has exceeded 300 requests per minute.","code":"rate_limited","request_id":"9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f"}}},"exampleType":"examples"}},"exampleType":"examples"},"8d5bc26f-00cb-459b-8202-894794ae45f9":{"description":"Something failed on OSA's side (`internal_error`). Retry with exponential backoff; for\n`POST` requests, reuse the same `Idempotency-Key`. If it persists, contact OSA with the\n`request_id`.\n","headers":{"X-Request-Id":{"description":"The id of this request. Quote it to OSA support. On error responses it equals\n`request_id` in the body.\n","required":true,"schema":{"type":"string"},"examples":{"request_id":{"summary":"A request id","value":"7f3e9a1c2b4d6e8f0a1b3c5d7e9f1a2b"}}}},"content":{"application/problem+json":{"schema":{"type":"object","description":"An RFC 9457 problem details object. Match on `code`, which is stable; `title` and\n`detail` are for people and may change. Quote `request_id` when contacting support.\n","required":["type","title","status","detail","code","request_id"],"properties":{"type":{"type":"string","format":"uri","description":"A link to this error's documentation.","isRequired":true,"uniqueKey":"type","typeLabel":"string\u003curi>"},"title":{"type":"string","description":"A short summary of the error.","isRequired":true,"uniqueKey":"title","typeLabel":"string"},"status":{"type":"integer","description":"The HTTP status code.","isRequired":true,"uniqueKey":"status","typeLabel":"integer"},"detail":{"type":"string","description":"What went wrong in this request.","isRequired":true,"uniqueKey":"detail","typeLabel":"string"},"code":{"type":"string","description":"The stable error code. `malformed_request` (400); `invalid_key` (401);\n`insufficient_scope`, `not_in_plan` (403); `not_found` (404); `duplicate_claim`,\n`claim_already_accepted`, `already_member`, `invitation_pending`, `duplicate_export`,\n`export_not_ready` (409); `payload_too_large` (413); `validation_failed`,\n`idempotency_key_reused`, `unknown_osaid`, `adjuster_not_a_member`,\n`adjuster_not_accepting`, `environment_mismatch` (422); `rate_limited` (429);\n`internal_error` (500); `export_provider_unavailable` (503). Open list:\nnew values may be added; treat an unknown value as an error you don't specifically\nhandle, by its HTTP `status`.\n","enum":["malformed_request","invalid_key","insufficient_scope","not_in_plan","not_found","duplicate_claim","claim_already_accepted","already_member","invitation_pending","duplicate_export","export_not_ready","payload_too_large","validation_failed","idempotency_key_reused","unknown_osaid","adjuster_not_a_member","adjuster_not_accepting","environment_mismatch","rate_limited","internal_error","export_provider_unavailable"],"isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"request_id":{"type":"string","description":"The id of this request. Quote it when contacting support.","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"errors":{"type":"array","description":"For `validation_failed`, each invalid field, parameter or header.","items":{"type":"object","description":"One problem. Exactly one of `pointer`, `parameter` or `header` says where.","required":["detail"],"properties":{"detail":{"type":"string","description":"What is wrong with it.","isRequired":true,"uniqueKey":"errors.items.[INDEX].detail","typeLabel":"string"},"pointer":{"type":"string","description":"JSON Pointer to a body field, for example `/loss/date`. Empty for the whole body.","uniqueKey":"errors.items.[INDEX].pointer","typeLabel":"string"},"parameter":{"type":"string","description":"The name of a query or path parameter, for example `limit`.","uniqueKey":"errors.items.[INDEX].parameter","typeLabel":"string"},"header":{"type":"string","description":"The name of a request header, for example `Idempotency-Key`.","uniqueKey":"errors.items.[INDEX].header","typeLabel":"string"},"check":{"type":"integer","description":"For a roof problem, the number of the check.","uniqueKey":"errors.items.[INDEX].check","typeLabel":"integer"},"severity":{"type":"string","description":"For a roof problem, how serious it is; a request is refused only when at least\none is `error`. Open list: new values may be added; treat an unknown value as\n`major`.\n","enum":["error","major","minor"],"uniqueKey":"errors.items.[INDEX].severity","typeLabel":"enum\u003cstring>"}},"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"},"existing_claim_id":{"type":"string","format":"uuid","description":"For `duplicate_claim`, the id of the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_id","typeLabel":"string\u003cuuid>"},"existing_claim_url":{"type":"string","format":"uri","description":"For `duplicate_claim`, the API link to the claim that already exists. Always a claim your key can read.","uniqueKey":"existing_claim_url","typeLabel":"string\u003curi>"},"existing_export_id":{"type":"string","format":"uuid","description":"For `duplicate_export`, the id of the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_id","typeLabel":"string\u003cuuid>"},"existing_export_url":{"type":"string","format":"uri","description":"For `duplicate_export`, the API link to the export that already exists. Always an export your key can read.","uniqueKey":"existing_export_url","typeLabel":"string\u003curi>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"internal_error":{"title":"internal_error","summary":"internal_error","value":{"type":"https://docs.osaconnection.com/errors#internal_error","title":"Internal error","status":500,"detail":"Something went wrong on our side. Retry later.","code":"internal_error","request_id":"2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"f06e8fc2-e5ee-44bf-88c3-16773555ad93":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"osa_live_… or osa_test_…","description":"Send your API key as a bearer token: `Authorization: Bearer osa_live_…`.\nKeys are opaque; each belongs to exactly one partner. Keys starting with `osa_test_`\nreach only test claims and test accounts. The scopes listed on each operation are the\npermissions the key needs. A key's permissions are set when it is issued and can be\nchanged by OSA on request, never beyond what your plan and add-ons include.\n`GET /v1/me` always shows the current set.\n","scopes":["esx-exports:create"],"schemeName":"apiKey"}}},"servers":{"b67ade9b-36f1-4418-bc39-53e2c9b9ca47":{"url":"https://api.osaconnection.com","description":"Production. Live and test keys both use this host; the key decides which data you reach."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","bearerFormat":"osa_live_… or osa_test_…","description":"Send your API key as a bearer token: `Authorization: Bearer osa_live_…`.\nKeys are opaque; each belongs to exactly one partner. Keys starting with `osa_test_`\nreach only test claims and test accounts. The scopes listed on each operation are the\npermissions the key needs. A key's permissions are set when it is issued and can be\nchanged by OSA on request, never beyond what your plan and add-ons include.\n`GET /v1/me` always shows the current set.\n","scopes":["esx-exports:create"],"schemeName":"apiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your API key as a bearer token: `Authorization: Bearer osa_live_…`.\nKeys are opaque; each belongs to exactly one partner. Keys starting with `osa_test_`\nreach only test claims and test accounts. The scopes listed on each operation are the\npermissions the key needs. A key's permissions are set when it is issued and can be\nchanged by OSA on request, never beyond what your plan and add-ons include.\n`GET /v1/me` always shows the current set.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiKey","name":"Authorization"}],"title":"apiKey"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"onestopadjuster","siteName":"One Stop Adjuster","title":"Check a roof without building it - One Stop Adjuster","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T06:52:33.252Z","originalFileLocation":"api-reference/esx-exports/check-a-roof-without-building-it.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every problem found. No export is recorded and the roof is not kept; nothing is sent to the export provider or charged, so check as often as you like. The reference is not checked for duplicates. The request\u0026#x27;s shape comes first. A misspelt or unknown field, a wrong type or a value out of range answers 422 validation_failed, with errors pointing at each field, and the roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a repeated id, heights given two ways or on some points only, an overhang on an edge that is not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof problems of check 1, critical, and answer 200 with buildable: false. Severities. error is critical: the roof cannot be built and would be refused, so buildable is false. major and minor are warnings: the roof would be built anyway, and detail says what OSA would do. A critical problem can stop the later checks on its structure, so check again after correcting it. Checking first is optional. POST /v1/esx-exports always runs the checks again.\">\u003cmeta data-mint-head name=\"application-name\" content=\"One Stop Adjuster\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Check a roof without building it - One Stop Adjuster\">\u003cmeta data-mint-head property=\"og:description\" content=\"Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every problem found. No export is recorded and the roof is not kept; nothing is sent to the export provider or charged, so check as often as you like. The reference is not checked for duplicates. The request\u0026#x27;s shape comes first. A misspelt or unknown field, a wrong type or a value out of range answers 422 validation_failed, with errors pointing at each field, and the roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a repeated id, heights given two ways or on some points only, an overhang on an edge that is not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof problems of check 1, critical, and answer 200 with buildable: false. Severities. error is critical: the roof cannot be built and would be refused, so buildable is false. major and minor are warnings: the roof would be built anyway, and detail says what OSA would do. A critical problem can stop the later checks on its structure, so check again after correcting it. Checking first is optional. POST /v1/esx-exports always runs the checks again.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"One Stop Adjuster\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onestopadjuster.mintlify.site/_mintlify/api/og/v2?division=ESX+exports\u0026amp;title=Check+a+roof+without+building+it\u0026amp;description=Runs+the+checks+that+%60POST+%2Fv1%2Fesx-exports%60+runs%2C+on+the+same+body%2C+and+answers+with+every%0Aproblem+found.+No+export+is+recorded+and+the+roof+is+not+kept%3B+nothin\u0026amp;theme=fe3856ebfba9b9487f8a0719\u0026amp;signature=c3ec227cf70db935c742cc5a3a8a2641088975e9b1e471788961e4f025f96418\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Check a roof without building it - One Stop Adjuster\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every problem found. No export is recorded and the roof is not kept; nothing is sent to the export provider or charged, so check as often as you like. The reference is not checked for duplicates. The request\u0026#x27;s shape comes first. A misspelt or unknown field, a wrong type or a value out of range answers 422 validation_failed, with errors pointing at each field, and the roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a repeated id, heights given two ways or on some points only, an overhang on an edge that is not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof problems of check 1, critical, and answer 200 with buildable: false. Severities. error is critical: the roof cannot be built and would be refused, so buildable is false. major and minor are warnings: the roof would be built anyway, and detail says what OSA would do. A critical problem can stop the later checks on its structure, so check again after correcting it. Checking first is optional. POST /v1/esx-exports always runs the checks again.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onestopadjuster.mintlify.site/_mintlify/api/og/v2?division=ESX+exports\u0026amp;title=Check+a+roof+without+building+it\u0026amp;description=Runs+the+checks+that+%60POST+%2Fv1%2Fesx-exports%60+runs%2C+on+the+same+body%2C+and+answers+with+every%0Aproblem+found.+No+export+is+recorded+and+the+roof+is+not+kept%3B+nothin\u0026amp;theme=fe3856ebfba9b9487f8a0719\u0026amp;signature=c3ec227cf70db935c742cc5a3a8a2641088975e9b1e471788961e4f025f96418\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/onestopadjuster/fl-QmoE10LJchaxP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"One Stop Adjuster\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#01729D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/esx-exports/check-a-roof-without-building-it.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.osaconnection.com/#organization\",\"name\":\"One Stop Adjuster\",\"url\":\"https://docs.osaconnection.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onestopadjuster/LWybYtOm0TEXmFtz/logo/light.svg?fit=max\u0026auto=format\u0026n=LWybYtOm0TEXmFtz\u0026q=85\u0026s=251d9f975a12c805ed521778fe92ea6f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.osaconnection.com#website\",\"name\":\"One Stop Adjuster\",\"url\":\"https://docs.osaconnection.com\",\"publisher\":{\"@id\":\"https://docs.osaconnection.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it#webpage\",\"url\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\",\"name\":\"Check a roof without building it\",\"description\":\"Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every problem found. No export is recorded and the roof is not kept; nothing is sent to the export provider or charged, so check as often as you like. The reference is not checked for duplicates. The request's shape comes first. A misspelt or unknown field, a wrong type or a value out of range answers 422 validation_failed, with errors pointing at each field, and the roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a repeated id, heights given two ways or on some points only, an overhang on an edge that is not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof problems of check 1, critical, and answer 200 with buildable: false. Severities. error is critical: the roof cannot be built and would be refused, so buildable is false. major and minor are warnings: the roof would be built anyway, and detail says what OSA would do. A critical problem can stop the later checks on its structure, so check again after correcting it. Checking first is optional. POST /v1/esx-exports always runs the checks again.\",\"dateModified\":\"2026-11-30T06:52:33.252Z\",\"isPartOf\":{\"@id\":\"https://docs.osaconnection.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"One Stop Adjuster\",\"item\":\"https://docs.osaconnection.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Check a roof without building it\",\"item\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it#apireference\",\"headline\":\"Check a roof without building it\",\"name\":\"Check a roof without building it\",\"description\":\"Runs the checks that POST /v1/esx-exports runs, on the same body, and answers with every problem found. No export is recorded and the roof is not kept; nothing is sent to the export provider or charged, so check as often as you like. The reference is not checked for duplicates. The request's shape comes first. A misspelt or unknown field, a wrong type or a value out of range answers 422 validation_failed, with errors pointing at each field, and the roof checks do not run. Rules the schema cannot express (a scale missing or not allowed, a repeated id, heights given two ways or on some points only, an overhang on an edge that is not an eave or a rake, a coordinate more than 1,000,000 plan units either way) are roof problems of check 1, critical, and answer 200 with buildable: false. Severities. error is critical: the roof cannot be built and would be refused, so buildable is false. major and minor are warnings: the roof would be built anyway, and detail says what OSA would do. A critical problem can stop the later checks on its structure, so check again after correcting it. Checking first is optional. POST /v1/esx-exports always runs the checks again.\",\"url\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\",\"mainEntityOfPage\":{\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it#webpage\"},\"dateModified\":\"2026-11-30T06:52:33.252Z\",\"publisher\":{\"@id\":\"https://docs.osaconnection.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.osaconnection.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"One Stop Adjuster\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"One Stop Adjuster\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/esx-exports/check-a-roof-without-building-it.md","siteName":"One Stop Adjuster","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API reference","groups":[{"group":"Claims","pages":[{"title":"Send a claim to an adjuster","openapi":"POST /v1/claims","href":"/api-reference/claims/send-a-claim-to-an-adjuster"},{"title":"List and poll claims","openapi":"GET /v1/claims","href":"/api-reference/claims/list-and-poll-claims"},{"title":"Get a claim","openapi":"GET /v1/claims/{id}","href":"/api-reference/claims/get-a-claim"},{"title":"Offer a claim to another adjuster","openapi":"POST /v1/claims/{id}/assignment","href":"/api-reference/claims/offer-a-claim-to-another-adjuster"}]},{"group":"Members","pages":[{"title":"Invite a person to your organisation","openapi":"POST /v1/members/invitations","href":"/api-reference/members/invite-a-person-to-your-organisation"},{"title":"List your members and invitations","openapi":"GET /v1/members","href":"/api-reference/members/list-your-members-and-invitations"},{"title":"Withdraw a pending invitation","openapi":"DELETE /v1/members/invitations/{osa_id}","href":"/api-reference/members/withdraw-a-pending-invitation"}]},{"group":"Account","pages":[{"title":"Check your API key","openapi":"GET /v1/me","href":"/api-reference/account/check-your-api-key"},{"title":"Check the service is up","openapi":"GET /v1/health","description":"Returns `200` when the API is accepting requests. It needs no key and returns no data,\nso it is safe for uptime monitors.\n","href":"/api-reference/health/check-the-service-is-up"}]},{"group":"ESX exports","pages":[{"title":"Check a roof without building it","openapi":"POST /v1/esx-exports/checks","href":"/api-reference/esx-exports/check-a-roof-without-building-it"},{"title":"Send a roof to be built into an ESX","openapi":"POST /v1/esx-exports","description":"Checks the roof, sends it to the export provider to be built, and records the export. The\nanswer comes before the build finishes: `202` with the export, usually `status: processing`,\nand its warnings. Poll `GET /v1/esx-exports/{id}` until it is `ready`, then ask for the file\nwith `POST /v1/esx-exports/{id}/download`. Sending a roof is not charged; asking for its ESX\nis, whether or not it has warnings, so look at `clean` and `major_warnings` first.\n\n**Refused only for a critical problem.** The request's shape is validated first, then the\nroof checks run, whether or not you checked the roof with `POST /v1/esx-exports/checks`. A\nbadly shaped request, or a roof with a critical problem (`severity: error`), answers\n`422 validation_failed` and nothing is recorded. For a roof problem, `errors` lists every\nproblem found, critical or not, each with its `pointer`, `check`, `severity` and `detail`.\nA critical problem can stop the later checks on its structure, so check again after\ncorrecting it. Every other problem is a warning: the ESX is built anyway, and the export\nlists each warning and what OSA did about it.\n\n**One export per reference.** Within the key's environment (test or live), a `reference`\nyou have already used fails with `409 duplicate_export`, which names the existing export.\nSend a corrected roof to that export with `POST /v1/esx-exports/{id}/versions`.\n\n**If the export provider is unavailable.** The answer is `503 export_provider_unavailable`:\nnothing was created or charged. Send the same request again, with the same\n`Idempotency-Key`.\n\n**Test keys.** An export sent with an `osa_test_` key is a test export (`test: true`),\nbuilt on a test system and never charged. A key sees only exports of its own environment.\n\n**Retries.** `Idempotency-Key` is required. Retrying the same request (same method, path\nand body) with the same key within 24 hours returns the same status code with the export's\ncurrent state, and creates nothing new. The same key with a different request fails with\n`422 idempotency_key_reused`.\n","href":"/api-reference/esx-exports/send-a-roof-to-be-built-into-an-esx"},{"title":"List exports","openapi":"GET /v1/esx-exports","href":"/api-reference/esx-exports/list-exports"},{"title":"Get an export","openapi":"GET /v1/esx-exports/{id}","href":"/api-reference/esx-exports/get-an-export"},{"title":"Send a corrected roof for an export","openapi":"POST /v1/esx-exports/{id}/versions","href":"/api-reference/esx-exports/send-a-corrected-roof-for-an-export"},{"title":"Ask for the ESX file","openapi":"POST /v1/esx-exports/{id}/download","href":"/api-reference/esx-exports/ask-for-the-esx-file"}]}]}]},"basePath":"","title":"Check a roof without building it - One Stop Adjuster","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}