files

Create a file upload

Generates a pre-signed URL for uploading a JSON file. Upload the file to that URL, then call the complete endpoint to finalize it. The upload URL expires in 10 minutes.

post/v1/files

Request

  • Base URL: https://api.olostep.com
  • URL: https://api.olostep.com/v1/files
  • Auth: HTTP bearer

Request body

filenamestring required

The filename for the file. Must end with a .json extension.

purpose'context' | 'batch'

The purpose of the file. Supported values: 'context' or 'batch'.

Response

Default Response

idstring required
objectstring required
createdinteger required
upload_urlstring uri required
expires_ininteger required

Changes

No recorded changes to this operation across all 3 revisions of this API.