Copy a Files document into a chat attachment. The id is minted before import so a retry can finish the same operation.
API reference sections
Schema
FromWorkspaceAttachmentRequest
Type object
Shape
| Field | Type | Description |
|---|---|---|
| idrequired | ChatAttachmentId | ChatAttachmentId - a client-minted UUID v4, never derived from content or location. |
| workspacerequired | WorkspaceId | |
| documentrequired | DocumentId | DocumentId - a client-minted v4 UUID, hyphenated and lowercase. Immutable, and never derived from a name or a path. |
{
"id": "00000000-0000-4000-8000-000000000000",
"workspace": "00000000-0000-4000-8000-000000000000",
"document": "00000000-0000-4000-8000-000000000000"
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
