/v1/presignedPaths/getPresignedPaths
—
post

Bulk generates presigned paths for multiple files at once. This endpoint is more efficient than calling issuePresignedPath multiple times when you need presigned paths for several files. Each file can be identified by either its filepath or fileId. The response includes the generated presigned path along with the original filepath for easy mapping.

Path Parameters
Not Applicable
Request Headers
HttpEndpointRequestHeaders_AuthRequired_JsonContentType

FieldTypeRequiredDescription
AuthorizationstringYes

Access token

Example: Bearer <token>

Content-TypestringYes

HTTP JSON request content type

Example: application/json

Request Query
Not Applicable
Request Body
GetPresignedPathsForFilesEndpointParams

{
files?: Array<FileMatcher>
workspaceId?: string
}
FileMatcher

{
filepath?: string
fileId?: string
}
200 — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

Example: 1024

200 — Response Body
GetPresignedPathsForFilesEndpointResult

{
paths: Array<GetPresignedPathsForFilesItem>
}
GetPresignedPathsForFilesItem

{
path: string
filepath: string
}
4XX or 5XX — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

4XX or 5XX — Response Body
EndpointErrorResult

Endpoint error result

{
errors?: Array<ExternalError>
}
ExternalError

{
message: string
}