Executes a canvas
.createFile()
method), you must wrap them in an object with a file_url
property. The .createFile()
method handles this formatting automatically./v3/files
endpoint, you can use the vault URL in your completions. When not using the SDK’s .createFile()
method, you need to wrap the URL in an object with a file_url
property:
stream
option, which allows you to consume the stream of the completion. Below is an example of consuming a stream of the completion.
webhookUrl
option, which allows you to receive a webhook when the completion is finished. Below is an example of receiving a webhook when the completion is finished.
The canvas to execute
The body is of type object
.
Successful completions
The response is of type object
.