ServiceNow · Schema
Attachment
Metadata about a file attachment stored in ServiceNow.
ServiceNowAutomationCloud ServicesDigital WorkflowsEnterprise PlatformITSMProcessesT1Workflow AutomationWorkflowsA2A
Properties
| Name | Type | Description |
|---|---|---|
| sys_id | string | Unique identifier for the attachment record. |
| file_name | string | The name of the attached file. |
| table_name | string | The table to which the attachment belongs. |
| table_sys_id | string | The sys_id of the record to which the file is attached. |
| content_type | string | The MIME type of the attached file. |
| size_bytes | integer | The size of the attached file in bytes. |
| size_compressed | integer | The compressed size of the attached file in bytes. |
| download_link | string | The URL to download the attachment file content. |
| image_height | integer | The height in pixels if the attachment is an image. |
| image_width | integer | The width in pixels if the attachment is an image. |
| hash | string | The MD5 hash of the file content. |
| state | string | The state of the attachment processing. |
| sys_created_on | string | The date and time the attachment was created. |
| sys_created_by | string | The user who uploaded the attachment. |
| sys_updated_on | string | The date and time the attachment was last modified. |
| sys_updated_by | string | The user who last modified the attachment record. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/servicenow/main/json-schema/servicenow-attachment-schema.json",
"title": "Attachment",
"description": "Metadata about a file attachment stored in ServiceNow.",
"x-generated": "2026-10-03",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/servicenow-attachments-api-openapi.yml#/components/schemas/Attachment",
"type": "object",
"properties": {
"sys_id": {
"type": "string",
"description": "Unique identifier for the attachment record."
},
"file_name": {
"type": "string",
"description": "The name of the attached file."
},
"table_name": {
"type": "string",
"description": "The table to which the attachment belongs."
},
"table_sys_id": {
"type": "string",
"description": "The sys_id of the record to which the file is attached."
},
"content_type": {
"type": "string",
"description": "The MIME type of the attached file."
},
"size_bytes": {
"type": "integer",
"description": "The size of the attached file in bytes."
},
"size_compressed": {
"type": "integer",
"description": "The compressed size of the attached file in bytes."
},
"download_link": {
"type": "string",
"format": "uri",
"description": "The URL to download the attachment file content."
},
"image_height": {
"type": "integer",
"description": "The height in pixels if the attachment is an image."
},
"image_width": {
"type": "integer",
"description": "The width in pixels if the attachment is an image."
},
"hash": {
"type": "string",
"description": "The MD5 hash of the file content."
},
"state": {
"type": "string",
"description": "The state of the attachment processing."
},
"sys_created_on": {
"type": "string",
"format": "date-time",
"description": "The date and time the attachment was created."
},
"sys_created_by": {
"type": "string",
"description": "The user who uploaded the attachment."
},
"sys_updated_on": {
"type": "string",
"format": "date-time",
"description": "The date and time the attachment was last modified."
},
"sys_updated_by": {
"type": "string",
"description": "The user who last modified the attachment record."
}
}
}
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/servicenow-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.