Save Session File

post/api/acp/v1/sessions/{session_id}/files/{file_path}

Request

  • Base URL: https://api.landing-page.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.landing-page.io/api/acp/v1/sessions/{session_id}/files/{file_path}
  • Auth: HTTP bearer

Path parameters

session_idstring required
file_pathstring required

Request body

contentstring required

替换后的文件内容

promptstring nullable

保存后给 Agent 的补充提示

agentstring nullable

可选 Agent key,默认使用 session 创建时的 agent

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.