RFC-0006: Attachments
File and document attachments for intents.
Abstract
This RFC defines how files and documents can be attached to intents.
Attachment Structure
{
"id": "uuid",
"intent_id": "uuid",
"filename": "research-findings.pdf",
"content_type": "application/pdf",
"size_bytes": 1048576,
"url": "https://storage.example.com/attachments/...",
"uploaded_by": "research-agent",
"uploaded_at": "2024-01-15T14:30:00Z"
}
Operations
- Upload - POST /api/v1/intents/:id/attachments
- List - GET /api/v1/intents/:id/attachments
- Download - GET /api/v1/intents/:id/attachments/:attachment_id
- Delete - DELETE /api/v1/intents/:id/attachments/:attachment_id