This endpoint uploads a file into a specified dataset from a local machine.

Log in to see full request history
Body Params

Attributes needed to specify the file to upload

string
required

ID of the dataset to upload the file to

string
required

Name for the uploaded file

file
required

Upload a file from your local machine. This can be in the following formats: 1) data URL for the file in Base64 format based on the WHATWG Fetch Standard (https://fetch.spec.whatwg.org/#data-urls) or 2) Buffer of the file contents.

classification
object

Classification level and caveats to set the assets to. Required in federal environments

Responses

400

Bad Request

401

Unauthorized Request

403

Forbidden Resource

500

Internal Server Error

Language
Credentials
:
Click Try It! to start a request and see the response here! Or choose an example:
application/json