Skip to main content

Generate Presigned Url

PUT 

/api/v1/files

Create a presigned url for uploading a file.

Request

Query Parameters

    project_id any
    organization_id any

Cookie Parameters

    session any

Body

required

    name Name (string)required

    Possible values: non-empty and <= 3000 characters

    external_file_id

    object

    The ID of the file in the external system

    anyOf

    string

    file_size

    object

    Size of the file in bytes

    anyOf

    integer

    last_modified_at

    object

    The last modified time of the file

    anyOf

    string

    resource_info

    object

    Resource information for the file

    anyOf

    property name*

    object

    anyOf

    object

    permission_info

    object

    Permission information for the file

    anyOf

    property name*

    object

    anyOf

    object

    data_source_id

    object

    The ID of the data source that the file belongs to

    anyOf

    string

Responses

Successful Response

Schema

    url urirequired

    A presigned URL for IO operations against a private file

    Possible values: non-empty

    expires_at date-timerequired

    The time at which the presigned URL expires

    form_fields

    object

    Form fields for a presigned POST request

    anyOf

    property name* string