compozy session attachments upload
Upload a file to a session
574 pages in CLI Reference
On this page5
Usage
compozy session attachments upload <session-id> <file> [flags]Examples1
compozy session attachments upload sess_1234 ./image.png
Options1
- --help-h
- help for upload
Inherited options3
- --json
- Emit JSON output
- --output-ostring
- Output format: human, json, jsonl, or toon (default "human")
- --profilestring
- Act as a profile for this command
Output Formats
The root -o, --output flag accepts these values. A renderer is supported only when this command writes that result; jsonl is for commands that emit one JSON record per line.
| Format | Command result |
|---|---|
human | Interactive terminal rendering |
json | Machine-readable JSON rendering |
jsonl | One JSON record per line when supported |
toon | Compact agent-readable rendering |
Example:
compozy session attachments upload <session-id> <file> -o json