cURL
curl --request POST \ --url https://api.ziet.ai/v1/memory/{id}/files \ --header 'Authorization: <api-key>' \ --header 'Content-Type: multipart/form-data' \ --form 'path=<string>' \ --form file=@example-file
{ "id": "<string>", "name": "<string>", "path": "<string>", "size": 123, "content_type": "<string>", "created_at": "2023-11-07T05:31:56Z" }
Upload a file to memory. Files are automatically processed and made searchable.
Format: 'Api-Key sk_live_YOUR_KEY'
Optional path (e.g., 'documents/report.pdf')
File added