Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.artaios.ai/api/v1/files/ \ -H "x-api-key: YOUR_API_KEY" \ -F "file=@/path/to/document.pdf" \ -F "tags=manual,product"
import requests files = {'file': open('/path/to/document.pdf', 'rb')} data = {'tags': ['manual', 'product']} response = requests.post( "https://api.artaios.ai/api/v1/files/", headers={"x-api-key": "YOUR_API_KEY"}, files=files, data=data ) file_info = response.json()
const formData = new FormData(); formData.append('file', fileInput.files[0]); formData.append('tags', 'manual,product'); const response = await fetch('https://api.artaios.ai/api/v1/files/', { method: 'POST', headers: { 'x-api-key': 'YOUR_API_KEY' }, body: formData }); const fileInfo = await response.json();
{ "id": "file_456", "original_filename": "document.pdf", "file_type": "document", "size_bytes": 2048576, "status": "uploading", "tags": ["manual", "product"], "created_at": "2025-01-15T10:30:00Z" }