Replaces an export’s roof with a corrected one and builds it again. The export keeps its
id and reference, its version goes up by one, and it returns to status: processing:
poll it as after POST /v1/esx-exports. Send property only if the address or location
changed.
When you can send one. An export that is ready or failed takes a new version. One
still processing fails with 409 export_not_ready; check it again shortly.
Refused only for a critical problem. The request is validated and the corrected roof
checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export
as it was.
After a new version.warnings, major_warnings, minor_warnings, clean,
provider_messages and failure describe the latest version only; version says which.
Once a new version is accepted, the earlier version’s ESX can no longer be asked for, even
if the new build fails.
If the export provider is unavailable. The answer is 503 export_provider_unavailable
and nothing is charged. If the provider could not be reached before sending started, the
export is left as it was. If it failed after sending started, the export becomes failed
with reason build_failed, because the earlier file is no longer available. Either way,
send the same request again (the same Idempotency-Key may be reused). If a version was
answered 202 and the export later shows failed, send it again with a new
Idempotency-Key.
Charges. A corrected version is not another use: if you have already asked for the
export’s ESX, asking again after the new version is not charged again.
Retries.Idempotency-Key is required, and works as for POST /v1/esx-exports.
An export of another partner, or of the other environment (test or live), returns
404 not_found.
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
Headers
Idempotency-Key
string
required
A unique value your system generates for each operation, such as a UUID. Reuse the same
value only when retrying the same request. The key is matched with a fingerprint of the
whole request: method, path and body. For 24 hours, a retry of the same request with the
same key returns the same status code with the resource's current state, and creates
nothing new; the same key with a different request fails with
422 idempotency_key_reused.
Required string length: 1 - 255
Path Parameters
id
string<uuid>
required
OSA's export id, as returned in the export's id.
Body
application/json
The corrected roof, and the property only if it changed.
A corrected roof for an existing export, and the property only if it changed.
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 corrected roof was recorded and sent to the export provider. As for
POST /v1/esx-exports: the export is usually processing, or already failed with reason
build_refused if the provider refused the file outright. A retry with the same
Idempotency-Key returns 202 again with the export's current state.
An export: the roof you sent, on its way to becoming an ESX. warnings, major_warnings,
minor_warnings, clean, provider_messages and failure describe the latest version
only; version says which.
id
string<uuid>
required
OSA's id for the export.
reference
string
required
Your own id for the order.
test
boolean
required
true for a test export, one sent with a test key: built on a test system and never
charged. The value never changes. A key sees only exports of its own environment, so
the field matters only if you store exports from both keys.
status
enum<string>
required
processing: received and on its way through the build. ready: the ESX can be
asked for. failed: not built; failure says why. Open list: new values may be
added; treat an unknown value as processing.
Available options:
processing,
ready,
failed
failure
object | null
required
Why the latest version was not built. null unless status is failed.
Show child attributes
clean
boolean
required
true when the latest version has no warnings.
major_warnings
integer
required
The exact number of major warnings on the latest version.
Required range: x >= 0
minor_warnings
integer
required
The exact number of minor warnings on the latest version.
Required range: x >= 0
warnings
object[]
required
The latest version's warnings, each with its severity and what OSA did about it. At
most 100; the two counts are exact. When there are more than 100, it holds the
major ones first, then the minor ones, in check order. Never contains a problem of
severity error.
Maximum array length: 100
Show child attributes
provider_messages
string[]
required
What the export provider said about the latest version's file when it took it.
Usually empty. Free text for people, in the export provider's own words, which may
name the provider's products; do not parse it. It does not affect clean.
version
integer
required
The version of the roof the export is built from. 1 until you send a corrected roof.
Required range: x >= 1
created_at
string<date-time>
required
When the export was created.
updated_at
string<date-time>
required
When the export last changed: it moves when the export is created, when its status
changes, when a new version is accepted, and when its ESX is first asked for. This is
the field updated_since filters on.
ready_at
string<date-time> | null
required
When the latest version became ready; null until then.
first_downloaded_at
string<date-time> | null
required
When the ESX was first asked for; null until then.
claim_number
string | null
required
The carrier's claim number, as you sent it; null if you sent none.
end_user
object | null
required
Who in your system asked for the export, as you sent it; null if you sent none.
Show child attributes
metadata
object
required
Your own key-value pairs, as you sent them; empty if you sent none.
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/send-a-corrected-roof-for-an-export","slug":"/api-reference/esx-exports/send-a-corrected-roof-for-an-export","pageMetadata":{"title":"Send a corrected roof for an export","openapi":"POST /v1/esx-exports/{id}/versions","description":"Replaces an export's roof with a corrected one and builds it again. The export keeps its\n`id` and `reference`, its `version` goes up by one, and it returns to `status: processing`:\npoll it as after `POST /v1/esx-exports`. Send `property` only if the address or location\nchanged.\n\n**When you can send one.** An export that is `ready` or `failed` takes a new version. One\nstill `processing` fails with `409 export_not_ready`; check it again shortly.\n\n**Refused only for a critical problem.** The request is validated and the corrected roof\nchecked exactly as for `POST /v1/esx-exports`. A `422 validation_failed` leaves the export\nas it was.\n\n**After a new version.** `warnings`, `major_warnings`, `minor_warnings`, `clean`,\n`provider_messages` and `failure` describe the latest version only; `version` says which.\nOnce a new version is accepted, the earlier version's ESX can no longer be asked for, even\nif the new build fails.\n\n**If the export provider is unavailable.** The answer is `503 export_provider_unavailable`\nand nothing is charged. If the provider could not be reached before sending started, the\nexport is left as it was. If it failed after sending started, the export becomes `failed`\nwith reason `build_failed`, because the earlier file is no longer available. Either way,\nsend the same request again (the same `Idempotency-Key` may be reused). If a version was\nanswered `202` and the export later shows `failed`, send it again with a new\n`Idempotency-Key`.\n\n**Charges.** A corrected version is not another use: if you have already asked for the\nexport's ESX, asking again after the new version is not charged again.\n\n**Retries.** `Idempotency-Key` is required, and works as for `POST /v1/esx-exports`.\n\nAn export of another partner, or of the other environment (test or live), returns\n`404 not_found`.\n","href":"/api-reference/esx-exports/send-a-corrected-roof-for-an-export"},"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: [\"Replaces an export’s roof with a corrected one and builds it again. The export keeps its\\n\", _jsx(_components.code, {\n children: \"id\"\n }), \" and \", _jsx(_components.code, {\n children: \"reference\"\n }), \", its \", _jsx(_components.code, {\n children: \"version\"\n }), \" goes up by one, and it returns to \", _jsx(_components.code, {\n children: \"status: processing\"\n }), \":\\npoll it as after \", _jsx(_components.code, {\n children: \"POST /v1/esx-exports\"\n }), \". Send \", _jsx(_components.code, {\n children: \"property\"\n }), \" only if the address or location\\nchanged.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"When you can send one.\"\n }), \" An export that is \", _jsx(_components.code, {\n children: \"ready\"\n }), \" or \", _jsx(_components.code, {\n children: \"failed\"\n }), \" takes a new version. One\\nstill \", _jsx(_components.code, {\n children: \"processing\"\n }), \" fails with \", _jsx(_components.code, {\n children: \"409 export_not_ready\"\n }), \"; check it again shortly.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Refused only for a critical problem.\"\n }), \" The request is validated and the corrected roof\\nchecked exactly as for \", _jsx(_components.code, {\n children: \"POST /v1/esx-exports\"\n }), \". A \", _jsx(_components.code, {\n children: \"422 validation_failed\"\n }), \" leaves the export\\nas it was.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"After a new version.\"\n }), \" \", _jsx(_components.code, {\n children: \"warnings\"\n }), \", \", _jsx(_components.code, {\n children: \"major_warnings\"\n }), \", \", _jsx(_components.code, {\n children: \"minor_warnings\"\n }), \", \", _jsx(_components.code, {\n children: \"clean\"\n }), \",\\n\", _jsx(_components.code, {\n children: \"provider_messages\"\n }), \" and \", _jsx(_components.code, {\n children: \"failure\"\n }), \" describe the latest version only; \", _jsx(_components.code, {\n children: \"version\"\n }), \" says which.\\nOnce a new version is accepted, the earlier version’s ESX can no longer be asked for, even\\nif the new build fails.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"If the export provider is unavailable.\"\n }), \" The answer is \", _jsx(_components.code, {\n children: \"503 export_provider_unavailable\"\n }), \"\\nand nothing is charged. If the provider could not be reached before sending started, the\\nexport is left as it was. If it failed after sending started, the export becomes \", _jsx(_components.code, {\n children: \"failed\"\n }), \"\\nwith reason \", _jsx(_components.code, {\n children: \"build_failed\"\n }), \", because the earlier file is no longer available. Either way,\\nsend the same request again (the same \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" may be reused). If a version was\\nanswered \", _jsx(_components.code, {\n children: \"202\"\n }), \" and the export later shows \", _jsx(_components.code, {\n children: \"failed\"\n }), \", send it again with a new\\n\", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Charges.\"\n }), \" A corrected version is not another use: if you have already asked for the\\nexport’s ESX, asking again after the new version is not charged again.\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [_jsx(_components.strong, {\n children: \"Retries.\"\n }), \" \", _jsx(_components.code, {\n children: \"Idempotency-Key\"\n }), \" is required, and works as for \", _jsx(_components.code, {\n children: \"POST /v1/esx-exports\"\n }), \".\"]\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"An export of another partner, or of the other environment (test or live), returns\\n\", _jsx(_components.code, {\n children: \"404 not_found\"\n }), \".\"]\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":"Send a corrected roof for an export","openapi":"POST /v1/esx-exports/{id}/versions","description":"Replaces an export's roof with a corrected one and builds it again. The export keeps its\n`id` and `reference`, its `version` goes up by one, and it returns to `status: processing`:\npoll it as after `POST /v1/esx-exports`. Send `property` only if the address or location\nchanged.\n\n**When you can send one.** An export that is `ready` or `failed` takes a new version. One\nstill `processing` fails with `409 export_not_ready`; check it again shortly.\n\n**Refused only for a critical problem.** The request is validated and the corrected roof\nchecked exactly as for `POST /v1/esx-exports`. A `422 validation_failed` leaves the export\nas it was.\n\n**After a new version.** `warnings`, `major_warnings`, `minor_warnings`, `clean`,\n`provider_messages` and `failure` describe the latest version only; `version` says which.\nOnce a new version is accepted, the earlier version's ESX can no longer be asked for, even\nif the new build fails.\n\n**If the export provider is unavailable.** The answer is `503 export_provider_unavailable`\nand nothing is charged. If the provider could not be reached before sending started, the\nexport is left as it was. If it failed after sending started, the export becomes `failed`\nwith reason `build_failed`, because the earlier file is no longer available. Either way,\nsend the same request again (the same `Idempotency-Key` may be reused). If a version was\nanswered `202` and the export later shows `failed`, send it again with a new\n`Idempotency-Key`.\n\n**Charges.** A corrected version is not another use: if you have already asked for the\nexport's ESX, asking again after the new version is not charged again.\n\n**Retries.** `Idempotency-Key` is required, and works as for `POST /v1/esx-exports`.\n\nAn export of another partner, or of the other environment (test or live), returns\n`404 not_found`.\n","href":"/api-reference/esx-exports/send-a-corrected-roof-for-an-export"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["ESX exports"],"operationId":"createEsxExportVersion","summary":"Send a corrected roof for an export","description":"Replaces an export's roof with a corrected one and builds it again. The export keeps its\n`id` and `reference`, its `version` goes up by one, and it returns to `status: processing`:\npoll it as after `POST /v1/esx-exports`. Send `property` only if the address or location\nchanged.\n\n**When you can send one.** An export that is `ready` or `failed` takes a new version. One\nstill `processing` fails with `409 export_not_ready`; check it again shortly.\n\n**Refused only for a critical problem.** The request is validated and the corrected roof\nchecked exactly as for `POST /v1/esx-exports`. A `422 validation_failed` leaves the export\nas it was.\n\n**After a new version.** `warnings`, `major_warnings`, `minor_warnings`, `clean`,\n`provider_messages` and `failure` describe the latest version only; `version` says which.\nOnce a new version is accepted, the earlier version's ESX can no longer be asked for, even\nif the new build fails.\n\n**If the export provider is unavailable.** The answer is `503 export_provider_unavailable`\nand nothing is charged. If the provider could not be reached before sending started, the\nexport is left as it was. If it failed after sending started, the export becomes `failed`\nwith reason `build_failed`, because the earlier file is no longer available. Either way,\nsend the same request again (the same `Idempotency-Key` may be reused). If a version was\nanswered `202` and the export later shows `failed`, send it again with a new\n`Idempotency-Key`.\n\n**Charges.** A corrected version is not another use: if you have already asked for the\nexport's ESX, asking again after the new version is not charged again.\n\n**Retries.** `Idempotency-Key` is required, and works as for `POST /v1/esx-exports`.\n\nAn export of another partner, or of the other environment (test or live), returns\n`404 not_found`.\n","security":["fb6b45e8-8c0a-4b73-aa84-c2785f9b77a7"],"parameters":["f5bb6c34-3ba2-4d73-9c42-e9f9471fcedc","fef1b85c-8f53-4864-853a-15ea20636ac0"],"requestBody":"3452e704-052b-48fc-90df-0bdf9aca5125","responses":{"202":"d24d4e39-882e-4b7b-a7b5-8a3e37920ac0","400":"c6f2ad37-8074-4395-9d4c-258a10b5ee09","401":"e5a81ce6-e9eb-4af0-b1d2-06e5fda95637","403":"c03b5455-c64a-4716-a6a7-ca307ddc8314","404":"793317d7-80d2-4635-884f-76741351a381","409":"1827f24e-e169-4f72-b717-dd73595e9a55","413":"1aaebdcd-dc46-4f6a-a15f-15e45eeceee3","422":"573357a0-fb0f-4f43-bb08-e79a65c23170","429":"83009f88-1a74-40da-a090-6696dbe7a953","500":"4f5983fb-07d6-4bf6-9bee-51301721c869","503":"4d2cdd52-29ae-4b31-beec-d6e1787cb824"},"method":"post","type":"path","servers":["b67ade9b-36f1-4418-bc39-53e2c9b9ca47"],"path":"/v1/esx-exports/{id}/versions","baseUrlOptions":["https://api.osaconnection.com"],"title":"Send a corrected roof for an export","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f5bb6c34-3ba2-4d73-9c42-e9f9471fcedc":{"name":"id","in":"path","required":true,"description":"OSA's export id, as returned in the export's `id`.","schema":{"type":"string","format":"uuid","isRequired":true,"description":"OSA's export id, as returned in the export's `id`.","uniqueKey":"","typeLabel":"string\u003cuuid>"},"examples":{"export":{"summary":"An export id","value":"3f0c8a6e-5b1d-4c0e-9a77-2f6d1e4b8c90"}}},"fef1b85c-8f53-4864-853a-15ea20636ac0":{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value your system generates for each operation, such as a UUID. Reuse the same\nvalue only when retrying the same request. The key is matched with a fingerprint of the\nwhole request: method, path and body. For 24 hours, a retry of the same request with the\nsame key returns the same status code with the resource's current state, and creates\nnothing new; the same key with a different request fails with\n`422 idempotency_key_reused`.\n","schema":{"type":"string","minLength":1,"maxLength":255,"isRequired":true,"description":"A unique value your system generates for each operation, such as a UUID. Reuse the same\nvalue only when retrying the same request. The key is matched with a fingerprint of the\nwhole request: method, path and body. For 24 hours, a retry of the same request with the\nsame key returns the same status code with the resource's current state, and creates\nnothing new; the same key with a different request fails with\n`422 idempotency_key_reused`.\n","uniqueKey":"","typeLabel":"string"},"examples":{"uuid":{"summary":"A UUID per operation","value":"7c4e2b9a-1f3d-4e8a-b6c5-0d9e8f7a6b5c"}}}},"requestBody":{"required":true,"description":"The corrected roof, and the property only if it changed.","content":{"application/json":{"schema":{"type":"object","description":"A corrected roof for an existing export, and the property only if it changed.\n","additionalProperties":false,"required":["input"],"properties":{"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"}},"uniqueKey":"property","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"corrected":{"title":"corrected","summary":"A corrected roof, same property","value":{"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}]}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d24d4e39-882e-4b7b-a7b5-8a3e37920ac0":{"description":"The corrected roof was recorded and sent to the export provider. As for\n`POST /v1/esx-exports`: the export is usually `processing`, or already `failed` with reason\n`build_refused` if the provider refused the file outright. A retry with the same\n`Idempotency-Key` returns `202` again with the export's current state.\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":"An export: the roof you sent, on its way to becoming an ESX. `warnings`, `major_warnings`,\n`minor_warnings`, `clean`, `provider_messages` and `failure` describe the latest version\nonly; `version` says which.\n","required":["id","reference","test","status","failure","clean","major_warnings","minor_warnings","warnings","provider_messages","version","created_at","updated_at","ready_at","first_downloaded_at","claim_number","end_user","metadata"],"properties":{"id":{"type":"string","format":"uuid","description":"OSA's id for the export.","isRequired":true,"uniqueKey":"id","typeLabel":"string\u003cuuid>"},"reference":{"type":"string","description":"Your own id for the order.","isRequired":true,"uniqueKey":"reference","typeLabel":"string"},"test":{"type":"boolean","description":"`true` for a test export, one sent with a test key: built on a test system and never\ncharged. The value never changes. A key sees only exports of its own environment, so\nthe field matters only if you store exports from both keys.\n","isRequired":true,"uniqueKey":"test","typeLabel":"boolean"},"status":{"type":"string","description":"`processing`: received and on its way through the build. `ready`: the ESX can be\nasked for. `failed`: not built; `failure` says why. Open list: new values may be\nadded; treat an unknown value as `processing`.\n","enum":["processing","ready","failed"],"isRequired":true,"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"failure":{"oneOf":[{"type":"object","description":"Why the latest version was not built. `null` unless `status` is `failed`.\n","required":["reason","detail"],"properties":{"reason":{"type":"string","description":"`build_refused`: the export provider refused the file; correct the roof and send a new\nversion. `build_failed`: the provider took the file and could not build it, or a\ncorrected version could not be sent to it; send a new version, or contact OSA.\n`build_timeout`: not ready 10 minutes after it was sent, once the export provider\nconfirms the build has not finished; send the same roof as a new version. Open list: new\nvalues may be added; treat an unknown value as `build_failed`.\n","enum":["build_refused","build_failed","build_timeout"],"isRequired":true,"uniqueKey":"failure.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","description":"What happened: free text for people, not for parsing; use `reason`. For\n`build_refused`, it is in the export provider's own words, which may name the\nprovider's products.\n","isRequired":true,"uniqueKey":"failure.oneOf.0.detail","typeLabel":"string"}},"isRequired":true,"uniqueKey":"failure.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why the latest version was not built. `null` unless `status` is `failed`.\n","required":["reason","detail"],"properties":{"reason":{"type":"string","description":"`build_refused`: the export provider refused the file; correct the roof and send a new\nversion. `build_failed`: the provider took the file and could not build it, or a\ncorrected version could not be sent to it; send a new version, or contact OSA.\n`build_timeout`: not ready 10 minutes after it was sent, once the export provider\nconfirms the build has not finished; send the same roof as a new version. Open list: new\nvalues may be added; treat an unknown value as `build_failed`.\n","enum":["build_refused","build_failed","build_timeout"]},"detail":{"type":"string","description":"What happened: free text for people, not for parsing; use `reason`. For\n`build_refused`, it is in the export provider's own words, which may name the\nprovider's products.\n"}},"isRequired":true,"uniqueKey":"failure.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"failure","typeLabel":"object | null"},"clean":{"type":"boolean","description":"`true` when the latest version has no warnings.","isRequired":true,"uniqueKey":"clean","typeLabel":"boolean"},"major_warnings":{"type":"integer","minimum":0,"description":"The exact number of `major` warnings on the latest version.","isRequired":true,"uniqueKey":"major_warnings","typeLabel":"integer"},"minor_warnings":{"type":"integer","minimum":0,"description":"The exact number of `minor` warnings on the latest version.","isRequired":true,"uniqueKey":"minor_warnings","typeLabel":"integer"},"warnings":{"type":"array","description":"The latest version's warnings, each with its severity and what OSA did about it. At\nmost 100; the two counts are exact. When there are more than 100, it holds the\n`major` ones first, then the `minor` ones, in check order. Never contains a problem of\nseverity `error`.\n","maxItems":100,"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":"warnings.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":"warnings.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":"warnings.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":"warnings.items.[INDEX].detail","typeLabel":"string"}},"uniqueKey":"warnings.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"warnings","typeLabel":"object[]"},"provider_messages":{"type":"array","description":"What the export provider said about the latest version's file when it took it.\nUsually empty. Free text for people, in the export provider's own words, which may\nname the provider's products; do not parse it. It does not affect `clean`.\n","items":{"type":"string","uniqueKey":"provider_messages.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"provider_messages","typeLabel":"string[]"},"version":{"type":"integer","minimum":1,"description":"The version of the roof the export is built from. `1` until you send a corrected roof.","isRequired":true,"uniqueKey":"version","typeLabel":"integer"},"created_at":{"type":"string","format":"date-time","description":"When the export was created.","isRequired":true,"uniqueKey":"created_at","typeLabel":"string\u003cdate-time>"},"updated_at":{"type":"string","format":"date-time","description":"When the export last changed: it moves when the export is created, when its `status`\nchanges, when a new version is accepted, and when its ESX is first asked for. This is\nthe field `updated_since` filters on.\n","isRequired":true,"uniqueKey":"updated_at","typeLabel":"string\u003cdate-time>"},"ready_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the latest version became `ready`; `null` until then.","isRequired":true,"uniqueKey":"ready_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the latest version became `ready`; `null` until then.","isRequired":true,"uniqueKey":"ready_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"ready_at","typeLabel":"string\u003cdate-time> | null"},"first_downloaded_at":{"oneOf":[{"type":"string","format":"date-time","description":"When the ESX was first asked for; `null` until then.","isRequired":true,"uniqueKey":"first_downloaded_at.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the ESX was first asked for; `null` until then.","isRequired":true,"uniqueKey":"first_downloaded_at.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"first_downloaded_at","typeLabel":"string\u003cdate-time> | null"},"claim_number":{"oneOf":[{"type":"string","description":"The carrier's claim number, as you sent it; `null` if you sent none.","isRequired":true,"uniqueKey":"claim_number.oneOf.0","typeLabel":"string"},{"type":"null","description":"The carrier's claim number, as you sent it; `null` if you sent none.","isRequired":true,"uniqueKey":"claim_number.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"claim_number","typeLabel":"string | null"},"end_user":{"oneOf":[{"type":"object","description":"Who in your system asked for the export, as you sent it; `null` if you sent none.","properties":{"id":{"type":"string","description":"Your own id for the user.","uniqueKey":"end_user.oneOf.0.id","typeLabel":"string"},"email":{"type":"string","description":"The user's email address.","uniqueKey":"end_user.oneOf.0.email","typeLabel":"string"}},"isRequired":true,"uniqueKey":"end_user.oneOf.0","typeLabel":"object"},{"type":"null","description":"Who in your system asked for the export, as you sent it; `null` if you sent none.","properties":{"id":{"type":"string","description":"Your own id for the user."},"email":{"type":"string","description":"The user's email address."}},"isRequired":true,"uniqueKey":"end_user.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"end_user","typeLabel":"object | null"},"metadata":{"type":"object","description":"Your own key-value pairs, as you sent them; empty if you sent none.","additionalProperties":{"type":"string","uniqueKey":"metadata.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"metadata","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"rebuilding":{"title":"rebuilding","summary":"Version 2, being built","value":{"id":"3f0c8a6e-5b1d-4c0e-9a77-2f6d1e4b8c90","reference":"ORDER-1042","test":false,"status":"processing","failure":null,"clean":true,"major_warnings":0,"minor_warnings":0,"warnings":[],"provider_messages":[],"version":2,"created_at":"2026-12-01T15:42:10Z","updated_at":"2026-12-01T16:05:31Z","ready_at":null,"first_downloaded_at":"2026-12-01T15:43:02Z","claim_number":"FL-2026-0091832","end_user":null,"metadata":{}}}},"exampleType":"examples"}},"exampleType":"examples"},"c6f2ad37-8074-4395-9d4c-258a10b5ee09":{"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"},"e5a81ce6-e9eb-4af0-b1d2-06e5fda95637":{"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"},"c03b5455-c64a-4716-a6a7-ca307ddc8314":{"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"},"793317d7-80d2-4635-884f-76741351a381":{"description":"Nothing with this id exists in your partner account, or your key can't see it\n(`not_found`). Another partner's claim, and a real claim requested with a test key, both\nreturn this; so do another partner's export, and an export of the other environment (a\ntest export asked for with a live key, or a live export with a test 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":{"not_found":{"title":"not_found","summary":"not_found","value":{"type":"https://docs.osaconnection.com/errors#not_found","title":"Not found","status":404,"detail":"No claim with this id exists in your partner account.","code":"not_found","request_id":"2d3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a"}},"esx_export_not_found":{"title":"esx_export_not_found","summary":"not_found (an export)","value":{"type":"https://docs.osaconnection.com/errors#not_found","title":"Not found","status":404,"detail":"No export with this id exists in your partner account.","code":"not_found","request_id":"3e4f5a6b7c8d9e0f1a2b3c4d5e6f7a8b"}}},"exampleType":"examples"}},"exampleType":"examples"},"1827f24e-e169-4f72-b717-dd73595e9a55":{"description":"The export is not in a state for this call (`export_not_ready`): a new version while it\nis still `processing`, or a download while it is `processing` or `failed`. The detail\nsays why: the export's state, or that the export provider is still working on an\nearlier build.\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":{"export_not_ready":{"title":"export_not_ready","summary":"export_not_ready","value":{"type":"https://docs.osaconnection.com/errors#export_not_ready","title":"Export not ready","status":409,"detail":"This export is still processing. Check it again shortly.","code":"export_not_ready","request_id":"5b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e"}}},"exampleType":"examples"}},"exampleType":"examples"},"1aaebdcd-dc46-4f6a-a15f-15e45eeceee3":{"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"},"573357a0-fb0f-4f43-bb08-e79a65c23170":{"description":"The export can't be built from this request. `validation_failed` has two causes. The request\nis badly shaped: `errors` points at each field, with no `check` or `severity`, and the roof\nchecks did not run. Or the roof has at least one critical problem: `errors` lists every\nproblem the checks found, warnings included, each with its `check` and `severity`. A\ncritical problem can stop the later checks on its structure, so check again after\ncorrecting it. `idempotency_key_reused`: the `Idempotency-Key` was already used with a\ndifferent request.\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 (a critical problem, with a warning beside it)","value":{"type":"https://docs.osaconnection.com/errors#validation_failed","title":"Validation failed","status":422,"detail":"The roof can't be built. It has 1 critical problem and 1 warning.","code":"validation_failed","request_id":"7d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a","errors":[{"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."}]}},"validation_failed_shape":{"title":"validation_failed_shape","summary":"validation_failed (the request's shape; no roof checks ran)","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":"9a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d","errors":[{"pointer":"/input/structures/0/faces/0","detail":"must NOT have additional properties (low_egde)"}]}},"idempotency_key_reused":{"title":"idempotency_key_reused","summary":"idempotency_key_reused","value":{"type":"https://docs.osaconnection.com/errors#idempotency_key_reused","title":"Idempotency key reused","status":422,"detail":"This Idempotency-Key was already used with a different request.","code":"idempotency_key_reused","request_id":"8e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b"}}},"exampleType":"examples"}},"exampleType":"examples"},"83009f88-1a74-40da-a090-6696dbe7a953":{"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"},"4f5983fb-07d6-4bf6-9bee-51301721c869":{"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"},"4d2cdd52-29ae-4b31-beec-d6e1787cb824":{"description":"The export provider could not be reached, or failed, while OSA was sending it a roof or a\ncorrected version, or asking it for the ESX (`export_provider_unavailable`). Nothing was\ncreated or charged; for a corrected version the export may now be `failed`, as its\nendpoint says. Wait for the number of seconds in `Retry-After`, then send the same\nrequest again; for a roof or a version, use the same `Idempotency-Key`.\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":{"export_provider_unavailable":{"title":"export_provider_unavailable","summary":"export_provider_unavailable","value":{"type":"https://docs.osaconnection.com/errors#export_provider_unavailable","title":"Export provider unavailable","status":503,"detail":"The export provider could not be reached. Nothing was charged. Try again shortly.","code":"export_provider_unavailable","request_id":"6c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"fb6b45e8-8c0a-4b73-aa84-c2785f9b77a7":{"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":"Send a corrected roof for an export - One Stop Adjuster","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T06:52:33.252Z","originalFileLocation":"api-reference/esx-exports/send-a-corrected-roof-for-an-export.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=\"Replaces an export\u0026#x27;s roof with a corrected one and builds it again. The export keeps its id and reference, its version goes up by one, and it returns to status: processing: poll it as after POST /v1/esx-exports. Send property only if the address or location changed. When you can send one. An export that is ready or failed takes a new version. One still processing fails with 409 export_not_ready; check it again shortly. Refused only for a critical problem. The request is validated and the corrected roof checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export as it was. After a new version. warnings, major_warnings, minor_warnings, clean, provider_messages and failure describe the latest version only; version says which. Once a new version is accepted, the earlier version\u0026#x27;s ESX can no longer be asked for, even if the new build fails. If the export provider is unavailable. The answer is 503 export_provider_unavailable and nothing is charged. If the provider could not be reached before sending started, the export is left as it was. If it failed after sending started, the export becomes failed with reason build_failed, because the earlier file is no longer available. Either way, send the same request again (the same Idempotency-Key may be reused). If a version was answered 202 and the export later shows failed, send it again with a new Idempotency-Key. Charges. A corrected version is not another use: if you have already asked for the export\u0026#x27;s ESX, asking again after the new version is not charged again. Retries. Idempotency-Key is required, and works as for POST /v1/esx-exports. An export of another partner, or of the other environment (test or live), returns 404 not_found.\">\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=\"Send a corrected roof for an export - One Stop Adjuster\">\u003cmeta data-mint-head property=\"og:description\" content=\"Replaces an export\u0026#x27;s roof with a corrected one and builds it again. The export keeps its id and reference, its version goes up by one, and it returns to status: processing: poll it as after POST /v1/esx-exports. Send property only if the address or location changed. When you can send one. An export that is ready or failed takes a new version. One still processing fails with 409 export_not_ready; check it again shortly. Refused only for a critical problem. The request is validated and the corrected roof checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export as it was. After a new version. warnings, major_warnings, minor_warnings, clean, provider_messages and failure describe the latest version only; version says which. Once a new version is accepted, the earlier version\u0026#x27;s ESX can no longer be asked for, even if the new build fails. If the export provider is unavailable. The answer is 503 export_provider_unavailable and nothing is charged. If the provider could not be reached before sending started, the export is left as it was. If it failed after sending started, the export becomes failed with reason build_failed, because the earlier file is no longer available. Either way, send the same request again (the same Idempotency-Key may be reused). If a version was answered 202 and the export later shows failed, send it again with a new Idempotency-Key. Charges. A corrected version is not another use: if you have already asked for the export\u0026#x27;s ESX, asking again after the new version is not charged again. Retries. Idempotency-Key is required, and works as for POST /v1/esx-exports. An export of another partner, or of the other environment (test or live), returns 404 not_found.\">\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/send-a-corrected-roof-for-an-export\">\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=Send+a+corrected+roof+for+an+export\u0026amp;description=Replaces+an+export%27s+roof+with+a+corrected+one+and+builds+it+again.+The+export+keeps+its%0A%60id%60+and+%60reference%60%2C+its+%60version%60+goes+up+by+one%2C+and+it+returns+to+%60\u0026amp;theme=fe3856ebfba9b9487f8a0719\u0026amp;signature=288f51e8f1b3e292929d4935d01b6b0e6b856dffe6137c0f51bf60d9fd472f8b\">\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=\"Send a corrected roof for an export - One Stop Adjuster\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Replaces an export\u0026#x27;s roof with a corrected one and builds it again. The export keeps its id and reference, its version goes up by one, and it returns to status: processing: poll it as after POST /v1/esx-exports. Send property only if the address or location changed. When you can send one. An export that is ready or failed takes a new version. One still processing fails with 409 export_not_ready; check it again shortly. Refused only for a critical problem. The request is validated and the corrected roof checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export as it was. After a new version. warnings, major_warnings, minor_warnings, clean, provider_messages and failure describe the latest version only; version says which. Once a new version is accepted, the earlier version\u0026#x27;s ESX can no longer be asked for, even if the new build fails. If the export provider is unavailable. The answer is 503 export_provider_unavailable and nothing is charged. If the provider could not be reached before sending started, the export is left as it was. If it failed after sending started, the export becomes failed with reason build_failed, because the earlier file is no longer available. Either way, send the same request again (the same Idempotency-Key may be reused). If a version was answered 202 and the export later shows failed, send it again with a new Idempotency-Key. Charges. A corrected version is not another use: if you have already asked for the export\u0026#x27;s ESX, asking again after the new version is not charged again. Retries. Idempotency-Key is required, and works as for POST /v1/esx-exports. An export of another partner, or of the other environment (test or live), returns 404 not_found.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onestopadjuster.mintlify.site/_mintlify/api/og/v2?division=ESX+exports\u0026amp;title=Send+a+corrected+roof+for+an+export\u0026amp;description=Replaces+an+export%27s+roof+with+a+corrected+one+and+builds+it+again.+The+export+keeps+its%0A%60id%60+and+%60reference%60%2C+its+%60version%60+goes+up+by+one%2C+and+it+returns+to+%60\u0026amp;theme=fe3856ebfba9b9487f8a0719\u0026amp;signature=288f51e8f1b3e292929d4935d01b6b0e6b856dffe6137c0f51bf60d9fd472f8b\">\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/send-a-corrected-roof-for-an-export\">\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/send-a-corrected-roof-for-an-export.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/send-a-corrected-roof-for-an-export#webpage\",\"url\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export\",\"name\":\"Send a corrected roof for an export\",\"description\":\"Replaces an export's roof with a corrected one and builds it again. The export keeps its id and reference, its version goes up by one, and it returns to status: processing: poll it as after POST /v1/esx-exports. Send property only if the address or location changed. When you can send one. An export that is ready or failed takes a new version. One still processing fails with 409 export_not_ready; check it again shortly. Refused only for a critical problem. The request is validated and the corrected roof checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export as it was. After a new version. warnings, major_warnings, minor_warnings, clean, provider_messages and failure describe the latest version only; version says which. Once a new version is accepted, the earlier version's ESX can no longer be asked for, even if the new build fails. If the export provider is unavailable. The answer is 503 export_provider_unavailable and nothing is charged. If the provider could not be reached before sending started, the export is left as it was. If it failed after sending started, the export becomes failed with reason build_failed, because the earlier file is no longer available. Either way, send the same request again (the same Idempotency-Key may be reused). If a version was answered 202 and the export later shows failed, send it again with a new Idempotency-Key. Charges. A corrected version is not another use: if you have already asked for the export's ESX, asking again after the new version is not charged again. Retries. Idempotency-Key is required, and works as for POST /v1/esx-exports. An export of another partner, or of the other environment (test or live), returns 404 not_found.\",\"dateModified\":\"2026-11-30T06:52:33.252Z\",\"isPartOf\":{\"@id\":\"https://docs.osaconnection.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"ESX exports\",\"item\":\"https://docs.osaconnection.com/api-reference/esx-exports/check-a-roof-without-building-it\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Send a corrected roof for an export\",\"item\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export#apireference\",\"headline\":\"Send a corrected roof for an export\",\"name\":\"Send a corrected roof for an export\",\"description\":\"Replaces an export's roof with a corrected one and builds it again. The export keeps its id and reference, its version goes up by one, and it returns to status: processing: poll it as after POST /v1/esx-exports. Send property only if the address or location changed. When you can send one. An export that is ready or failed takes a new version. One still processing fails with 409 export_not_ready; check it again shortly. Refused only for a critical problem. The request is validated and the corrected roof checked exactly as for POST /v1/esx-exports. A 422 validation_failed leaves the export as it was. After a new version. warnings, major_warnings, minor_warnings, clean, provider_messages and failure describe the latest version only; version says which. Once a new version is accepted, the earlier version's ESX can no longer be asked for, even if the new build fails. If the export provider is unavailable. The answer is 503 export_provider_unavailable and nothing is charged. If the provider could not be reached before sending started, the export is left as it was. If it failed after sending started, the export becomes failed with reason build_failed, because the earlier file is no longer available. Either way, send the same request again (the same Idempotency-Key may be reused). If a version was answered 202 and the export later shows failed, send it again with a new Idempotency-Key. Charges. A corrected version is not another use: if you have already asked for the export's ESX, asking again after the new version is not charged again. Retries. Idempotency-Key is required, and works as for POST /v1/esx-exports. An export of another partner, or of the other environment (test or live), returns 404 not_found.\",\"url\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export\",\"mainEntityOfPage\":{\"@id\":\"https://docs.osaconnection.com/api-reference/esx-exports/send-a-corrected-roof-for-an-export#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/send-a-corrected-roof-for-an-export.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","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","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}","description":"Returns the export with its current `status`, its warnings and, if it failed, why. After\nsending a roof, poll this endpoint every few seconds until the export is `ready` or\n`failed`.\n\n**Reading refreshes the status.** If the export is `processing`, this call asks the export\nprovider for the build's status, at most once every 5 seconds per export, and records the\nanswer. It never sends or resends anything. An export not `ready` 10 minutes after its\nlatest version was sent becomes `failed` with reason `build_timeout`, once the export\nprovider confirms the build has not finished. After any failure you can send the same or a\ncorrected roof as a new version with `POST /v1/esx-exports/{id}/versions`.\n\n**Before you ask for the file.** You are charged for an export you ask to download, whether\nor not it has warnings, so look at `clean` and `major_warnings` first.\n\nAn export of another partner, or of the other environment (test or live), returns\n`404 not_found`.\n","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","description":"Answers with a link to the export's ESX file and when the link expires. Fetch the file from\n`download_url` within one hour; after that, call this endpoint again for a fresh link. OSA\ndoes not keep the file: the link is to the export provider's storage. Send no request body.\n\n**The link is a bearer link.** Fetch it with a plain `GET` and no `Authorization` header;\nnever send your OSA key to it. Anyone holding the link can download the file until it\nexpires, so do not log or share it.\n\n**What counts as a use.** On a live export, the first successful call is one use of ESX\nexports, charged as your plan says, whether or not the export has warnings, so look at\n`clean` and `major_warnings` first. `first_downloaded_at` records when it was. Later calls,\nincluding after a corrected version, return a fresh link and are not another use. Test\nexports are never charged. This is a `POST`, not a `GET`, because the first call is charged.\n\n**When you can ask.** The export must be `ready`. One that is `processing` or `failed`\nreturns `409 export_not_ready`, and nothing is charged.\n\n**If the export provider can't be reached,** the call fails with\n`503 export_provider_unavailable` and nothing is charged. Wait for the number of seconds in\n`Retry-After`, then ask again.\n\nAn export of another partner, or of the other environment (test or live), returns\n`404 not_found`.\n","href":"/api-reference/esx-exports/ask-for-the-esx-file"}]}]}]},"basePath":"","title":"Send a corrected roof for an export - 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"]}