Analyze uploaded file with AI
Authorization
ApiKeyAuth X-Api-Key<token>
API key created via POST /api/v1/api-keys (shown once at creation)
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/ai-models/file-insights" \ -F file="string" \ -F prompt="Summarize the key points and list action items."{ "status": true, "code": 201, "message": "string", "result": "string", "meta": {}, "error": "string", "retryAfterSeconds": 0}{ "message": "string", "detail": "string", "status": false, "code": 0, "error": "string"}Empty
{ "message": "string", "detail": "string", "status": false, "code": 0, "error": "string"}Empty
Empty