POST
/
v1
/
api
/
sources
/
file-upload
curl --request POST \
  --url https://app-api.starkai.io/v1/api/sources/file-upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-Api-Key: <api-key>'
{
  "status": true,
  "message": "File uploaded successfully",
  "data": {
    "source_id": "file_123456789"
  }
}
Check our Documention Page to create a new API Key

Authorizations

X-Api-Key
string
header
required

API Key for authentication

Body

multipart/form-data

File upload with metadata

The body is of type object.

Response

200
application/json

File uploaded successfully

The response is of type object.