Letta · Schema

CreateConversation

Request model for creating a new conversation.

Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen SourceReal-Time

Properties

Name Type Description
summary object A summary of the conversation.
isolated_block_labels object List of block labels that should be isolated (conversation-specific) rather than shared across conversations. New blocks will be created as copies of the agent's blocks with these labels.
model object The model handle for this conversation (overrides agent's model). Format: provider/model-name.
model_settings object The model settings for this conversation (overrides agent's model settings).
View JSON Schema on GitHub

JSON Schema

letta-create-conversation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/letta/json-schema/letta-create-conversation-schema.json",
  "title": "CreateConversation",
  "description": "Request model for creating a new conversation.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/letta-conversations-api-openapi.yml#/components/schemas/CreateConversation",
  "properties": {
    "summary": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Summary",
      "description": "A summary of the conversation."
    },
    "isolated_block_labels": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Isolated Block Labels",
      "description": "List of block labels that should be isolated (conversation-specific) rather than shared across conversations. New blocks will be created as copies of the agent's blocks with these labels."
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Model",
      "description": "The model handle for this conversation (overrides agent's model). Format: provider/model-name."
    },
    "model_settings": {
      "anyOf": [
        {
          "oneOf": [
            {
              "$ref": "#/$defs/OpenAIModelSettings"
            },
            {
              "$ref": "#/$defs/SGLangModelSettings"
            },
            {
              "$ref": "#/$defs/AnthropicModelSettings"
            },
            {
              "$ref": "#/$defs/GoogleAIModelSettings"
            },
            {
              "$ref": "#/$defs/GoogleVertexModelSettings"
            },
            {
              "$ref": "#/$defs/AzureModelSettings"
            },
            {
              "$ref": "#/$defs/XAIModelSettings"
            },
            {
              "$ref": "#/$defs/ZAIModelSettings"
            },
            {
              "$ref": "#/$defs/GroqModelSettings"
            },
            {
              "$ref": "#/$defs/DeepseekModelSettings"
            },
            {
              "$ref": "#/$defs/TogetherModelSettings"
            },
            {
              "$ref": "#/$defs/BedrockModelSettings"
            },
            {
              "$ref": "#/$defs/BasetenModelSettings"
            },
            {
              "$ref": "#/$defs/OpenRouterModelSettings"
            },
            {
              "$ref": "#/$defs/ChatGPTOAuthModelSettings"
            }
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Model Settings",
      "description": "The model settings for this conversation (overrides agent's model settings)."
    }
  },
  "type": "object",
  "$defs": {
    "AnthropicModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "anthropic",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "anthropic"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 1
        },
        "thinking": {
          "$ref": "#/$defs/AnthropicThinking",
          "description": "The thinking configuration for the model.",
          "default": {
            "type": "enabled",
            "budget_tokens": 1024
          }
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        },
        "verbosity": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Verbosity",
          "description": "Soft control for how verbose model output should be, used for GPT-5 models."
        },
        "effort": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high",
                "max"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Effort",
          "description": "Effort level for supported Anthropic models (controls token spending). 'max' is only available on Opus 4.6. Not setting this gives similar performance to 'high'."
        },
        "strict": {
          "type": "boolean",
          "title": "Strict",
          "description": "Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.",
          "default": false
        }
      },
      "type": "object",
      "title": "AnthropicModelSettings"
    },
    "AnthropicThinking": {
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "enabled",
            "disabled"
          ],
          "title": "Type",
          "description": "The type of thinking to use.",
          "default": "enabled"
        },
        "budget_tokens": {
          "type": "integer",
          "title": "Budget Tokens",
          "description": "The maximum number of tokens the model can use for extended thinking.",
          "default": 1024
        }
      },
      "type": "object",
      "title": "AnthropicThinking"
    },
    "AzureModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "azure",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "azure"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "AzureModelSettings",
      "description": "Azure OpenAI model configuration (OpenAI-compatible)."
    },
    "BasetenModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "baseten",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "baseten"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        }
      },
      "type": "object",
      "title": "BasetenModelSettings",
      "description": "Baseten model configuration (OpenAI-compatible)."
    },
    "BedrockModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "bedrock",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "bedrock"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "BedrockModelSettings",
      "description": "AWS Bedrock model configuration."
    },
    "ChatGPTOAuthModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "chatgpt_oauth",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "chatgpt_oauth"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "reasoning": {
          "$ref": "#/$defs/ChatGPTOAuthReasoning",
          "description": "The reasoning configuration for the model.",
          "default": {
            "reasoning_effort": "medium"
          }
        }
      },
      "type": "object",
      "title": "ChatGPTOAuthModelSettings",
      "description": "ChatGPT OAuth model configuration (uses ChatGPT backend API)."
    },
    "ChatGPTOAuthReasoning": {
      "properties": {
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort",
          "description": "The reasoning effort level for GPT-5.x and o-series models.",
          "default": "medium"
        }
      },
      "type": "object",
      "title": "ChatGPTOAuthReasoning",
      "description": "Reasoning configuration for ChatGPT OAuth models (GPT-5.x, o-series)."
    },
    "DeepseekModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "deepseek",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "deepseek"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "DeepseekModelSettings",
      "description": "Deepseek model configuration (OpenAI-compatible)."
    },
    "GeminiThinkingConfig": {
      "properties": {
        "include_thoughts": {
          "type": "boolean",
          "title": "Include Thoughts",
          "description": "Whether to include thoughts in the model's response.",
          "default": true
        },
        "thinking_budget": {
          "type": "integer",
          "title": "Thinking Budget",
          "description": "The thinking budget for the model.",
          "default": 1024
        }
      },
      "type": "object",
      "title": "GeminiThinkingConfig"
    },
    "GoogleAIModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 65536
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "google_ai",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "google_ai"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "thinking_config": {
          "$ref": "#/$defs/GeminiThinkingConfig",
          "description": "The thinking configuration for the model.",
          "default": {
            "include_thoughts": true,
            "thinking_budget": 1024
          }
        },
        "response_schema": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Schema",
          "description": "The response schema for the model."
        }
      },
      "type": "object",
      "title": "GoogleAIModelSettings"
    },
    "GoogleVertexModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 65536
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "google_vertex",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "google_vertex"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "thinking_config": {
          "$ref": "#/$defs/GeminiThinkingConfig",
          "description": "The thinking configuration for the model.",
          "default": {
            "include_thoughts": true,
            "thinking_budget": 1024
          }
        },
        "response_schema": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Schema",
          "description": "The response schema for the model."
        }
      },
      "type": "object",
      "title": "GoogleVertexModelSettings"
    },
    "GroqModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "groq",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "groq"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "GroqModelSettings",
      "description": "Groq model configuration (OpenAI-compatible)."
    },
    "JsonObjectResponseFormat": {
      "properties": {
        "type": {
          "type": "string",
          "const": "json_object",
          "title": "Type",
          "description": "The type of the response format.",
          "default": "json_object"
        }
      },
      "type": "object",
      "title": "JsonObjectResponseFormat",
      "description": "Response format for JSON object responses."
    },
    "JsonSchemaResponseFormat": {
      "properties": {
        "type": {
          "type": "string",
          "const": "json_schema",
          "title": "Type",
          "description": "The type of the response format.",
          "default": "json_schema"
        },
        "json_schema": {
          "additionalProperties": true,
          "type": "object",
          "title": "Json Schema",
          "description": "The JSON schema of the response."
        }
      },
      "type": "object",
      "required": [
        "json_schema"
      ],
      "title": "JsonSchemaResponseFormat",
      "description": "Response format for JSON schema-based responses."
    },
    "OpenAIModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "openai",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "openai"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "reasoning": {
          "$ref": "#/$defs/OpenAIReasoning",
          "description": "The reasoning configuration for the model.",
          "default": {
            "reasoning_effort": "high"
          }
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        },
        "strict": {
          "type": "boolean",
          "title": "Strict",
          "description": "Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.",
          "default": true
        }
      },
      "type": "object",
      "title": "OpenAIModelSettings"
    },
    "OpenAIReasoning": {
      "properties": {
        "reasoning_effort": {
          "type": "string",
          "enum": [
            "none",
            "minimal",
            "low",
            "medium",
            "high",
            "xhigh"
          ],
          "title": "Reasoning Effort",
          "description": "The reasoning effort to use when generating text reasoning models",
          "default": "minimal"
        }
      },
      "type": "object",
      "title": "OpenAIReasoning"
    },
    "OpenRouterModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "openrouter",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "openrouter"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "OpenRouterModelSettings",
      "description": "OpenRouter model configuration (OpenAI-compatible)."
    },
    "SGLangModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "sglang",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "sglang"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "reasoning": {
          "$ref": "#/$defs/OpenAIReasoning",
          "description": "The reasoning configuration for the model.",
          "default": {
            "reasoning_effort": "high"
          }
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        },
        "strict": {
          "type": "boolean",
          "title": "Strict",
          "description": "Enable strict mode for tool calling. When true, tool outputs are guaranteed to match JSON schemas.",
          "default": true
        },
        "tool_call_parser": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Tool Call Parser",
          "description": "SGLang tool call parser name (for example 'glm47', 'qwen25', or 'hermes')."
        }
      },
      "type": "object",
      "title": "SGLangModelSettings",
      "description": "SGLang model configuration (OpenAI-compatible runtime with SGLang-specific parsing)."
    },
    "TextResponseFormat": {
      "properties": {
        "type": {
          "type": "string",
          "const": "text",
          "title": "Type",
          "description": "The type of the response format.",
          "default": "text"
        }
      },
      "type": "object",
      "title": "TextResponseFormat",
      "description": "Response format for plain text responses."
    },
    "TogetherModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "together",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "together"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "TogetherModelSettings",
      "description": "Together AI model configuration (OpenAI-compatible)."
    },
    "XAIModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "xai",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "xai"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Response Format",
          "description": "The response format for the model."
        }
      },
      "type": "object",
      "title": "XAIModelSettings",
      "description": "xAI model configuration (OpenAI-compatible)."
    },
    "ZAIModelSettings": {
      "properties": {
        "max_output_tokens": {
          "type": "integer",
          "title": "Max Output Tokens",
          "description": "The maximum number of tokens the model can generate.",
          "default": 4096
        },
        "parallel_tool_calls": {
          "type": "boolean",
          "title": "Parallel Tool Calls",
          "description": "Whether to enable parallel tool calling.",
          "default": true
        },
        "provider_type": {
          "type": "string",
          "const": "zai",
          "title": "Provider Type",
          "description": "The type of the provider.",
          "default": "zai"
        },
        "temperature": {
          "type": "number",
          "title": "Temperature",
          "description": "The temperature of the model.",
          "default": 0.7
        },
        "response_format": {
          "anyOf": [
            {
              "oneOf": [
                {
                  "$ref": "#/$defs/TextResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonSchemaResponseFormat"
                },
                {
                  "$ref": "#/$defs/JsonObjectResponseFormat"
                }
              ]
            },
            {
              "type": "null"
 

# --- truncated at 32 KB (33 KB total) ---
# Full source: https://artifacts.apis.io/letta/json-schema/letta-create-conversation-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-create-conversation"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.