Skip to main content
POST
/
v1
/
media
/
upload
/
file
Upload media file
curl --request POST \
  --url https://api.usenaive.ai/v1/media/upload/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'title=<string>' \
  --form 'description=<string>' \
  --form 'tags=<string>'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Body

multipart/form-data
file
file
title
string
description
string
tags
string

Response

Uploaded.

The response is of type object.