Skip to main content
Nowledge MemNowledge Mem

Read Ai Now Session File

POST
/agent/ai-now/sessions/{session_id}/files/read

Read a text artifact generated inside an AI Now session workdir.

By-id-direct. The requested path must resolve inside the session working directory, so web/remote renderers can load generated cards without exposing arbitrary backend files.

Path Parameters

session_id*Session Id

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/agent/ai-now/sessions/string/files/read" \  -H "Content-Type: application/json" \  -d '{    "path": "string"  }'
{}