CreateThreadBody

Request body for creating a Thread.

Definition

TypeScript
interface CreateThreadBody {
  workspaceId: string;
  title?: string | undefined;
  parentMessageId?: string | undefined;
}

Fields

FieldTypeNotes
workspaceIdstringrequired — Workspace that will own the thread.
titlestring | undefinedoptional — Optional initial title.
parentMessageIdstring | undefinedoptional — Set when this thread is being created as a sub-thread rooted at an existing message.