API ReferenceSessions ( Public)
Send a prompt to a running session
Re-queues the session with the supplied prompt text so the running (or paused) agent picks it up on its next poll cycle. Also resets terminal-state sessions to `pending` before re-dispatching.
Authorization
rsk_Bearer AuthorizationBearer <token>
Rensei API key. Format: rsk_live_<random>. Generated in Settings or via POST /api/org/{orgId}/keys. Used by CLI (af), daemon, and programmatic integrations.
In: header
Path Parameters
id*string
16-char public session hash.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
prompt*string
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/public/sessions/string/prompt" \ -H "Content-Type: application/json" \ -d '{ "prompt": "string" }'{
"delivered": true,
"promptId": "string",
"sessionId": "string",
"status": "string"
}{
"error": "Session not found"
}{
"error": "Session not found"
}{
"error": "Session not found"
}