{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/insidetheloop-dev/json-schema/insidetheloop-dev-post-v1-sessions-request-schema.json",
  "title": "PostV1SessionsRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/insidetheloop-dev-openapi-generated.yml#/components/schemas/PostV1SessionsRequest",
  "type": "object",
  "properties": {
    "agent": {
      "type": "string",
      "description": "ID of the agent to run in the session"
    },
    "environment_id": {
      "type": "string",
      "description": "ID of the environment to use"
    },
    "title": {
      "type": "string",
      "description": "Title of the session"
    },
    "budget.type": {
      "type": "string",
      "description": "Budget type, e.g., \"limit\""
    },
    "budget.max_list_cost.currency": {
      "type": "string",
      "description": "Currency code, e.g., \"USD\""
    },
    "budget.max_list_cost.amount": {
      "type": "string",
      "description": "Maximum cost amount in the given currency"
    }
  },
  "required": [
    "agent",
    "environment_id",
    "title",
    "budget.type",
    "budget.max_list_cost.currency",
    "budget.max_list_cost.amount"
  ]
}