sf-agent-api-messaging

Installation
SKILL.md

Agent API Messaging (Sync and Streaming)

Use This Skill When

  • Building the send-message request/response loop against an active session.
  • Consuming the streaming (SSE) endpoint and rendering chunks in real time.
  • Handling streaming event types and the ValidationFailureChunk reset case.
  • Managing sequenceId ordering across turns.

Two Endpoints

Synchronous Streaming
Path POST /sessions/{SESSION_ID}/messages POST /sessions/{SESSION_ID}/messages/stream
Accept header application/json text/event-stream
Response Full Inform in one payload SSE event stream
Best for Automation, server-to-server Real-time chat UI

Both require an active session (see sf-agent-api-session-lifecycle).

Installs
2
First Seen
Jul 29, 2026