Skip to main content
POST
/
v1
/
files
/
{file_id}
/
complete
Complete File Upload
curl --request POST \
  --url https://api.olostep.com/v1/files/{file_id}/complete \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "filename": "<string>",
  "bytes": 123,
  "purpose": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

file_id
string
required

Unique identifier for the file to complete.

Response

File upload completed successfully.

id
string

File ID

object
string

The kind of object. "file" for this endpoint.

created
integer

Created epoch timestamp

filename
string

The filename of the uploaded file

bytes
integer

File size in bytes

purpose
string

The purpose of the file

status
string

File status. Will be 'completed' after successful completion.