{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/plusai-com/json-schema/plusai-com-create-agent-session-request-schema.json",
  "title": "CreateAgentSessionRequest",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/plusai-com-openapi.json#/components/schemas/CreateAgentSessionRequest",
  "properties": {
    "attachments": {
      "description": "Files to attach to the initial message.",
      "items": {
        "properties": {
          "fileId": {
            "type": "string"
          }
        },
        "required": [
          "fileId"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "callbackUrl": {
      "description": "HTTPS URL invoked when the session changes state. Must be a public\nHTTPS address (no localhost/private IPs).\n",
      "format": "uri",
      "type": "string"
    },
    "language": {
      "default": "auto",
      "description": "Target language. Defaults to `auto`.",
      "type": "string"
    },
    "model": {
      "description": "The model to use.",
      "enum": [
        "claude-fable-5",
        "claude-opus-5-5",
        "claude-opus-5",
        "claude-opus-4-8",
        "claude-opus-4-7",
        "claude-opus-4-6",
        "claude-sonnet-5-5",
        "claude-sonnet-5",
        "claude-sonnet-4-6",
        "claude-haiku-4-5",
        "gpt-5.4",
        "gpt-5.4-nano",
        "gpt-5.4-mini",
        "gpt-5.4-pro",
        "gpt-5.5",
        "gpt-5.5-pro",
        "gpt-5.6-sol",
        "gpt-5.6-terra",
        "gpt-5.6-luna",
        "@cf/moonshotai/kimi-k2.7-code"
      ],
      "type": "string"
    },
    "pptxFileId": {
      "description": "ID of an existing PowerPoint file (uploaded via the files API) to\nseed the session with. Must reference a `.pptx` file (legacy\n`.ppt` files aren't supported).\n",
      "type": "string"
    },
    "prompt": {
      "description": "The initial instruction for the agent.",
      "type": "string"
    }
  },
  "required": [
    "prompt"
  ],
  "type": "object"
}