v1

latestOpenAPI 3.0.32026-07-17136180270.3 KB
Files

Read a session file

Read a session file. Returns the requested resource or collection for the authenticated caller.

get/api/projects/{projectId}/sessions/{sessionId}/files/read

Path parameters

projectIdstring required

Project identifier used to scope the request.

sessionIdstring required

Session identifier within the project.

Query parameters

pathstring required

File or directory path relative to the workspace or session root.

fromBaseboolean

When true, read the file from the base workspace state.

Response

File content

pathstring

File system path or repository-relative path.

contentstring

Text content for a file or payload.

encodingstring

encoding value for the file Content Response object.