Skip to main content
POST
Read a file
Reads a file in the session.

Authorizations

Authorization
string
header
required

Enter your Zite API key. Format: Bearer <api_key>

Path Parameters

sessionId
string
required

The build session ID from Open a session.

Body

application/json
path
string
required

Path relative to the workspace root.

Example:

"apps/agent-console/src/api/listTickets.ts"

Response

The file contents

path
string
content
string