v3

latestSwagger 2.02026-07-13112135.6 KB

Get the file resource. This is only supported for code-interpreter session pools.

get/files/{name}

Path parameters

namestring required

The name of the file.

Query parameters

api-versionstring required

The API version to use for this operation.

identifierstring required

The user-assigned identifier of the session.

pathstring

The path of the file after uploaded.

Response

The request has succeeded.

namestring required

The name of the file.

typestring required

The type of the session resource file.

contentTypestring

The type of the content of this file.

sizeInBytesinteger

The size of the file.

lastModifiedAtstring date-time required

The date time in RFC3339 format when the file was last modified.

directorystring

The directory path of the session resource file.