Skip to main content
POST
Create a native Slack thread and start a child session in it

Body

application/json
message
string
required

Initial Slack message and first instruction for the child session

cleanContext
boolean

Start the child without the workspace's instruction files (AGENTS.md, CLAUDE.md, MEMORY.md, .ravi/rules) or the agent's own instructions: only the first message and the runtime's minimal contract. For reviewers and executors that must not inherit the parent's role

effort
string

Reasoning effort for the child session: none|minimal|low|medium|high|xhigh|max|ultra

from
string

Earlier thread of this session that the new one follows from: its title and the command to read its result are added to the first message as context (session name, request id or Slack thread ts)

idempotencyKey
string

Stable key for this thread request: sending it again returns the request it created instead of creating another thread, whatever state that thread is in now. Without it, the same message and options from the same session within 2 minutes count as a repeat only while that request is still queued, root_delivered, starting or open; one that failed or was closed is not repeated

model
string

Optional model override for the child session

provider
string

Runtime provider for the child (claude|codex|grok|pi); defaults to the parent's explicit provider override

session
string

Explicit initiating session (defaults to current session)

thinking
string

Thinking level for the child session: off|normal|verbose (claude and pi runtimes)

workspaceFrom
string

Run the child in this agent's workspace: its working directory, AGENTS.md, CLAUDE.md and .ravi/rules load instead of the parent's. The child stays the parent's agent, with the parent's permissions; you must be able to see the agent

Response

Success — body conforms to the @Returns schema.

actionId
string
required
Allowed value: "thread.create"
child
object
required
executionMode
string
required
Allowed value: "durable"
idempotencyKey
string
required
initiatorSession
object
required
origin
object | null
required
parentSession
object
required
publishPending
boolean
required
publishedNow
boolean
required
queued
boolean
required
requestId
string
required
slack
object
required
status
string
required
Allowed value: "queued"
title
string | null
required
nextAttemptAt
number
replayed
boolean