{
  "Body_video_create_character_videos_characters_post": {
    "properties": {
      "video": {
        "type": "string",
        "format": "binary",
        "title": "Video"
      },
      "name": {
        "type": "string",
        "title": "Name"
      }
    },
    "type": "object",
    "required": [
      "video",
      "name"
    ],
    "title": "Body_video_create_character_videos_characters_post"
  },
  "Body_video_generation_v1_videos_post": {
    "properties": {
      "input_reference": {
        "anyOf": [
          {
            "type": "string",
            "format": "binary"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Reference"
      }
    },
    "type": "object",
    "title": "Body_video_generation_v1_videos_post"
  },
  "Body_video_generation_videos_post": {
    "properties": {
      "input_reference": {
        "anyOf": [
          {
            "type": "string",
            "format": "binary"
          },
          {
            "type": "null"
          }
        ],
        "title": "Input Reference"
      }
    },
    "type": "object",
    "title": "Body_video_generation_videos_post"
  },
  "BreakdownMetrics": {
    "properties": {
      "mcp_servers": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Mcp Servers"
      },
      "models": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Models"
      },
      "model_groups": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Model Groups"
      },
      "providers": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Providers"
      },
      "endpoints": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Endpoints"
      },
      "api_keys": {
        "additionalProperties": {
          "$ref": "#/components/schemas/KeyMetricWithMetadata"
        },
        "type": "object",
        "title": "Api Keys"
      },
      "entities": {
        "additionalProperties": {
          "$ref": "#/components/schemas/MetricWithMetadata"
        },
        "type": "object",
        "title": "Entities"
      }
    },
    "type": "object",
    "title": "BreakdownMetrics",
    "description": "Breakdown of spend by different dimensions"
  },
  "BudgetConfig": {
    "properties": {
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration"
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit"
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit"
      }
    },
    "type": "object",
    "title": "BudgetConfig"
  },
  "BudgetDeleteRequest": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      }
    },
    "type": "object",
    "required": [
      "id"
    ],
    "title": "BudgetDeleteRequest"
  },
  "BudgetNewRequest": {
    "properties": {
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id",
        "description": "The unique budget id."
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget",
        "description": "Requests will fail if this budget (in USD) is exceeded."
      },
      "soft_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Soft Budget",
        "description": "Requests will NOT fail if this is exceeded. Will fire alerting though."
      },
      "max_parallel_requests": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Parallel Requests",
        "description": "Max concurrent requests allowed for this budget id."
      },
      "tpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tpm Limit",
        "description": "Max tokens per minute, allowed for this budget id."
      },
      "rpm_limit": {
        "anyOf": [
          {
            "type": "integer"
          },
          {
            "type": "null"
          }
        ],
        "title": "Rpm Limit",
        "description": "Max requests per minute, allowed for this budget id."
      },
      "budget_duration": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Duration",
        "description": "Max duration budget should be set for (e.g. '1hr', '1d', '28d')"
      },
      "model_max_budget": {
        "anyOf": [
          {
            "additionalProperties": {
              "$ref": "#/components/schemas/BudgetConfig"
            },
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Model Max Budget",
        "description": "Max budget for each model (e.g. {'gpt-4o': {'max_budget': '0.0000001', 'budget_duration': '1d', 'tpm_limit': 1000, 'rpm_limit': 1000}})"
      },
      "budget_reset_at": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Reset At",
        "description": "Datetime when the budget is reset"
      }
    },
    "type": "object",
    "title": "BudgetNewRequest"
  },
  "BudgetRequest": {
    "properties": {
      "budgets": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Budgets"
      }
    },
    "type": "object",
    "required": [
      "budgets"
    ],
    "title": "BudgetRequest"
  },
  "BulkTeamMemberAddRequest": {
    "properties": {
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "members": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/Member"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Members"
      },
      "all_users": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "All Users",
        "default": false
      },
      "max_budget_in_team": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget In Team"
      }
    },
    "type": "object",
    "required": [
      "team_id"
    ],
    "title": "BulkTeamMemberAddRequest",
    "description": "Request for bulk team member addition"
  },
  "BulkTeamMemberAddResponse": {
    "properties": {
      "team_id": {
        "type": "string",
        "title": "Team Id"
      },
      "results": {
        "items": {
          "$ref": "#/components/schemas/TeamMemberAddResult"
        },
        "type": "array",
        "title": "Results"
      },
      "total_requested": {
        "type": "integer",
        "title": "Total Requested"
      },
      "successful_additions": {
        "type": "integer",
        "title": "Successful Additions"
      },
      "failed_additions": {
        "type": "integer",
        "title": "Failed Additions"
      },
      "updated_team": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Updated Team"
      }
    },
    "type": "object",
    "required": [
      "team_id",
      "results",
      "total_requested",
      "successful_additions",
      "failed_additions"
    ],
    "title": "BulkTeamMemberAddResponse",
    "description": "Response for bulk team member add operations"
  },
  "BulkUpdateKeyRequest": {
    "properties": {
      "keys": {
        "items": {
          "$ref": "#/components/schemas/BulkUpdateKeyRequestItem"
        },
        "type": "array",
        "title": "Keys"
      }
    },
    "type": "object",
    "required": [
      "keys"
    ],
    "title": "BulkUpdateKeyRequest",
    "description": "Request for bulk key updates"
  },
  "BulkUpdateKeyRequestItem": {
    "properties": {
      "key": {
        "type": "string",
        "title": "Key"
      },
      "budget_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Budget Id"
      },
      "max_budget": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Max Budget"
      },
      "team_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Id"
      },
      "tags": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tags"
      }
    },
    "type": "object",
    "required": [
      "key"
    ],
    "title": "BulkUpdateKeyRequestItem",
    "description": "Individual key update request item"
  },
  "BulkUpdateKeyResponse": {
    "properties": {
      "total_requested": {
        "type": "integer",
        "title": "Total Requested"
      },
      "successful_updates": {
        "items": {
          "$ref": "#/components/schemas/SuccessfulKeyUpdate"
        },
        "type": "array",
        "title": "Successful Updates"
      },
      "failed_updates": {
        "items": {
          "$ref": "#/components/schemas/FailedKeyUpdate"
        },
        "type": "array",
        "title": "Failed Updates"
      }
    },
    "type": "object",
    "required": [
      "total_requested",
      "successful_updates",
      "failed_updates"
    ],
    "title": "BulkUpdateKeyResponse",
    "description": "Response for bulk key update operations"
  },
  "BulkUpdateTeamMemberPermissionsRequest": {
    "properties": {
      "permissions": {
        "items": {
          "$ref": "#/components/schemas/KeyManagementRoutes"
        },
        "type": "array",
        "title": "Permissions"
      },
      "team_ids": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Team Ids"
      },
      "apply_to_all_teams": {
        "type": "boolean",
        "title": "Apply To All Teams",
        "default": false
      }
    },
    "type": "object",
    "required": [
      "permissions"
    ],
    "title": "BulkUpdateTeamMemberPermissionsRequest",
    "description": "Request to bulk-update team member permissions across teams."
  },
  "BulkUpdateTeamMemberPermissionsResponse": {
    "properties": {
      "message": {
        "type": "string",
        "title": "Message"
      },
      "teams_updated": {
        "type": "integer",
        "title": "Teams Updated"
      },
      "permissions_appended": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Permissions Appended"
      }
    },
    "type": "object",
    "required": [
      "message",
      "teams_updated"
    ],
    "title": "BulkUpdateTeamMemberPermissionsResponse",
    "description": "Response for bulk team member permissions update."
  },
  "BulkUpdateUserRequest": {
    "properties": {
      "users": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/UpdateUserRequest"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Users"
      },
      "all_users": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "All Users",
        "default": false
      },
      "user_updates": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/UpdateUserRequestNoUserIDorEmail"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "type": "object",
    "title": "BulkUpdateUserRequest",
    "description": "Request for bulk user updates"
  },
  "BulkUpdateUserResponse": {
    "properties": {
      "results": {
        "items": {
          "$ref": "#/components/schemas/UserUpdateResult"
        },
        "type": "array",
        "title": "Results"
      },
      "total_requested": {
        "type": "integer",
        "title": "Total Requested"
      },
      "successful_updates": {
        "type": "integer",
        "title": "Successful Updates"
      },
      "failed_updates": {
        "type": "integer",
        "title": "Failed Updates"
      }
    },
    "type": "object",
    "required": [
      "results",
      "total_requested",
      "successful_updates",
      "failed_updates"
    ],
    "title": "BulkUpdateUserResponse",
    "description": "Response for bulk user update operations"
  },
  "CachePingResponse": {
    "properties": {
      "status": {
        "type": "string",
        "title": "Status"
      },
      "cache_type": {
        "type": "string",
        "title": "Cache Type"
      },
      "ping_response": {
        "anyOf": [
          {
            "type": "boolean"
          },
          {
            "type": "null"
          }
        ],
        "title": "Ping Response"
      },
      "set_cache_response": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Set Cache Response"
      },
      "litellm_cache_params": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Litellm Cache Params"
      },
      "health_check_cache_params": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "type": "null"
          }
        ],
        "title": "Health Check Cache Params"
      }
    },
    "type": "object",
    "required": [
      "status",
      "cache_type"
    ],
    "title": "CachePingResponse"
  },
  "CacheSettingsField": {
    "properties": {
      "field_name": {
        "type": "string",
        "title": "Field Name"
      },
      "field_type": {
        "type": "string",
        "title": "Field Type"
      },
      "field_value": {
        "title": "Field Value"
      },
      "field_description": {
        "type": "string",
        "title": "Field Description"
      },
      "field_default": {
        "title": "Field Default"
      },
      "options": {
        "anyOf": [
          {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Options"
      },
      "ui_field_name": {
        "type": "string",
        "title": "Ui Field Name"
      },
      "link": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Link"
      },
      "redis_type": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Redis Type"
      }
    },
    "type": "object",
    "required": [
      "field_name",
      "field_type",
      "field_value",
      "field_description",
      "ui_field_name"
    ],
    "title": "CacheSettingsField"
  },
  "CacheSettingsResponse": {
    "properties": {
      "fields": {
        "items": {
          "$ref": "#/components/schemas/CacheSettingsField"
        },
        "type": "array",
        "title": "Fields",
        "description": "List of all configurable cache settings with metadata"
      },
      "current_values": {
        "additionalProperties": true,
        "type": "object",
        "title": "Current Values",
        "description": "Current values of cache settings"
      },
      "redis_type_descriptions": {
        "additionalProperties": {
          "type": "string"
        },
        "type": "object",
        "title": "Redis Type Descriptions",
        "description": "Descriptions for each Redis type option"
      }
    },
    "type": "object",
    "required": [
      "fields",
      "current_values",
      "redis_type_descriptions"
    ],
    "title": "CacheSettingsResponse"
  },
  "CacheSettingsUpdateRequest": {
    "properties": {
      "cache_settings": {
        "additionalProperties": true,
        "type": "object",
        "title": "Cache Settings",
        "description": "Cache settings to save"
      }
    },
    "type": "object",
    "required": [
      "cache_settings"
    ],
    "title": "CacheSettingsUpdateRequest"
  },
  "CacheTestRequest": {
    "properties": {
      "cache_settings": {
        "additionalProperties": true,
        "type": "object",
        "title": "Cache Settings",
        "description": "Cache settings to test connection with"
      }
    },
    "type": "object",
    "required": [
      "cache_settings"
    ],
    "title": "CacheTestRequest"
  },
  "CacheTestResponse": {
    "properties": {
      "status": {
        "type": "string",
        "title": "Status",
        "description": "Connection status: 'success' or 'failed'"
      },
      "message": {
        "type": "string",
        "title": "Message",
        "description": "Connection result message"
      },
      "error": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Error",
        "description": "Error message if connection failed"
      }
    },
    "type": "object",
    "required": [
      "status",
      "message"
    ],
    "title": "CacheTestResponse"
  },
  "CallTypes": {
    "type": "string",
    "enum": [
      "embedding",
      "aembedding",
      "completion",
      "acompletion",
      "atext_completion",
      "text_completion",
      "image_generation",
      "aimage_generation",
      "image_edit",
      "aimage_edit",
      "moderation",
      "amoderation",
      "atranscription",
      "transcription",
      "aspeech",
      "speech",
      "rerank",
      "arerank",
      "search",
      "asearch",
      "_arealtime",
      "_aresponses_websocket",
      "create_batch",
      "acreate_batch",
      "aretrieve_batch",
      "retrieve_batch",
      "acancel_batch",
      "cancel_batch",
      "pass_through_endpoint",
      "anthropic_messages",
      "get_assistants",
      "aget_assistants",
      "create_assistants",
      "acreate_assistants",
      "delete_assistant",
      "adelete_assistant",
      "acreate_thread",
      "create_thread",
      "aget_thread",
      "get_thread",
      "a_add_message",
      "add_message",
      "aget_messages",
      "get_messages",
      "arun_thread",
      "run_thread",
      "arun_thread_stream",
      "run_thread_stream",
      "afile_retrieve",
      "file_retrieve",
      "afile_delete",
      "file_delete",
      "afile_list",
      "file_list",
      "acreate_file",
      "create_file",
      "afile_content",
      "file_content",
      "create_fine_tuning_job",
      "acreate_fine_tuning_job",
      "create_video",
      "acreate_video",
      "avideo_retrieve",
      "video_retrieve",
      "avideo_content",
      "video_content",
      "video_remix",
      "avideo_remix",
      "video_list",
      "avideo_list",
      "video_retrieve_job",
      "avideo_retrieve_job",
      "video_delete",
      "avideo_delete",
      "video_create_character",
      "avideo_create_character",
      "video_get_character",
      "avideo_get_character",
      "video_edit",
      "avideo_edit",
      "video_extension",
      "avideo_extension",
      "vector_store_file_create",
      "avector_store_file_create",
      "vector_store_file_list",
      "avector_store_file_list",
      "vector_store_file_retrieve",
      "avector_store_file_retrieve",
      "vector_store_file_content",
      "avector_store_file_content",
      "vector_store_file_update",
      "avector_store_file_update",
      "vector_store_file_delete",
      "avector_store_file_delete",
      "vector_store_create",
      "avector_store_create",
      "vector_store_search",
      "avector_store_search",
      "create_container",
      "acreate_container",
      "list_containers",
      "alist_containers",
      "retrieve_container",
      "aretrieve_container",
      "delete_container",
      "adelete_container",
      "list_container_files",
      "alist_container_files",
      "upload_container_file",
      "aupload_container_file",
      "acancel_fine_tuning_job",
      "cancel_fine_tuning_job",
      "alist_fine_tuning_jobs",
      "list_fine_tuning_jobs",
      "aretrieve_fine_tuning_job",
      "retrieve_fine_tuning_job",
      "responses",
      "aresponses",
      "alist_input_items",
      "llm_passthrough_route",
      "allm_passthrough_route",
      "generate_content",
      "agenerate_content",
      "generate_content_stream",
      "agenerate_content_stream",
      "ocr",
      "aocr",
      "call_mcp_tool",
      "list_mcp_tools",
      "asend_message",
      "send_message",
      "acreate_skill"
    ],
    "title": "CallTypes"
  },
  "CallbacksByType": {
    "properties": {
      "success": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Success"
      },
      "failure": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Failure"
      },
      "success_and_failure": {
        "items": {
          "type": "string"
        },
        "type": "array",
        "title": "Success And Failure"
      }
    },
    "type": "object",
    "required": [
      "success",
      "failure",
      "success_and_failure"
    ],
    "title": "CallbacksByType"
  },
  "CancelEvalResponse": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "object": {
        "type": "string",
        "title": "Object",
        "default": "eval"
      },
      "status": {
        "type": "string",
        "const": "cancelled",
        "title": "Status"
      }
    },
    "type": "object",
    "required": [
      "id",
      "status"
    ],
    "title": "CancelEvalResponse",
    "description": "Response from cancelling an evaluation"
  },
  "CancelRunResponse": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "object": {
        "type": "string",
        "title": "Object",
        "default": "eval.run"
      },
      "status": {
        "type": "string",
        "const": "cancelled",
        "title": "Status"
      }
    },
    "type": "object",
    "required": [
      "id",
      "status"
    ],
    "title": "CancelRunResponse",
    "description": "Response from cancelling a run"
  },
  "ChatCompletionAnnotation": {
    "properties": {
      "type": {
        "type": "string",
        "const": "url_citation",
        "title": "Type"
      },
      "url_citation": {
        "$ref": "#/components/schemas/ChatCompletionAnnotationURLCitation"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "title": "ChatCompletionAnnotation"
  },
  "ChatCompletionAnnotationURLCitation": {
    "properties": {
      "end_index": {
        "type": "integer",
        "title": "End Index"
      },
      "start_index": {
        "type": "integer",
        "title": "Start Index"
      },
      "title": {
        "type": "string",
        "title": "Title"
      },
      "url": {
        "type": "string",
        "title": "Url"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "title": "ChatCompletionAnnotationURLCitation"
  },
  "ChatCompletionAssistantMessage": {
    "properties": {
      "role": {
        "const": "assistant",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatCompletionTextObject"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionThinkingBlock"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionRedactedThinkingBlock"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionImageObject"
                }
              ]
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content"
      },
      "name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Name"
      },
      "tool_calls": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionAssistantToolCall"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Calls"
      },
      "function_call": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/ChatCompletionToolCallFunctionChunk"
          },
          {
            "type": "null"
          }
        ]
      },
      "reasoning_content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reasoning Content"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      },
      "thinking_blocks": {
        "anyOf": [
          {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ChatCompletionThinkingBlock"
                },
                {
                  "$ref": "#/components/schemas/ChatCompletionRedactedThinkingBlock"
                }
              ]
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Thinking Blocks"
      },
      "reasoning_items": {
        "anyOf": [
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionReasoningItem"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Reasoning Items"
      }
    },
    "required": [
      "role"
    ],
    "title": "ChatCompletionAssistantMessage",
    "type": "object"
  },
  "ChatCompletionAssistantToolCall": {
    "properties": {
      "id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Id"
      },
      "type": {
        "const": "function",
        "title": "Type",
        "type": "string"
      },
      "function": {
        "$ref": "#/components/schemas/ChatCompletionToolCallFunctionChunk"
      }
    },
    "required": [
      "id",
      "type",
      "function"
    ],
    "title": "ChatCompletionAssistantToolCall",
    "type": "object"
  },
  "ChatCompletionAudioObject": {
    "properties": {
      "input_audio": {
        "$ref": "#/components/schemas/InputAudio"
      },
      "type": {
        "const": "input_audio",
        "title": "Type",
        "type": "string"
      }
    },
    "required": [
      "input_audio",
      "type"
    ],
    "title": "ChatCompletionAudioObject",
    "type": "object"
  },
  "ChatCompletionAudioResponse": {
    "properties": {
      "id": {
        "type": "string",
        "title": "Id"
      },
      "data": {
        "type": "string",
        "title": "Data"
      },
      "expires_at": {
        "type": "integer",
        "title": "Expires At"
      },
      "transcript": {
        "type": "string",
        "title": "Transcript"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "id",
      "data",
      "expires_at",
      "transcript"
    ],
    "title": "ChatCompletionAudioResponse"
  },
  "ChatCompletionCachedContent": {
    "properties": {
      "type": {
        "const": "ephemeral",
        "title": "Type",
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "title": "ChatCompletionCachedContent",
    "type": "object"
  },
  "ChatCompletionDeveloperMessage": {
    "properties": {
      "role": {
        "const": "developer",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {},
            "type": "array"
          }
        ],
        "title": "Content"
      },
      "name": {
        "title": "Name",
        "type": "string"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      }
    },
    "required": [
      "role",
      "content"
    ],
    "title": "ChatCompletionDeveloperMessage",
    "type": "object"
  },
  "ChatCompletionDocumentObject": {
    "properties": {
      "type": {
        "const": "document",
        "title": "Type",
        "type": "string"
      },
      "source": {
        "$ref": "#/components/schemas/DocumentObject"
      },
      "title": {
        "title": "Title",
        "type": "string"
      },
      "context": {
        "title": "Context",
        "type": "string"
      },
      "citations": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/CitationsObject"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "required": [
      "type",
      "source",
      "title",
      "context",
      "citations"
    ],
    "title": "ChatCompletionDocumentObject",
    "type": "object"
  },
  "ChatCompletionFileObject": {
    "properties": {
      "type": {
        "const": "file",
        "title": "Type",
        "type": "string"
      },
      "file": {
        "$ref": "#/components/schemas/ChatCompletionFileObjectFile"
      }
    },
    "required": [
      "type",
      "file"
    ],
    "title": "ChatCompletionFileObject",
    "type": "object"
  },
  "ChatCompletionFileObjectFile": {
    "properties": {
      "file_data": {
        "title": "File Data",
        "type": "string"
      },
      "file_id": {
        "title": "File Id",
        "type": "string"
      },
      "filename": {
        "title": "Filename",
        "type": "string"
      },
      "format": {
        "title": "Format",
        "type": "string"
      },
      "detail": {
        "title": "Detail",
        "type": "string"
      },
      "video_metadata": {
        "additionalProperties": true,
        "title": "Video Metadata",
        "type": "object"
      }
    },
    "title": "ChatCompletionFileObjectFile",
    "type": "object"
  },
  "ChatCompletionFunctionMessage": {
    "properties": {
      "role": {
        "const": "function",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {
              "$ref": "#/components/schemas/ChatCompletionTextObject"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Content"
      },
      "name": {
        "title": "Name",
        "type": "string"
      },
      "tool_call_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Tool Call Id"
      }
    },
    "required": [
      "role",
      "content",
      "name",
      "tool_call_id"
    ],
    "title": "ChatCompletionFunctionMessage",
    "type": "object"
  },
  "ChatCompletionImageObject": {
    "properties": {
      "type": {
        "const": "image_url",
        "title": "Type",
        "type": "string"
      },
      "image_url": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "$ref": "#/components/schemas/ChatCompletionImageUrlObject"
          }
        ],
        "title": "Image Url"
      }
    },
    "required": [
      "type",
      "image_url"
    ],
    "title": "ChatCompletionImageObject",
    "type": "object"
  },
  "ChatCompletionImageUrlObject": {
    "properties": {
      "url": {
        "title": "Url",
        "type": "string"
      },
      "detail": {
        "title": "Detail",
        "type": "string"
      },
      "format": {
        "title": "Format",
        "type": "string"
      }
    },
    "required": [
      "url"
    ],
    "title": "ChatCompletionImageUrlObject",
    "type": "object"
  },
  "ChatCompletionMessageToolCall": {
    "properties": {},
    "additionalProperties": true,
    "type": "object",
    "title": "ChatCompletionMessageToolCall"
  },
  "ChatCompletionReasoningItem": {
    "description": "Represents an OpenAI Responses API reasoning item for round-tripping in conversation history.",
    "properties": {
      "type": {
        "const": "reasoning",
        "title": "Type",
        "type": "string"
      },
      "id": {
        "title": "Id",
        "type": "string"
      },
      "encrypted_content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Encrypted Content"
      },
      "summary": {
        "items": {
          "$ref": "#/components/schemas/ChatCompletionReasoningSummaryTextBlock"
        },
        "title": "Summary",
        "type": "array"
      }
    },
    "required": [
      "type"
    ],
    "title": "ChatCompletionReasoningItem",
    "type": "object"
  },
  "ChatCompletionReasoningSummaryTextBlock": {
    "properties": {
      "type": {
        "const": "summary_text",
        "title": "Type",
        "type": "string"
      },
      "text": {
        "title": "Text",
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "title": "ChatCompletionReasoningSummaryTextBlock",
    "type": "object"
  },
  "ChatCompletionRedactedThinkingBlock": {
    "properties": {
      "type": {
        "const": "redacted_thinking",
        "title": "Type",
        "type": "string"
      },
      "data": {
        "title": "Data",
        "type": "string"
      },
      "cache_control": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/ChatCompletionCachedContent"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Control"
      }
    },
    "required": [
      "type"
    ],
    "title": "ChatCompletionRedactedThinkingBlock",
    "type": "object"
  },
  "ChatCompletionSystemMessage": {
    "properties": {
      "role": {
        "const": "system",
        "title": "Role",
        "type": "string"
      },
      "content": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "items": {},
            "type": "array"
          }
        ],
        "title": "Content"
      },
      "name": {
        "title": "Name",
        "type": "string"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      }
    },
    "required": [
      "role",
      "content"
    ],
    "title": "ChatCompletionSystemMessage",
    "type": "object"
  },
  "ChatCompletionTextObject": {
    "properties": {
      "type": {
        "const": "text",
        "title": "Type",
        "type": "string"
      },
      "text": {
        "title": "Text",
        "type": "string"
      },
      "cache_control": {
        "$ref": "#/components/schemas/ChatCompletionCachedContent"
      }
    },
    "required": [
      "type",
      "text"
    ],
    "title": "ChatCompletionTextObject",
    "type": "object"
  },
  "ChatCompletionThinkingBlock": {
    "properties": {
      "type": {
        "const": "thinking",
        "title": "Type",
        "type": "string"
      },
      "thinking": {
        "title": "Thinking",
        "type": "string"
      },
      "signature": {
        "title": "Signature",
        "type": "string"
      },
      "cache_control": {
        "anyOf": [
          {
            "additionalProperties": true,
            "type": "object"
          },
          {
            "$ref": "#/components/schemas/ChatCompletionCachedContent"
          },
          {
            "type": "null"
          }
        ],
        "title": "Cache Control"
      }
    },
    "required": [
      "type"
    ],
    "title": "ChatCompletionThinkingBlock",
    "type": "object"
  },
  "ChatCompletionTokenLogprob": {
    "properties": {
      "token": {
        "type": "string",
        "title": "Token"
      },
      "bytes": {
        "anyOf": [
          {
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          {
            "type": "null"
          }
        ],
        "title": "Bytes"
      },
      "logprob": {
        "type": "number",
        "title": "Logprob"
      },
      "top_logprobs": {
        "items": {
          "$ref": "#/components/schemas/TopLogprob"
        },
        "type": "array",
        "title": "Top Logprobs"
      }
    },
    "additionalProperties": true,
    "type": "object",
    "required": [
      "token",
      "logprob",
      "top_logprobs"
    ],
    "title": "ChatCompletionTokenLogprob"
  },
  "ChatCompletionToolCallChunk": {
    "properties": {
      "id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "title": "Id"
      },
      "type": {
        "type": "string",
        "const": "function",
        "title": "Type"
      },
      "function": {
        "$ref": "#/components/schemas/ChatCompletionToolCallFunctionChunk"
      },
      "index": {
        "type": "integer",
        "title": "Index"
      }
    },
    "type": "object",
    "required": [
      "id",
      "type",
      "function",
      "index"
    ],
    "title": "ChatCompletionToolCallChunk"
  }
}