This endpoint tells Guru the details of a file you wish to pass as input to an Automation. Its response will tell the caller where they can upload the file to make it accessible to the Guru platform.

PUT https://api.getguru.ai/automations/files

Request

file_name
string

The name of the file, including extension.

file_size
integer

The size of the file, in bytes.

Response

file_id
string

A unique identifier for the file. You will pass the ID to a subsequent call to invoke the Automation.

url
string

The URL to which the file should be uploaded in the next step.

fields
object

A key-value map of parameters which need to be passed when the file is uploaded, in order to authenticate the call.

extension
string

The identified extension of the file.