{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seekrit-dev/json-schema/seekrit-dev-post-v1-agents-sessions-request-schema.json",
  "title": "PostV1AgentsSessionsRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/seekrit-dev-docs-openapi-generated.yml#/components/schemas/PostV1AgentsSessionsRequest",
  "type": "object",
  "properties": {
    "agent": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string"
        },
        "instructions": {
          "type": "string"
        },
        "tools": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              }
            }
          }
        },
        "multi_agent": {
          "type": "object",
          "properties": {
            "enabled": {
              "type": "boolean"
            },
            "max_concurrent_subagents": {
              "type": "integer"
            }
          }
        }
      }
    },
    "environment": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string"
        },
        "workspace_directory": {
          "type": "string"
        },
        "capability_directories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "input": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          },
          "content": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "text": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}