UploadResult
The result of an upload. Two outcomes share this shape: a NEW contract returns 202 with `jobId` to poll, while a file matched to an existing contract returns 200 with `attached: true` and the contract it was filed under. Test `jobId` to tell them apart.
Properties
| Name | Type | Description |
|---|---|---|
| data | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/clment-com/json-schema/clment-com-upload-result-schema.json",
"title": "UploadResult",
"description": "The result of an upload. Two outcomes share this shape: a NEW contract returns 202 with `jobId` to poll, while a file matched to an existing contract returns 200 with `attached: true` and the contract it was filed under. Test `jobId` to tell them apart.",
"x-generated": "2026-11-04",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/clment-com-openapi.yml#/components/schemas/UploadResult",
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"jobId": {
"type": "string",
"description": "Present on 202. Poll `GET /contracts/upload/jobs/{jobId}` until it reports complete, then read the contract it names."
},
"matchedContractId": {
"type": [
"string",
"null"
],
"description": "Non-null when the file matched an existing contract on the `new` path."
},
"matchedContractTitle": {
"type": [
"string",
"null"
]
},
"attached": {
"type": "boolean",
"description": "Present and true on 200 — the file became a new version of an existing contract."
},
"contractId": {
"type": "string",
"description": "On 200, the contract the file was filed under."
},
"contractTitle": {
"type": "string"
},
"version": {
"type": "object",
"description": "On 200, the version the file became.",
"properties": {
"id": {
"type": "string"
},
"versionNumber": {
"type": "integer"
},
"label": {
"type": "string"
},
"fileName": {
"type": "string"
},
"fileSize": {
"type": "integer"
}
}
},
"revisionSummary": {
"type": [
"string",
"null"
],
"description": "Present when summariseChanges was set."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/clment-com-upload-result"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.