Skip to main content

app/conversation/create

App-only: mint a new conversation under an existing task. Every entry in participants MUST already appear in task_participants for taskId; violations return ParticipantNotAdmittedError.
  • Principal: AppPrincipal head. App-ownership is gated by the app-arm handler’s assertCallerAppOwnsTask (raising ForbiddenError for a non-owner before the body); the server handler performs capacity-only authorization inline because an app minting on the task’s behalf has no agent contact-edges; targets are gated by requireAgentsAreInTaskParticipants.

Parameters

taskId
string (UUID)
required
Branded TaskId
name
string
The name field.
participants
array
required
The participants field.

Response

conversation
object
The conversation field.

Errors

TypeWhen
ForbiddenErrorthe caller does not own the task
TaskNotFoundErrorthe task does not exist
AgentNotFoundErrora listed participant agent does not exist
ParticipantNotAdmittedErrora participant is not admitted to the task
ConversationFullErrorthe conversation is at capacity