Properties
| Name | Type | Description |
|---|---|---|
| id | object | |
| display_id | string | The display id of the file |
| name | string | The name of the file |
| mime_type | string | The MIME type of the file. |
| size | integer | The size of the file in bytes |
| reference | object | |
| description | string | Optional description of the file |
| parent_folder_id | string | The folder id where this attachment belong to |
| updated_by | object | |
| created_by | object | |
| updated_at | object | |
| created_at | object | |
| pass_through | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Attachment",
"title": "Attachment",
"type": "object",
"x-apideck-schema-id": "Attachment",
"x-apideck-weights": {
"id": "critical",
"display_id": "edge-case",
"name": "critical",
"mime_type": "medium",
"size": "medium",
"reference": "critical",
"description": "medium",
"folder_id": "edge-case",
"updated_by": "edge-case",
"created_by": "edge-case",
"updated_at": "medium",
"created_at": "medium"
},
"additionalProperties": false,
"properties": {
"id": {
"$ref": "#/components/schemas/Id"
},
"display_id": {
"type": "string",
"description": "The display id of the file",
"example": "sample ID",
"nullable": true
},
"name": {
"type": "string",
"description": "The name of the file",
"example": "sample.jpg",
"nullable": true
},
"mime_type": {
"type": "string",
"description": "The MIME type of the file.",
"example": "image/jpeg",
"nullable": true
},
"size": {
"type": "integer",
"x-apideck-schema-id": "AttachmentSize",
"description": "The size of the file in bytes",
"example": 1810673,
"nullable": true
},
"reference": {
"$ref": "#/components/schemas/AttachmentReference"
},
"description": {
"type": "string",
"description": "Optional description of the file",
"example": "A sample image",
"nullable": true
},
"parent_folder_id": {
"type": "string",
"description": "The folder id where this attachment belong to",
"example": "123",
"nullable": true
},
"updated_by": {
"$ref": "#/components/schemas/UpdatedBy"
},
"created_by": {
"$ref": "#/components/schemas/CreatedBy"
},
"updated_at": {
"$ref": "#/components/schemas/UpdatedAt"
},
"created_at": {
"$ref": "#/components/schemas/CreatedAt"
},
"pass_through": {
"$ref": "#/components/schemas/PassThroughBody"
}
}
}
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/apideck-attachment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.