Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Document Cognition Service
* OpenAPI spec version: 1.0.0
*/
import type { HttpSendChatMessageRequestAdditionalInstructions } from './httpSendChatMessageRequestAdditionalInstructions';
import type { HttpSendChatMessageRequestAttachments } from './httpSendChatMessageRequestAttachments';
import type { HttpSendChatMessageRequestChatId } from './httpSendChatMessageRequestChatId';
import type { ModelSpeed } from './modelSpeed';
import type { ToolSet } from './toolSet';
/**
* HTTP request payload for sending a chat message.
Unlike the WebSocket payload, this does not include stream_id as it's generated server-side.
*/
export interface HttpSendChatMessageRequest {
/** Additional system instructions appended to the base system prompt */
additional_instructions?: HttpSendChatMessageRequestAdditionalInstructions;
/** Attachments for the message */
attachments?: HttpSendChatMessageRequestAttachments;
/** Id of the chat the message belongs to (optional - if not provided, a new chat is created) */
chat_id?: HttpSendChatMessageRequestChatId;
/** The content of the message */
content: string;
/** The model to respond with (`provider/model` id) */
model: string;
/** Inference speed, validated against the selected model. Defaults to standard. */
speed?: ModelSpeed;
/** Which toolset to use. Defaults to `all` */
toolset?: ToolSet;
}