/v1/files

Upload one or more files using multipart/form-data. Optionally specify a target folder via the metadata payload.

Body Params
boolean
Defaults to false

If this parameter is set to true, the uploaded files will be visible in the portal.

string
string

Set the internal parentId to nest a file inside a folder.

files
array of files
required
files*
string
deprecated

Specify an assetType to assign a file to a specific category of assets. You can use assetTypes instead to assign multiple assetTypes

string
deprecated

Specify an assetNumber and assetType to assign a file to a specific asset. You can use assetNumbers instead to assign multiple assets

assetTypes
array of strings

Specify a list of assetTypes to assign a file to them.

assetTypes
assetNumbers
array of strings

Specify a list of assetNumbers to assign a file to them.

assetNumbers
boolean

Specify if the file should be added to the knowledge base for the AI Copilot.

Responses

400

Missing or invalid required parameter/s

403

Forbidden

409

Duplicate asset serialNumber

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