---
title: "Attachment"
url: "https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16/schemas/Attachment"
---

> Full API specification: https://developer.agentsync.io/apis/contracting-hierarchies-api/versions/40f58935-396e-4da4-8f47-1587041e1b16.md

# Attachment

A file attachment included with a contract packet submission.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: AgentSync Contracting & Hierarchies API
  version: v1.7.6
servers:
  - url: https://api.sandbox.agentsync.io/contracting
    description: Sandbox
  - url: https://api.agentsync.io/contracting
    description: Production
components:
  schemas:
    Attachment:
      title: Attachment
      type: object
      description: A file attachment included with a contract packet submission.
      properties:
        url:
          type: string
          description: The URL at which the attachment can be retrieved.
          example: https://s3.amazonaws.com/bucket/contract-packet.pdf
        fileName:
          type: string
          description: The original file name of the attachment.
          example: contract-packet.pdf
        size:
          type: string
          description: The file size of the attachment as a string representation of the
            byte count.
          example: "204800"
```
