Conversations
Create Conversation
List Conversations
Retrieve Conversation
Update Conversation
Delete Conversation
Cancel Conversation
Recompile Conversation
Fork Conversation
ModelsExpand Collapse
class Conversation: …
Represents a conversation on an agent for concurrent messaging.
context_window_limit: Optional[int]
The context window limit for this conversation (overrides agent’s context window).
description: Optional[str]
A generated description of the conversation used for search and bootstrap context.
in_context_message_ids: Optional[List[str]]
The IDs of in-context messages for the conversation. Null means this field was not retrieved/hydrated for this response.
last_message_at: Optional[datetime]
Timestamp of the most recent message request sent to this conversation.
model: Optional[str]
The model handle for this conversation (overrides agent’s model). Format: provider/model-name.
model_settings: Optional[ModelSettings]
The model settings for this conversation (overrides agent’s model settings).
class OpenAIModelSettings: …
response_format: Optional[ResponseFormat]
class ModelSettingsSgLangModelSettings: …
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
response_format: Optional[ModelSettingsSgLangModelSettingsResponseFormat]
class AnthropicModelSettings: …
response_format: Optional[ResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GoogleAIModelSettings: …
class GoogleVertexModelSettings: …
class AzureModelSettings: …
class XaiModelSettings: …
class ModelSettingsMoonshotModelSettings: …
Moonshot/Kimi model configuration (OpenAI-compatible).
response_format: Optional[ModelSettingsMoonshotModelSettingsResponseFormat]
class ModelSettingsZaiModelSettings: …
class ModelSettingsMoonshotCodingModelSettings: …
Kimi Code model configuration (Anthropic-compatible).
response_format: Optional[ModelSettingsMoonshotCodingModelSettingsResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GroqModelSettings: …
class DeepseekModelSettings: …
class TogetherModelSettings: …
class BedrockModelSettings: …
class ModelSettingsOpenRouterModelSettings: …
class CreateConversation: …
Request model for creating a new conversation.
context_window_limit: Optional[int]
The context window limit for this conversation (overrides agent’s context window).
description: Optional[str]
A generated description of the conversation used for search and bootstrap context.
model: Optional[str]
The model handle for this conversation (overrides agent’s model). Format: provider/model-name.
model_settings: Optional[ModelSettings]
The model settings for this conversation (overrides agent’s model settings).
class OpenAIModelSettings: …
response_format: Optional[ResponseFormat]
class ModelSettingsSgLangModelSettings: …
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
response_format: Optional[ModelSettingsSgLangModelSettingsResponseFormat]
class AnthropicModelSettings: …
response_format: Optional[ResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GoogleAIModelSettings: …
class GoogleVertexModelSettings: …
class AzureModelSettings: …
class XaiModelSettings: …
class ModelSettingsMoonshotModelSettings: …
Moonshot/Kimi model configuration (OpenAI-compatible).
response_format: Optional[ModelSettingsMoonshotModelSettingsResponseFormat]
class ModelSettingsZaiModelSettings: …
class ModelSettingsMoonshotCodingModelSettings: …
Kimi Code model configuration (Anthropic-compatible).
response_format: Optional[ModelSettingsMoonshotCodingModelSettingsResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GroqModelSettings: …
class DeepseekModelSettings: …
class TogetherModelSettings: …
class BedrockModelSettings: …
class ModelSettingsOpenRouterModelSettings: …
class UpdateConversation: …
Request model for updating a conversation.
context_window_limit: Optional[int]
The context window limit for this conversation (overrides agent’s context window).
description: Optional[str]
A generated description of the conversation used for search and bootstrap context.
last_message_at: Optional[datetime]
Timestamp of the most recent message request sent to this conversation.
model: Optional[str]
The model handle for this conversation (overrides agent’s model). Format: provider/model-name.
model_settings: Optional[ModelSettings]
The model settings for this conversation (overrides agent’s model settings).
class OpenAIModelSettings: …
response_format: Optional[ResponseFormat]
class ModelSettingsSgLangModelSettings: …
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
response_format: Optional[ModelSettingsSgLangModelSettingsResponseFormat]
class AnthropicModelSettings: …
response_format: Optional[ResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GoogleAIModelSettings: …
class GoogleVertexModelSettings: …
class AzureModelSettings: …
class XaiModelSettings: …
class ModelSettingsMoonshotModelSettings: …
Moonshot/Kimi model configuration (OpenAI-compatible).
response_format: Optional[ModelSettingsMoonshotModelSettingsResponseFormat]
class ModelSettingsZaiModelSettings: …
class ModelSettingsMoonshotCodingModelSettings: …
Kimi Code model configuration (Anthropic-compatible).
response_format: Optional[ModelSettingsMoonshotCodingModelSettingsResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GroqModelSettings: …
class DeepseekModelSettings: …
class TogetherModelSettings: …
class BedrockModelSettings: …
class ModelSettingsOpenRouterModelSettings: …
List[Conversation]
context_window_limit: Optional[int]
The context window limit for this conversation (overrides agent’s context window).
description: Optional[str]
A generated description of the conversation used for search and bootstrap context.
in_context_message_ids: Optional[List[str]]
The IDs of in-context messages for the conversation. Null means this field was not retrieved/hydrated for this response.
last_message_at: Optional[datetime]
Timestamp of the most recent message request sent to this conversation.
model: Optional[str]
The model handle for this conversation (overrides agent’s model). Format: provider/model-name.
model_settings: Optional[ModelSettings]
The model settings for this conversation (overrides agent’s model settings).
class OpenAIModelSettings: …
response_format: Optional[ResponseFormat]
class ModelSettingsSgLangModelSettings: …
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
response_format: Optional[ModelSettingsSgLangModelSettingsResponseFormat]
class AnthropicModelSettings: …
response_format: Optional[ResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GoogleAIModelSettings: …
class GoogleVertexModelSettings: …
class AzureModelSettings: …
class XaiModelSettings: …
class ModelSettingsMoonshotModelSettings: …
Moonshot/Kimi model configuration (OpenAI-compatible).
response_format: Optional[ModelSettingsMoonshotModelSettingsResponseFormat]
class ModelSettingsZaiModelSettings: …
class ModelSettingsMoonshotCodingModelSettings: …
Kimi Code model configuration (Anthropic-compatible).
response_format: Optional[ModelSettingsMoonshotCodingModelSettingsResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GroqModelSettings: …
class DeepseekModelSettings: …
class TogetherModelSettings: …
class BedrockModelSettings: …
class ModelSettingsOpenRouterModelSettings: …
ConversationsMessages
List Conversation Messages
Send Conversation Message
Retrieve Conversation Stream
Compact Conversation
ModelsExpand Collapse
class CompactionRequest: …
compaction_settings: Optional[CompactionSettings]
Configuration for conversation compaction / summarization.
Per-model settings (temperature, max tokens, etc.) are derived from the default configuration for that handle.
clip_chars: Optional[int]
The maximum length of the summary in characters. If none, no clipping is performed.
model: Optional[str]
Model handle to use for sliding_window/all summarization (format: provider/model-name). If None, uses lightweight provider-specific defaults.
model_settings: Optional[CompactionSettingsModelSettings]
Optional model settings used to override defaults for the summarizer model.
class OpenAIModelSettings: …
response_format: Optional[ResponseFormat]
class CompactionSettingsModelSettingsSgLangModelSettings: …
SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing).
response_format: Optional[CompactionSettingsModelSettingsSgLangModelSettingsResponseFormat]
class AnthropicModelSettings: …
response_format: Optional[ResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GoogleAIModelSettings: …
class GoogleVertexModelSettings: …
class AzureModelSettings: …
class XaiModelSettings: …
class CompactionSettingsModelSettingsMoonshotModelSettings: …
Moonshot/Kimi model configuration (OpenAI-compatible).
response_format: Optional[CompactionSettingsModelSettingsMoonshotModelSettingsResponseFormat]
class CompactionSettingsModelSettingsZaiModelSettings: …
Z.ai (ZhipuAI) model configuration (OpenAI-compatible).
class CompactionSettingsModelSettingsMoonshotCodingModelSettings: …
Kimi Code model configuration (Anthropic-compatible).
response_format: Optional[CompactionSettingsModelSettingsMoonshotCodingModelSettingsResponseFormat]
strict: Optional[bool]
Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.
class GroqModelSettings: …
class DeepseekModelSettings: …
class TogetherModelSettings: …
class BedrockModelSettings: …
class CompactionSettingsModelSettingsBasetenModelSettings: …
Baseten model configuration (OpenAI-compatible).
Skip to content