1Password · Schema
File
Represents a file attached to an item in a vault.
Password ManagerPasswordsSecuritySecrets
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The unique identifier for the file. |
| name | string | The name of the file. |
| size | integer | The size of the file in bytes. |
| content_path | string | The API path to retrieve the file content. |
| section | object | |
| content | string | The base64-encoded file content, included when inline_files is true. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/1password/refs/heads/main/json-schema/1password-connect-file-schema.json",
"title": "File",
"description": "Represents a file attached to an item in a vault.",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"description": "The unique identifier for the file."
},
"name": {
"type": "string",
"description": "The name of the file."
},
"size": {
"type": "integer",
"description": "The size of the file in bytes."
},
"content_path": {
"type": "string",
"description": "The API path to retrieve the file content."
},
"section": {
"$ref": "#/components/schemas/SectionRef"
},
"content": {
"type": "string",
"format": "byte",
"description": "The base64-encoded file content, included when inline_files is true."
}
}
}