Properties
| Name | Type | Description |
|---|---|---|
| id | string | Stable upload session id with `upload-` prefix |
| object | string | |
| bytes | integer | Declared total size of the file being uploaded |
| created_at | integer | Unix timestamp |
| expires_at | integer | Unix timestamp (1 hour from creation by default) |
| filename | stringnull | |
| purpose | string | |
| status | string | |
| file | object | Populated once status is `completed` |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/aiand-com/json-schema/aiand-com-upload-object-schema.json",
"title": "UploadObject",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/aiand-com-uploads-api-openapi.yml#/components/schemas/UploadObject",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Stable upload session id with `upload-` prefix"
},
"object": {
"type": "string",
"const": "upload"
},
"bytes": {
"type": "integer",
"description": "Declared total size of the file being uploaded"
},
"created_at": {
"type": "integer",
"description": "Unix timestamp"
},
"expires_at": {
"type": "integer",
"description": "Unix timestamp (1 hour from creation by default)"
},
"filename": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string",
"enum": [
"vision",
"video",
"audio",
"document"
]
},
"status": {
"type": "string",
"enum": [
"pending",
"completed",
"cancelled",
"expired",
"failed"
]
},
"file": {
"oneOf": [
{
"$ref": "#/$defs/FileObject"
},
{
"type": "null"
}
],
"description": "Populated once status is `completed`"
}
},
"required": [
"id",
"object",
"bytes",
"created_at",
"expires_at",
"filename",
"purpose",
"status",
"file"
],
"$defs": {
"FileObject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Stable file id with `file-` prefix"
},
"object": {
"type": "string",
"const": "file"
},
"bytes": {
"type": "integer"
},
"created_at": {
"type": "integer",
"description": "Unix timestamp"
},
"expires_at": {
"type": [
"integer",
"null"
],
"description": "Unix timestamp; defaults to 30 days from upload"
},
"filename": {
"type": [
"string",
"null"
]
},
"purpose": {
"type": "string",
"enum": [
"vision",
"video",
"audio",
"document"
]
},
"page_count": {
"type": "integer",
"description": "Rendered page count; present only for `document` files"
}
},
"required": [
"id",
"object",
"bytes",
"created_at",
"expires_at",
"filename",
"purpose"
]
}
}
}
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
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/aiand-com-upload-object"
All schemas
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.