Create Chat

发起新对话。启动 ACP agent 生成,立即返回 session_id + job_id(JSON), 不读取 SSE body。前端拿到 id 后通过 GET /sessions/{id}/stream 获取实时流。

post/api/acp/v1/chat

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/chat
  • Auth: HTTP bearer

Request body

messagestring required

用户消息内容

agentstring

使用的 Agent key

languagestring

输出语言偏好 (BCP-47)

template_idstring nullable

Optional template identifier from the frontend

template_html_urlstring nullable

Optional template HTML URL

existing_html_or_urlstring nullable

Compatibility alias for template_html_url

template_titlestring nullable

Optional template title

template_descriptionstring nullable

Optional template description

modelstring nullable

ACP model identifier

Response

Successful Response

unknown required

Changes

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