public-api

V1 Chat

Stream a chat response as Server-Sent Events.

Returns text/event-stream with JSON payloads:

  • {"type": "status", "message": "..."} — status updates
  • {"type": "narration", "content": "..."} — narration text
  • {"type": "content", "content": "..."} — assistant response
  • {"type": "properties", "properties": [...]} — property cards
  • {"type": "result_set", ...} — result set metadata
  • {"type": "escalation", ...} — escalation to agent
  • {"type": "callback_form", ...} — callback form data
  • data: [DONE] — stream complete
post/v1/chat

Request

  • Base URL
    https://api.palisade.run (the document declares no server; this is the origin it was published from)
  • URL
    https://api.palisade.run/v1/chat
  • Auth
    none declared

Query parameters

kstring nullable

Headers

authorizationstring nullable
x-api-keystring nullable

Request body

messagestring required

The user's message as sent to the LLM (may include page-context prefix)

conversation_idstring nullable

Unique conversation ID. Generated server-side if omitted.

page_contextobject nullable

Optional context about the page the user is viewing

user_message_idstring nullable

UUID the client is using for this user message; server reuses it for analytics.

assistant_message_idstring nullable

UUID the client is using for the upcoming assistant message; server reuses it for analytics.

raw_messagestring nullable

The user's message without page-context enrichment. Preferred for analytics storage.

Response

Successful Response

unknown required

Changes

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