Read Ai Now Session File
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" }'{}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}