cURL
curl --request POST \ --url https://api.lyceum.technology/api/v2/external/files \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>'
{ "id": "<string>", "bytes": 123, "created_at": 123, "filename": "<string>", "purpose": "<string>", "object": "file" }
Upload a file for batch processing (following OpenAI pattern).
Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.
lk_
Successful Response