{
  "components": {
    "schemas": {
      "AddAssistantContentRequest": {
        "properties": {
          "chunks": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Chunk"
            },
            "title": "Chunks",
            "type": "array"
          }
        },
        "title": "AddAssistantContentRequest",
        "type": "object"
      },
      "AddKnowledgeBaseLinkBody": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "AddKnowledgeBaseLinkBody",
        "type": "object"
      },
      "AddProjectMembersBody": {
        "properties": {
          "role": {
            "default": "MEMBER",
            "title": "Role",
            "type": "string"
          },
          "user_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "User Ids",
            "type": "array"
          }
        },
        "required": [
          "user_ids"
        ],
        "title": "AddProjectMembersBody",
        "type": "object"
      },
      "AddProjectMembersResponse": {
        "properties": {
          "added": {
            "items": {
              "$ref": "#/components/schemas/ProjectMemberResponse"
            },
            "title": "Added",
            "type": "array"
          },
          "failed": {
            "items": {
              "$ref": "#/components/schemas/FailedProjectMemberResponse"
            },
            "title": "Failed",
            "type": "array"
          }
        },
        "required": [
          "added",
          "failed"
        ],
        "title": "AddProjectMembersResponse",
        "type": "object"
      },
      "AdminAuditLogResponse": {
        "properties": {
          "action_type": {
            "title": "Action Type",
            "type": "string"
          },
          "actor_email": {
            "title": "Actor Email",
            "type": "string"
          },
          "actor_first_name": {
            "title": "Actor First Name",
            "type": "string"
          },
          "actor_last_name": {
            "title": "Actor Last Name",
            "type": "string"
          },
          "actor_user_account_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Actor User Account Id"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "new_value": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "New Value"
          },
          "previous_value": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous Value"
          },
          "resource_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resource Id"
          },
          "tenant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tenant Id"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "actor_user_account_id",
          "actor_first_name",
          "actor_last_name",
          "actor_email",
          "action_type",
          "resource_id",
          "previous_value",
          "new_value",
          "created_at"
        ],
        "title": "AdminAuditLogResponse",
        "type": "object"
      },
      "AdoptionManifestBody": {
        "properties": {
          "manifest_url": {
            "title": "Manifest Url",
            "type": "string"
          }
        },
        "required": [
          "manifest_url"
        ],
        "title": "AdoptionManifestBody",
        "type": "object"
      },
      "AdoptionMatchResponse": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "string"
          },
          "entity_name": {
            "title": "Entity Name",
            "type": "string"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "tenant_name": {
            "title": "Tenant Name",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "tenant_name",
          "type",
          "entity_id",
          "entity_name",
          "package_id",
          "status"
        ],
        "title": "AdoptionMatchResponse",
        "type": "object"
      },
      "AdoptionScanResponse": {
        "properties": {
          "matches": {
            "items": {
              "$ref": "#/components/schemas/AdoptionMatchResponse"
            },
            "title": "Matches",
            "type": "array"
          }
        },
        "required": [
          "matches"
        ],
        "title": "AdoptionScanResponse",
        "type": "object"
      },
      "AiCodeBoxBuildRequestBody": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "externalServices": {
            "items": {
              "type": "string"
            },
            "title": "Externalservices",
            "type": "array"
          },
          "inputSchema": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Inputschema",
            "type": "object"
          },
          "skillFilename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skillfilename"
          },
          "stepId": {
            "title": "Stepid",
            "type": "string"
          }
        },
        "required": [
          "stepId",
          "description"
        ],
        "title": "AiCodeBoxBuildRequestBody",
        "type": "object"
      },
      "AiCodeBoxBuildResponse": {
        "properties": {
          "jobId": {
            "title": "Jobid",
            "type": "string"
          },
          "skillFilename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skillfilename"
          }
        },
        "required": [
          "jobId"
        ],
        "title": "AiCodeBoxBuildResponse",
        "type": "object"
      },
      "AllowedAvatarContentTypesResponse": {
        "properties": {
          "allowed_content_types": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Content Types",
            "type": "array"
          }
        },
        "required": [
          "allowed_content_types"
        ],
        "title": "AllowedAvatarContentTypesResponse",
        "type": "object"
      },
      "AnthropicCompatibleModel": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "max_input_tokens": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Input Tokens"
          },
          "type": {
            "default": "model",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "display_name",
          "created_at"
        ],
        "title": "AnthropicCompatibleModel",
        "type": "object"
      },
      "AnthropicCompatibleModelsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/AnthropicCompatibleModel"
            },
            "title": "Data",
            "type": "array"
          },
          "first_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "First Id"
          },
          "has_more": {
            "default": false,
            "title": "Has More",
            "type": "boolean"
          },
          "last_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Id"
          }
        },
        "required": [
          "data"
        ],
        "title": "AnthropicCompatibleModelsResponse",
        "type": "object"
      },
      "AnthropicMessagesRequest": {
        "additionalProperties": true,
        "properties": {
          "max_tokens": {
            "title": "Max Tokens",
            "type": "integer"
          },
          "messages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Messages",
            "type": "array"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "stream": {
            "default": false,
            "title": "Stream",
            "type": "boolean"
          }
        },
        "required": [
          "model",
          "messages",
          "max_tokens"
        ],
        "title": "AnthropicMessagesRequest",
        "type": "object"
      },
      "AnthropicMessagesResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "AnthropicMessagesResponse",
        "type": "object"
      },
      "ApiTokenExpiryPresetResponse": {
        "properties": {
          "default": {
            "title": "Default",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label_key": {
            "title": "Label Key",
            "type": "string"
          }
        },
        "required": [
          "id",
          "label_key",
          "default"
        ],
        "title": "ApiTokenExpiryPresetResponse",
        "type": "object"
      },
      "ApiTokenScopeResponse": {
        "properties": {
          "default_on": {
            "title": "Default On",
            "type": "boolean"
          },
          "description_key": {
            "title": "Description Key",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label_key": {
            "title": "Label Key",
            "type": "string"
          },
          "sensitive": {
            "title": "Sensitive",
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "label_key",
          "description_key",
          "sensitive",
          "default_on"
        ],
        "title": "ApiTokenScopeResponse",
        "type": "object"
      },
      "ApiTokenScopesResponse": {
        "properties": {
          "expiry_presets": {
            "items": {
              "$ref": "#/components/schemas/ApiTokenExpiryPresetResponse"
            },
            "title": "Expiry Presets",
            "type": "array"
          },
          "scopes": {
            "items": {
              "$ref": "#/components/schemas/ApiTokenScopeResponse"
            },
            "title": "Scopes",
            "type": "array"
          }
        },
        "required": [
          "scopes",
          "expiry_presets"
        ],
        "title": "ApiTokenScopesResponse",
        "type": "object"
      },
      "ApiTokensResponse": {
        "properties": {
          "tokens": {
            "items": {
              "$ref": "#/components/schemas/ApiTokensTokenResponse"
            },
            "title": "Tokens",
            "type": "array"
          }
        },
        "required": [
          "tokens"
        ],
        "title": "ApiTokensResponse",
        "type": "object"
      },
      "ApiTokensTokenResponse": {
        "properties": {
          "allowed_assistant_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Assistant Ids"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Expires At"
          },
          "external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "External Services"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "scope_names": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Scope Names"
          },
          "value": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Value"
          }
        },
        "required": [
          "id",
          "description",
          "created_at"
        ],
        "title": "ApiTokensTokenResponse",
        "type": "object"
      },
      "ApproveExternalServicesRequest": {
        "properties": {
          "approved_external_services": {
            "items": {
              "type": "string"
            },
            "title": "Approved External Services",
            "type": "array"
          }
        },
        "required": [
          "approved_external_services"
        ],
        "title": "ApproveExternalServicesRequest",
        "type": "object"
      },
      "AssistantActionResult": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error"
          },
          "success": {
            "title": "Success",
            "type": "boolean"
          }
        },
        "required": [
          "assistant_id",
          "success"
        ],
        "title": "AssistantActionResult",
        "type": "object"
      },
      "AssistantCustomFunction": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "function_name": {
            "title": "Function Name",
            "type": "string"
          },
          "output_schema": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Output Schema"
          },
          "parameters": {
            "additionalProperties": true,
            "title": "Parameters",
            "type": "object"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Filename"
          }
        },
        "required": [
          "function_name",
          "description",
          "parameters"
        ],
        "title": "AssistantCustomFunction",
        "type": "object"
      },
      "AssistantCustomFunctionsResponse": {
        "properties": {
          "functions": {
            "items": {
              "$ref": "#/components/schemas/AssistantCustomFunction"
            },
            "title": "Functions",
            "type": "array"
          }
        },
        "required": [
          "functions"
        ],
        "title": "AssistantCustomFunctionsResponse",
        "type": "object"
      },
      "AssistantDataRequestItem": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Content"
          },
          "embedding": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Embedding"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Metadata"
          }
        },
        "title": "AssistantDataRequestItem",
        "type": "object"
      },
      "AssistantDataResponseItem": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          }
        },
        "required": [
          "id",
          "content",
          "metadata"
        ],
        "title": "AssistantDataResponseItem",
        "type": "object"
      },
      "AssistantFile": {
        "properties": {
          "content_type": {
            "default": "",
            "title": "Content Type",
            "type": "string"
          },
          "description": {
            "default": "",
            "title": "Description",
            "type": "string"
          },
          "filename": {
            "default": "",
            "title": "Filename",
            "type": "string"
          },
          "functions_schema": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions Schema"
          },
          "id": {
            "default": "",
            "title": "Id",
            "type": "string"
          },
          "protected_url": {
            "default": "",
            "title": "Protected Url",
            "type": "string"
          },
          "status": {
            "default": "",
            "title": "Status",
            "type": "string"
          },
          "type": {
            "default": "",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssistantFile",
        "type": "object"
      },
      "AssistantFileList": {
        "items": {
          "$ref": "#/components/schemas/AssistantFile"
        },
        "title": "AssistantFileList",
        "type": "array"
      },
      "AssistantFileMessageResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File Id"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id"
        ],
        "title": "AssistantFileMessageResponse",
        "type": "object"
      },
      "AssistantFileUploadResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "file_id": {
            "title": "File Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "file_id",
          "assistant_id"
        ],
        "title": "AssistantFileUploadResponse",
        "type": "object"
      },
      "AssistantFilterMode": {
        "enum": [
          "specific",
          "all_assistants"
        ],
        "title": "AssistantFilterMode",
        "type": "string"
      },
      "AssistantMessageResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id"
        ],
        "title": "AssistantMessageResponse",
        "type": "object"
      },
      "AssistantPublicResponse": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "catalog_package_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Id"
          },
          "catalog_package_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Version"
          },
          "delegation_assistant_ids": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Delegation Assistant Ids",
            "type": "array"
          },
          "deleted_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Deleted At"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "has_skills": {
            "title": "Has Skills",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "is_collaborator": {
            "title": "Is Collaborator",
            "type": "boolean"
          },
          "is_favourite": {
            "title": "Is Favourite",
            "type": "boolean"
          },
          "is_owner": {
            "title": "Is Owner",
            "type": "boolean"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owner_name": {
            "title": "Owner Name",
            "type": "string"
          },
          "owner_type": {
            "enum": [
              "individual",
              "team"
            ],
            "title": "Owner Type",
            "type": "string"
          },
          "prompt_starters": {
            "items": {
              "type": "string"
            },
            "title": "Prompt Starters",
            "type": "array"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          },
          "visibility": {
            "title": "Visibility",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "instructions",
          "visibility",
          "is_owner",
          "is_collaborator",
          "is_favourite",
          "prompt_starters",
          "owner_name",
          "owner_type",
          "has_skills",
          "type"
        ],
        "title": "AssistantPublicResponse",
        "type": "object"
      },
      "AssistantPublicResponseList": {
        "items": {
          "$ref": "#/components/schemas/AssistantPublicResponse"
        },
        "title": "AssistantPublicResponseList",
        "type": "array"
      },
      "AssistantResponse": {
        "properties": {
          "allowed_external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed External Services"
          },
          "allowed_functions": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Functions"
          },
          "approved_external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Approved External Services"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "catalog_package_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Id"
          },
          "catalog_package_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Version"
          },
          "content_retrieving_strategy": {
            "$ref": "#/components/schemas/ContentRetrievingStrategy"
          },
          "delegations": {
            "items": {
              "$ref": "#/components/schemas/DelegationResponse"
            },
            "title": "Delegations",
            "type": "array"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "disabled": {
            "title": "Disabled",
            "type": "boolean"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "is_owner": {
            "title": "Is Owner",
            "type": "boolean"
          },
          "llm_args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Llm Args"
          },
          "mcp_servers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/McpServer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Mcp Servers"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "prompt_starters": {
            "items": {
              "type": "string"
            },
            "title": "Prompt Starters",
            "type": "array"
          },
          "secrets": {
            "items": {
              "type": "string"
            },
            "title": "Secrets",
            "type": "array"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          },
          "use_system_prompt": {
            "title": "Use System Prompt",
            "type": "boolean"
          },
          "variables": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Variables",
            "type": "object"
          },
          "visibility": {
            "$ref": "#/components/schemas/ModelVisibilityResponse"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "instructions",
          "visibility",
          "use_system_prompt",
          "prompt_starters",
          "is_owner",
          "content_retrieving_strategy",
          "variables",
          "secrets",
          "type",
          "delegations",
          "disabled"
        ],
        "title": "AssistantResponse",
        "type": "object"
      },
      "AssistantSearchResult": {
        "properties": {
          "assistant_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Type"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_owner": {
            "title": "Is Owner",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "type": {
            "const": "assistant",
            "default": "assistant",
            "title": "Type",
            "type": "string"
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "is_owner"
        ],
        "title": "AssistantSearchResult",
        "type": "object"
      },
      "AssistantSkillResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "skill_id": {
            "title": "Skill Id",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id",
          "skill_id"
        ],
        "title": "AssistantSkillResponse",
        "type": "object"
      },
      "AssistantType": {
        "enum": [
          "ASSISTANT",
          "CANVAS",
          "MICRO_APP",
          "WORKFLOW"
        ],
        "title": "AssistantType",
        "type": "string"
      },
      "AssistantUIUrlResponse": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "AssistantUIUrlResponse",
        "type": "object"
      },
      "AssistantUploadImageResponse": {
        "properties": {
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "protected_url": {
            "title": "Protected Url",
            "type": "string"
          }
        },
        "required": [
          "content_type",
          "protected_url"
        ],
        "title": "AssistantUploadImageResponse",
        "type": "object"
      },
      "AssistantUserDataMessageResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id",
          "key"
        ],
        "title": "AssistantUserDataMessageResponse",
        "type": "object"
      },
      "AssistantUserDataResponse": {
        "properties": {
          "data": {
            "default": null,
            "title": "Data"
          }
        },
        "title": "AssistantUserDataResponse",
        "type": "object"
      },
      "AssistantUserTokenRequest": {
        "properties": {
          "assistant_ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Ui Url"
          },
          "consented_external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Consented External Services"
          },
          "embed_source": {
            "$ref": "#/components/schemas/EmbedSource",
            "default": "app"
          }
        },
        "title": "AssistantUserTokenRequest",
        "type": "object"
      },
      "AssistantUserTokenResponse": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "expiry": {
            "title": "Expiry",
            "type": "integer"
          },
          "user": {
            "$ref": "#/components/schemas/UserResponse"
          }
        },
        "required": [
          "access_token",
          "expiry",
          "user",
          "assistant_id"
        ],
        "title": "AssistantUserTokenResponse",
        "type": "object"
      },
      "AssistantUsingSkillResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "AssistantUsingSkillResponse",
        "type": "object"
      },
      "AssistantUsingSkillResponseList": {
        "items": {
          "$ref": "#/components/schemas/AssistantUsingSkillResponse"
        },
        "title": "AssistantUsingSkillResponseList",
        "type": "array"
      },
      "AssistantVisibilityRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "AssistantVisibilityRequest",
        "type": "object"
      },
      "AsyncJobResponse": {
        "properties": {
          "run_protected_url": {
            "title": "Run Protected Url",
            "type": "string"
          }
        },
        "required": [
          "run_protected_url"
        ],
        "title": "AsyncJobResponse",
        "type": "object"
      },
      "AsyncJobStatus": {
        "enum": [
          "IN_QUEUE",
          "IN_PROGRESS",
          "COMPLETED",
          "FAILED"
        ],
        "title": "AsyncJobStatus",
        "type": "string"
      },
      "AudioModelResponse": {
        "properties": {
          "capabilities_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Capabilities Tags"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "displayName": {
            "title": "Displayname",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "info_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Info Tags"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "release_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Release Date"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tags"
          },
          "usage_pricing": {
            "additionalProperties": true,
            "default": {},
            "title": "Usage Pricing",
            "type": "object"
          }
        },
        "required": [
          "id",
          "provider",
          "displayName"
        ],
        "title": "AudioModelResponse",
        "type": "object"
      },
      "AudioModelResponseList": {
        "items": {
          "$ref": "#/components/schemas/AudioModelResponse"
        },
        "title": "AudioModelResponseList",
        "type": "array"
      },
      "AudioTranscriptionResponse": {
        "properties": {
          "data": {
            "additionalProperties": true,
            "title": "Data",
            "type": "object"
          },
          "transcript": {
            "title": "Transcript",
            "type": "string"
          }
        },
        "required": [
          "transcript",
          "data"
        ],
        "title": "AudioTranscriptionResponse",
        "type": "object"
      },
      "AuditLogsListResponse": {
        "properties": {
          "logs": {
            "items": {
              "$ref": "#/components/schemas/AdminAuditLogResponse"
            },
            "title": "Logs",
            "type": "array"
          },
          "page": {
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "title": "Page Size",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "logs",
          "total",
          "page",
          "page_size"
        ],
        "title": "AuditLogsListResponse",
        "type": "object"
      },
      "AuthTokenResourcesRights": {
        "properties": {
          "api_resources": {
            "items": {
              "maxItems": 2,
              "minItems": 2,
              "prefixItems": [
                {
                  "type": "string"
                },
                {
                  "items": {
                    "$ref": "#/components/schemas/ResourceRight"
                  },
                  "type": "array"
                }
              ],
              "type": "array"
            },
            "title": "Api Resources",
            "type": "array"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          }
        },
        "required": [
          "api_resources",
          "external_services"
        ],
        "title": "AuthTokenResourcesRights",
        "type": "object"
      },
      "AutomationPayload": {
        "properties": {
          "function": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Function"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Message"
          },
          "parameters": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parameters"
          },
          "type": {
            "$ref": "#/components/schemas/AutomationPayloadType"
          }
        },
        "required": [
          "type"
        ],
        "title": "AutomationPayload",
        "type": "object"
      },
      "AutomationPayloadRequest": {
        "properties": {
          "function": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Function"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Message"
          },
          "parameters": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parameters"
          },
          "type": {
            "$ref": "#/components/schemas/AutomationPayloadType"
          }
        },
        "required": [
          "type"
        ],
        "title": "AutomationPayloadRequest",
        "type": "object"
      },
      "AutomationPayloadType": {
        "enum": [
          "function",
          "conversation"
        ],
        "title": "AutomationPayloadType",
        "type": "string"
      },
      "AutomationResponse": {
        "properties": {
          "assistant_avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Avatar Url"
          },
          "assistant_description": {
            "title": "Assistant Description",
            "type": "string"
          },
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "assistant_name": {
            "title": "Assistant Name",
            "type": "string"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_run_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Run Date"
          },
          "last_run_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Run Status"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "payload": {
            "$ref": "#/components/schemas/AutomationPayload"
          },
          "runs_count": {
            "title": "Runs Count",
            "type": "integer"
          },
          "schedules": {
            "$ref": "#/components/schemas/SchedulesResponse"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "assistant_id",
          "name",
          "payload",
          "schedules",
          "external_services",
          "created_at",
          "updated_at",
          "runs_count",
          "assistant_name",
          "assistant_description"
        ],
        "title": "AutomationResponse",
        "type": "object"
      },
      "AutomationResponseList": {
        "items": {
          "$ref": "#/components/schemas/AutomationResponse"
        },
        "title": "AutomationResponseList",
        "type": "array"
      },
      "AutomationRunResponse": {
        "properties": {
          "automation_id": {
            "title": "Automation Id",
            "type": "string"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "function_progress_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Progress Key"
          },
          "function_progress_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Progress Url"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "result": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Result"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "automation_id",
          "status",
          "result",
          "function_progress_key",
          "function_progress_url",
          "created_at",
          "updated_at"
        ],
        "title": "AutomationRunResponse",
        "type": "object"
      },
      "AutomationRunResponseList": {
        "items": {
          "$ref": "#/components/schemas/AutomationRunResponse"
        },
        "title": "AutomationRunResponseList",
        "type": "array"
      },
      "AvailableFunctionsResponse": {
        "items": {
          "type": "string"
        },
        "title": "AvailableFunctionsResponse",
        "type": "array"
      },
      "AvailableGroupResponse": {
        "properties": {
          "exists_locally": {
            "title": "Exists Locally",
            "type": "boolean"
          },
          "is_required": {
            "title": "Is Required",
            "type": "boolean"
          },
          "is_selected": {
            "title": "Is Selected",
            "type": "boolean"
          },
          "member_count": {
            "title": "Member Count",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "remote_id": {
            "title": "Remote Id",
            "type": "string"
          }
        },
        "required": [
          "remote_id",
          "name",
          "member_count",
          "is_selected",
          "exists_locally",
          "is_required"
        ],
        "title": "AvailableGroupResponse",
        "type": "object"
      },
      "AvailableGroupsResponse": {
        "properties": {
          "groups": {
            "items": {
              "$ref": "#/components/schemas/AvailableGroupResponse"
            },
            "title": "Groups",
            "type": "array"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "groups",
          "total",
          "limit",
          "offset"
        ],
        "title": "AvailableGroupsResponse",
        "type": "object"
      },
      "BackendConfigBody": {
        "additionalProperties": true,
        "properties": {},
        "title": "BackendConfigBody",
        "type": "object"
      },
      "BackendConfigResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "BackendConfigResponse",
        "type": "object"
      },
      "BrowseSourceBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "default": {},
            "title": "Config",
            "type": "object"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Cursor"
          },
          "parent_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parent Path"
          }
        },
        "title": "BrowseSourceBody",
        "type": "object"
      },
      "BuildSkillAsyncResponse": {
        "properties": {
          "function_progress_url": {
            "title": "Function Progress Url",
            "type": "string"
          },
          "run_protected_url": {
            "title": "Run Protected Url",
            "type": "string"
          }
        },
        "required": [
          "run_protected_url",
          "function_progress_url"
        ],
        "title": "BuildSkillAsyncResponse",
        "type": "object"
      },
      "BuildSkillRequest": {
        "properties": {
          "conversation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Conversation that scopes generated files and the build session. When omitted, files attach to the assistant.",
            "title": "Conversation Id"
          },
          "external_services": {
            "default": [],
            "description": "List of external services the skill needs",
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "input_files": {
            "default": [],
            "description": "List of input files for the skill builder",
            "items": {
              "type": "string"
            },
            "title": "Input Files",
            "type": "array"
          },
          "instructions": {
            "description": "Instructions for building the skill",
            "title": "Instructions",
            "type": "string"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Existing skill filename to edit (for edit mode)",
            "title": "Skill Filename"
          },
          "skill_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Short descriptive name for the skill (3-5 words)",
            "title": "Skill Name"
          }
        },
        "required": [
          "instructions"
        ],
        "title": "BuildSkillRequest",
        "type": "object"
      },
      "BulkAssistantActionResponse": {
        "properties": {
          "results": {
            "items": {
              "$ref": "#/components/schemas/AssistantActionResult"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results"
        ],
        "title": "BulkAssistantActionResponse",
        "type": "object"
      },
      "BulkDeleteConversationsRequest": {
        "properties": {
          "conversation_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Conversation Ids",
            "type": "array"
          }
        },
        "required": [
          "conversation_ids"
        ],
        "title": "BulkDeleteConversationsRequest",
        "type": "object"
      },
      "BulkDeleteConversationsResponse": {
        "items": {
          "format": "uuid",
          "type": "string"
        },
        "title": "BulkDeleteConversationsResponse",
        "type": "array"
      },
      "BulkDisableAssistantBody": {
        "properties": {
          "assistant_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Assistant Ids",
            "type": "array"
          },
          "reason": {
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "assistant_ids",
          "reason"
        ],
        "title": "BulkDisableAssistantBody",
        "type": "object"
      },
      "BulkEnableAssistantBody": {
        "properties": {
          "assistant_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Assistant Ids",
            "type": "array"
          }
        },
        "required": [
          "assistant_ids"
        ],
        "title": "BulkEnableAssistantBody",
        "type": "object"
      },
      "BulkTransferAssistantOwnershipBody": {
        "properties": {
          "assistant_ids": {
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Assistant Ids",
            "type": "array"
          },
          "owner_team_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner Team Id"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner User Id"
          }
        },
        "required": [
          "assistant_ids"
        ],
        "title": "BulkTransferAssistantOwnershipBody",
        "type": "object"
      },
      "BulkUpdateAssistantDataRequest": {
        "properties": {
          "metadata": {
            "additionalProperties": true,
            "default": {},
            "title": "Metadata",
            "type": "object"
          },
          "where": {
            "additionalProperties": true,
            "default": {},
            "title": "Where",
            "type": "object"
          }
        },
        "title": "BulkUpdateAssistantDataRequest",
        "type": "object"
      },
      "BulkUpdateExternalServiceVisibilityRequest": {
        "properties": {
          "services": {
            "items": {
              "$ref": "#/components/schemas/ServiceVisibilityUpdate"
            },
            "title": "Services",
            "type": "array"
          }
        },
        "required": [
          "services"
        ],
        "title": "BulkUpdateExternalServiceVisibilityRequest",
        "type": "object"
      },
      "CanvasRequiredConsentResponse": {
        "properties": {
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "icon_url": {
            "title": "Icon Url",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "display_name",
          "icon_url"
        ],
        "title": "CanvasRequiredConsentResponse",
        "type": "object"
      },
      "CanvasRequiredConsentResponseList": {
        "items": {
          "$ref": "#/components/schemas/CanvasRequiredConsentResponse"
        },
        "title": "CanvasRequiredConsentResponseList",
        "type": "array"
      },
      "CatalogPackageResponse": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "forra_version": {
            "title": "Forra Version",
            "type": "string"
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Icon Url"
          },
          "installed_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Installed Version"
          },
          "latest_compatible_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Latest Compatible Version"
          },
          "name": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Name",
            "type": "object"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "type": {
            "enum": [
              "application",
              "skill"
            ],
            "title": "Type",
            "type": "string"
          },
          "versions": {
            "items": {
              "$ref": "#/components/schemas/PackageVersionResponse"
            },
            "title": "Versions",
            "type": "array"
          }
        },
        "required": [
          "package_id",
          "type",
          "name",
          "versions",
          "forra_version"
        ],
        "title": "CatalogPackageResponse",
        "type": "object"
      },
      "CatalogPackageSummaryResponse": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Icon Url"
          },
          "installed_entity_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Installed Entity Id"
          },
          "installed_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Installed Version"
          },
          "latest_compatible_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Latest Compatible Version"
          },
          "name": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Name",
            "type": "object"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "type": {
            "enum": [
              "application",
              "skill"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "package_id",
          "type",
          "name"
        ],
        "title": "CatalogPackageSummaryResponse",
        "type": "object"
      },
      "CatalogPackageSummaryResponseList": {
        "items": {
          "$ref": "#/components/schemas/CatalogPackageSummaryResponse"
        },
        "title": "CatalogPackageSummaryResponseList",
        "type": "array"
      },
      "ChatCompletionBody": {
        "properties": {
          "allowed_tools": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Tools"
          },
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "context": {
            "$ref": "#/components/schemas/ConversationContext",
            "default": {
              "allowed_functions": null,
              "model_tag": null,
              "prompt": null,
              "skip_assistant_instructions": false
            }
          },
          "function_permissions": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/FunctionPermission"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Function Permissions"
          },
          "inject_system_prompt": {
            "default": true,
            "title": "Inject System Prompt",
            "type": "boolean"
          },
          "llm_args": {
            "additionalProperties": true,
            "default": {},
            "title": "Llm Args",
            "type": "object"
          },
          "messages": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "title": "Messages",
            "type": "array"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "response_format": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Response Format"
          },
          "response_interface": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Response Interface"
          },
          "skill_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Ids"
          },
          "stream": {
            "default": false,
            "title": "Stream",
            "type": "boolean"
          }
        },
        "required": [
          "messages",
          "model"
        ],
        "title": "ChatCompletionBody",
        "type": "object"
      },
      "ChatCompletionResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "ChatCompletionResponse",
        "type": "object"
      },
      "Chunk": {
        "properties": {
          "chunk_to_embed": {
            "title": "Chunk To Embed",
            "type": "string"
          },
          "content_to_return": {
            "title": "Content To Return",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChunkMetadata"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "chunk_to_embed",
          "content_to_return"
        ],
        "title": "Chunk",
        "type": "object"
      },
      "ChunkDocumentResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "ChunkDocumentResponse",
        "type": "object"
      },
      "ChunkMetadata": {
        "additionalProperties": true,
        "properties": {
          "hierarchy": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Hierarchy"
          },
          "line_end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Line End"
          },
          "line_start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Line Start"
          },
          "page_end": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Page End"
          },
          "page_start": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Page Start"
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChunkMetadata"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "ChunkMetadata",
        "type": "object"
      },
      "CodingAgentConfigExportQuery": {
        "properties": {
          "model_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model Ids"
          },
          "only_favorites": {
            "default": false,
            "title": "Only Favorites",
            "type": "boolean"
          }
        },
        "title": "CodingAgentConfigExportQuery",
        "type": "object"
      },
      "CodingAgentConfigExportResponse": {
        "additionalProperties": true,
        "title": "CodingAgentConfigExportResponse",
        "type": "object"
      },
      "ConfigValidationResponse": {
        "properties": {
          "valid": {
            "title": "Valid",
            "type": "boolean"
          },
          "warnings": {
            "items": {
              "$ref": "#/components/schemas/ValidationWarning"
            },
            "title": "Warnings",
            "type": "array"
          }
        },
        "required": [
          "valid"
        ],
        "title": "ConfigValidationResponse",
        "type": "object"
      },
      "ConnectedServiceResponse": {
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "ConnectedServiceResponse",
        "type": "object"
      },
      "ConnectedServicesResponse": {
        "properties": {
          "services": {
            "items": {
              "$ref": "#/components/schemas/ConnectedServiceResponse"
            },
            "title": "Services",
            "type": "array"
          }
        },
        "required": [
          "services"
        ],
        "title": "ConnectedServicesResponse",
        "type": "object"
      },
      "ContentRetrievingStrategy": {
        "properties": {
          "filter_results": {
            "title": "Filter Results",
            "type": "boolean"
          },
          "keyword_search_count": {
            "title": "Keyword Search Count",
            "type": "integer"
          },
          "max_result_count": {
            "title": "Max Result Count",
            "type": "integer"
          },
          "min_score": {
            "title": "Min Score",
            "type": "number"
          }
        },
        "title": "ContentRetrievingStrategy",
        "type": "object"
      },
      "ContractInfoResponse": {
        "properties": {
          "admin_fee_percentage": {
            "default": 0,
            "title": "Admin Fee Percentage",
            "type": "number"
          },
          "allowed_providers": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Providers"
          },
          "harvest_client_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Harvest Client Id"
          },
          "monthly_additional_fees": {
            "default": 0,
            "title": "Monthly Additional Fees",
            "type": "number"
          },
          "price_per_seat": {
            "default": 0,
            "title": "Price Per Seat",
            "type": "number"
          },
          "required_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Required Tags"
          },
          "seat_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Seat Limit"
          },
          "token_monthly_budget": {
            "default": 0,
            "title": "Token Monthly Budget",
            "type": "number"
          }
        },
        "title": "ContractInfoResponse",
        "type": "object"
      },
      "ControlTowerEntityStatus": {
        "enum": [
          "active",
          "inactive",
          "disabled",
          "deleted"
        ],
        "title": "ControlTowerEntityStatus",
        "type": "string"
      },
      "ControlTowerExportQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "ControlTowerExportQuery",
        "type": "object"
      },
      "ControlTowerKpisResponse": {
        "properties": {
          "active_assistants": {
            "title": "Active Assistants",
            "type": "integer"
          },
          "active_assistants_previous": {
            "title": "Active Assistants Previous",
            "type": "integer"
          },
          "active_users": {
            "title": "Active Users",
            "type": "integer"
          },
          "active_users_previous": {
            "title": "Active Users Previous",
            "type": "integer"
          },
          "conversations": {
            "title": "Conversations",
            "type": "integer"
          },
          "conversations_previous": {
            "title": "Conversations Previous",
            "type": "integer"
          },
          "monthly_budget": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Budget"
          },
          "monthly_cost": {
            "title": "Monthly Cost",
            "type": "number"
          },
          "monthly_cost_previous": {
            "title": "Monthly Cost Previous",
            "type": "number"
          },
          "total_assistants": {
            "title": "Total Assistants",
            "type": "integer"
          }
        },
        "required": [
          "monthly_cost",
          "monthly_cost_previous",
          "monthly_budget",
          "active_assistants",
          "active_assistants_previous",
          "total_assistants",
          "active_users",
          "active_users_previous",
          "conversations",
          "conversations_previous"
        ],
        "title": "ControlTowerKpisResponse",
        "type": "object"
      },
      "ControlTowerModelItemResponse": {
        "properties": {
          "conversation_count": {
            "title": "Conversation Count",
            "type": "integer"
          },
          "model_name": {
            "title": "Model Name",
            "type": "string"
          },
          "percent_of_total": {
            "title": "Percent Of Total",
            "type": "number"
          },
          "provider_key": {
            "title": "Provider Key",
            "type": "string"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "required": [
          "model_name",
          "provider_key",
          "conversation_count",
          "total_cost",
          "total_tokens",
          "percent_of_total"
        ],
        "title": "ControlTowerModelItemResponse",
        "type": "object"
      },
      "ControlTowerModelsQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "limit": {
            "default": 15,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          },
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Search"
          },
          "sort_by": {
            "default": "cost",
            "enum": [
              "model",
              "provider",
              "conversations",
              "tokens",
              "cost",
              "percent_of_total"
            ],
            "title": "Sort By",
            "type": "string"
          },
          "sort_order": {
            "default": "desc",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Sort Order",
            "type": "string"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "ControlTowerModelsQuery",
        "type": "object"
      },
      "ControlTowerModelsResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ControlTowerModelItemResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "title": "ControlTowerModelsResponse",
        "type": "object"
      },
      "ControlTowerOverviewItemDetailResponse": {
        "properties": {
          "assistant_type": {
            "title": "Assistant Type",
            "type": "string"
          },
          "automation_count": {
            "title": "Automation Count",
            "type": "integer"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "avg_cost_per_conversation": {
            "title": "Avg Cost Per Conversation",
            "type": "number"
          },
          "conversation_count": {
            "title": "Conversation Count",
            "type": "integer"
          },
          "cost": {
            "title": "Cost",
            "type": "number"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "created_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created By Name"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owner_avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Avatar Url"
          },
          "owner_email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Owner Email"
          },
          "owner_name": {
            "title": "Owner Name",
            "type": "string"
          },
          "owner_type": {
            "enum": [
              "individual",
              "team"
            ],
            "title": "Owner Type",
            "type": "string"
          },
          "skills": {
            "items": {
              "$ref": "#/components/schemas/SkillSummaryResponse"
            },
            "title": "Skills",
            "type": "array"
          },
          "status": {
            "$ref": "#/components/schemas/ControlTowerEntityStatus"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "user_count": {
            "title": "User Count",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "assistant_type",
          "avatar_url",
          "description",
          "owner_name",
          "owner_email",
          "owner_avatar_url",
          "owner_type",
          "created_by_name",
          "created_at",
          "updated_at",
          "conversation_count",
          "user_count",
          "cost",
          "avg_cost_per_conversation",
          "status",
          "instructions",
          "skills",
          "automation_count"
        ],
        "title": "ControlTowerOverviewItemDetailResponse",
        "type": "object"
      },
      "ControlTowerOverviewItemQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "ControlTowerOverviewItemQuery",
        "type": "object"
      },
      "ControlTowerOverviewItemResponse": {
        "properties": {
          "assistant_type": {
            "title": "Assistant Type",
            "type": "string"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "conversation_count": {
            "title": "Conversation Count",
            "type": "integer"
          },
          "cost": {
            "title": "Cost",
            "type": "number"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_active_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Active At"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owner_name": {
            "title": "Owner Name",
            "type": "string"
          },
          "owner_type": {
            "enum": [
              "individual",
              "team"
            ],
            "title": "Owner Type",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/ControlTowerEntityStatus"
          },
          "user_count": {
            "title": "User Count",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "assistant_type",
          "avatar_url",
          "owner_name",
          "owner_type",
          "conversation_count",
          "user_count",
          "cost",
          "last_active_at",
          "status"
        ],
        "title": "ControlTowerOverviewItemResponse",
        "type": "object"
      },
      "ControlTowerOverviewQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "limit": {
            "default": 7,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          },
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Search"
          },
          "sort_by": {
            "default": "cost",
            "enum": [
              "name",
              "owner",
              "users",
              "conversations",
              "cost",
              "last_active",
              "status"
            ],
            "title": "Sort By",
            "type": "string"
          },
          "sort_order": {
            "default": "desc",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Sort Order",
            "type": "string"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "ControlTowerOverviewQuery",
        "type": "object"
      },
      "ControlTowerOverviewResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/ControlTowerOverviewItemResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total"
        ],
        "title": "ControlTowerOverviewResponse",
        "type": "object"
      },
      "ControlTowerUserItemResponse": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "builder_cost": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Builder Cost"
          },
          "conversation_count": {
            "title": "Conversation Count",
            "type": "integer"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "is_inactive": {
            "title": "Is Inactive",
            "type": "boolean"
          },
          "last_active_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Active At"
          },
          "monthly_usage_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Usage Percent"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "display_name",
          "email",
          "avatar_url",
          "conversation_count",
          "total_cost",
          "builder_cost",
          "monthly_usage_percent",
          "last_active_at",
          "is_inactive"
        ],
        "title": "ControlTowerUserItemResponse",
        "type": "object"
      },
      "ControlTowerUserUsageQuery": {
        "properties": {
          "month": {
            "title": "Month",
            "type": "string"
          }
        },
        "required": [
          "month"
        ],
        "title": "ControlTowerUserUsageQuery",
        "type": "object"
      },
      "ControlTowerUserUsageResponse": {
        "properties": {
          "by_api_key": {
            "items": {
              "$ref": "#/components/schemas/UsageApiKeyBreakdownResponse"
            },
            "title": "By Api Key",
            "type": "array"
          },
          "by_feature": {
            "items": {
              "$ref": "#/components/schemas/UsageFeatureBreakdownResponse"
            },
            "title": "By Feature",
            "type": "array"
          },
          "by_provider": {
            "items": {
              "$ref": "#/components/schemas/UsageProviderBreakdownResponse"
            },
            "title": "By Provider",
            "type": "array"
          },
          "daily_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Limit"
          },
          "daily_provider_costs": {
            "items": {
              "$ref": "#/components/schemas/DailyProviderCostResponse"
            },
            "title": "Daily Provider Costs",
            "type": "array"
          },
          "delta_percent": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delta Percent"
          },
          "monthly_cost": {
            "title": "Monthly Cost",
            "type": "number"
          },
          "monthly_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Limit"
          }
        },
        "required": [
          "monthly_cost",
          "monthly_limit",
          "daily_limit",
          "delta_percent",
          "daily_provider_costs",
          "by_provider",
          "by_feature",
          "by_api_key"
        ],
        "title": "ControlTowerUserUsageResponse",
        "type": "object"
      },
      "ControlTowerUsersQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "limit": {
            "default": 15,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          },
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Search"
          },
          "sort_by": {
            "default": "cost",
            "enum": [
              "name",
              "conversations",
              "cost",
              "builder_cost",
              "last_active"
            ],
            "title": "Sort By",
            "type": "string"
          },
          "sort_order": {
            "default": "desc",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Sort Order",
            "type": "string"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "ControlTowerUsersQuery",
        "type": "object"
      },
      "ControlTowerUsersResponse": {
        "properties": {
          "builder_feature_enabled": {
            "title": "Builder Feature Enabled",
            "type": "boolean"
          },
          "items": {
            "items": {
              "$ref": "#/components/schemas/ControlTowerUserItemResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "items",
          "total",
          "builder_feature_enabled"
        ],
        "title": "ControlTowerUsersResponse",
        "type": "object"
      },
      "ConversationChatCompletionForm": {
        "properties": {
          "chat_request": {
            "title": "Chat Request",
            "type": "string"
          }
        },
        "required": [
          "chat_request"
        ],
        "title": "ConversationChatCompletionForm",
        "type": "object"
      },
      "ConversationCompletionQuery": {
        "properties": {
          "context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Context"
          }
        },
        "title": "ConversationCompletionQuery",
        "type": "object"
      },
      "ConversationContext": {
        "enum": [
          {
            "allowed_functions": null,
            "model_tag": null,
            "prompt": null,
            "skip_assistant_instructions": false
          },
          {
            "allowed_functions": null,
            "model_tag": "code",
            "prompt": null,
            "skip_assistant_instructions": false
          },
          {
            "allowed_functions": null,
            "model_tag": "complex-tasks",
            "prompt": null,
            "skip_assistant_instructions": true
          },
          {
            "allowed_functions": null,
            "model_tag": null,
            "prompt": "You are running in an automation mode, you are not discussing with the user for real. Do not ask questions, only execute the task.",
            "skip_assistant_instructions": false
          }
        ],
        "title": "ConversationContext"
      },
      "ConversationMessage": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "items": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartTextParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartImageParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartInputAudioParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartPDFParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartImageRefParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartPDFRefParam"
                    },
                    {
                      "$ref": "#/components/schemas/ConversationMessageContentPartInputAudioRefParam"
                    }
                  ]
                },
                "type": "array"
              }
            ],
            "title": "Content"
          },
          "metadata": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageMetadata"
              },
              {
                "type": "null"
              }
            ]
          },
          "reasoning": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MessageReasoning"
              },
              {
                "type": "null"
              }
            ]
          },
          "role": {
            "$ref": "#/components/schemas/MessageRole"
          },
          "tool_call_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Call Id"
          },
          "tool_calls": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/MessageToolCall"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Tool Calls"
          }
        },
        "required": [
          "role"
        ],
        "title": "ConversationMessage",
        "type": "object"
      },
      "ConversationMessageContentPartImageParam": {
        "properties": {
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "data": {
            "title": "Data",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "image",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "data",
          "content_type",
          "type"
        ],
        "title": "ConversationMessageContentPartImageParam",
        "type": "object"
      },
      "ConversationMessageContentPartImageRefParam": {
        "properties": {
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "image_ref",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "remote_path",
          "content_type",
          "type"
        ],
        "title": "ConversationMessageContentPartImageRefParam",
        "type": "object"
      },
      "ConversationMessageContentPartInputAudioParam": {
        "properties": {
          "data": {
            "title": "Data",
            "type": "string"
          },
          "format": {
            "title": "Format",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "audio",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "data",
          "format",
          "type"
        ],
        "title": "ConversationMessageContentPartInputAudioParam",
        "type": "object"
      },
      "ConversationMessageContentPartInputAudioRefParam": {
        "properties": {
          "format": {
            "title": "Format",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "audio_ref",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "remote_path",
          "format",
          "type"
        ],
        "title": "ConversationMessageContentPartInputAudioRefParam",
        "type": "object"
      },
      "ConversationMessageContentPartPDFParam": {
        "properties": {
          "data": {
            "title": "Data",
            "type": "string"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "pdf",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "data",
          "filename",
          "type"
        ],
        "title": "ConversationMessageContentPartPDFParam",
        "type": "object"
      },
      "ConversationMessageContentPartPDFRefParam": {
        "properties": {
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "remote_path": {
            "title": "Remote Path",
            "type": "string"
          },
          "type": {
            "const": "pdf_ref",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "remote_path",
          "filename",
          "type"
        ],
        "title": "ConversationMessageContentPartPDFRefParam",
        "type": "object"
      },
      "ConversationMessageContentPartTextParam": {
        "properties": {
          "text": {
            "title": "Text",
            "type": "string"
          },
          "type": {
            "const": "text",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "text",
          "type"
        ],
        "title": "ConversationMessageContentPartTextParam",
        "type": "object"
      },
      "ConversationResponse": {
        "properties": {
          "assistant": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantPublicResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_read_only": {
            "default": false,
            "title": "Is Read Only",
            "type": "boolean"
          },
          "is_system": {
            "default": false,
            "title": "Is System",
            "type": "boolean"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Activity At"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "owner_user_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner User Name"
          },
          "payload": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "title": "Payload",
            "type": "array"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Project Id"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "user_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Data"
          }
        },
        "required": [
          "id",
          "payload",
          "updated_at"
        ],
        "title": "ConversationResponse",
        "type": "object"
      },
      "ConversationSearchResult": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "assistant_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Name"
          },
          "assistant_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Type"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "preview": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Preview"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "type": {
            "const": "conversation",
            "default": "conversation",
            "title": "Type",
            "type": "string"
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "updated_at"
        ],
        "title": "ConversationSearchResult",
        "type": "object"
      },
      "ConversationSkillResponse": {
        "properties": {
          "conversation_id": {
            "title": "Conversation Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          },
          "skill_id": {
            "title": "Skill Id",
            "type": "string"
          }
        },
        "required": [
          "message",
          "conversation_id",
          "skill_id"
        ],
        "title": "ConversationSkillResponse",
        "type": "object"
      },
      "ConversationSummaryResponse": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "assistant_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Type"
          },
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "is_read_only": {
            "default": false,
            "title": "Is Read Only",
            "type": "boolean"
          },
          "last_activity_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Activity At"
          },
          "project_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Project Id"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "updated_at"
        ],
        "title": "ConversationSummaryResponse",
        "type": "object"
      },
      "ConversationsListMetadata": {
        "properties": {
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "last_timestamp": {
            "title": "Last Timestamp",
            "type": "number"
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Limit"
          }
        },
        "required": [
          "last_timestamp",
          "has_more"
        ],
        "title": "ConversationsListMetadata",
        "type": "object"
      },
      "ConversationsListResponse": {
        "properties": {
          "conversations": {
            "items": {
              "$ref": "#/components/schemas/ConversationSummaryResponse"
            },
            "title": "Conversations",
            "type": "array"
          },
          "metadata": {
            "$ref": "#/components/schemas/ConversationsListMetadata"
          }
        },
        "required": [
          "conversations",
          "metadata"
        ],
        "title": "ConversationsListResponse",
        "type": "object"
      },
      "CreateApiTokenRequest": {
        "properties": {
          "allowed_assistant_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Assistant Ids"
          },
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "description": {
            "maxLength": 255,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "expiry_preset": {
            "default": "6m",
            "title": "Expiry Preset",
            "type": "string"
          },
          "external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "External Services"
          },
          "resources_rights": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AuthTokenResourcesRights"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "scope_names": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Scope Names"
          }
        },
        "required": [
          "description"
        ],
        "title": "CreateApiTokenRequest",
        "type": "object"
      },
      "CreateAssistantDataRequest": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Content"
          },
          "data": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AssistantDataRequestItem"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Data"
          },
          "embedding": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Embedding"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Metadata"
          }
        },
        "title": "CreateAssistantDataRequest",
        "type": "object"
      },
      "CreateAssistantDataResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "created_item_ids": {
            "items": {
              "type": "string"
            },
            "title": "Created Item Ids",
            "type": "array"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id",
          "created_item_ids"
        ],
        "title": "CreateAssistantDataResponse",
        "type": "object"
      },
      "CreateAssistantFromTemplateBody": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "locale": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "en",
            "title": "Locale"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "template_id": {
            "title": "Template Id",
            "type": "string"
          }
        },
        "required": [
          "template_id",
          "name",
          "description"
        ],
        "title": "CreateAssistantFromTemplateBody",
        "type": "object"
      },
      "CreateAssistantFromTemplateResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "starter_prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Starter Prompt"
          }
        },
        "required": [
          "assistant_id"
        ],
        "title": "CreateAssistantFromTemplateResponse",
        "type": "object"
      },
      "CreateAssistantRequest": {
        "properties": {
          "allowed_external_services": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed External Services"
          },
          "allowed_functions": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Functions"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "content_retrieving_strategy": {
            "$ref": "#/components/schemas/ContentRetrievingStrategy",
            "default": {}
          },
          "delegations": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/DelegationRequest"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Delegations"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "llm_args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Llm Args"
          },
          "mcp_servers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/McpServer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Mcp Servers"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "prompt_starters": {
            "items": {
              "type": "string"
            },
            "title": "Prompt Starters",
            "type": "array"
          },
          "secrets": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Secrets"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantType"
              },
              {
                "type": "null"
              }
            ],
            "default": "ASSISTANT"
          },
          "use_system_prompt": {
            "title": "Use System Prompt",
            "type": "boolean"
          },
          "variables": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Variables"
          },
          "visibility": {
            "$ref": "#/components/schemas/AssistantVisibilityRequest"
          }
        },
        "required": [
          "name",
          "description",
          "instructions",
          "use_system_prompt",
          "prompt_starters",
          "visibility"
        ],
        "title": "CreateAssistantRequest",
        "type": "object"
      },
      "CreateAutomationRequest": {
        "properties": {
          "assistant_id": {
            "format": "uuid",
            "title": "Assistant Id",
            "type": "string"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "payload": {
            "$ref": "#/components/schemas/AutomationPayloadRequest"
          },
          "schedules": {
            "additionalProperties": true,
            "title": "Schedules",
            "type": "object"
          }
        },
        "required": [
          "assistant_id",
          "name",
          "payload"
        ],
        "title": "CreateAutomationRequest",
        "type": "object"
      },
      "CreateConversationRequest": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "is_system": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Is System"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "payload": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "title": "Payload",
            "type": "array"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Project Id"
          },
          "skill_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Ids"
          },
          "time_zone_offset": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Time Zone Offset"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          },
          "user_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Data"
          }
        },
        "required": [
          "payload"
        ],
        "title": "CreateConversationRequest",
        "type": "object"
      },
      "CreateEmbeddingsRequest": {
        "properties": {
          "texts": {
            "items": {
              "type": "string"
            },
            "title": "Texts",
            "type": "array"
          }
        },
        "required": [
          "texts"
        ],
        "title": "CreateEmbeddingsRequest",
        "type": "object"
      },
      "CreateEmbeddingsResponse": {
        "items": {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        "title": "CreateEmbeddingsResponse",
        "type": "array"
      },
      "CreateInvitationsRequest": {
        "properties": {
          "emails": {
            "items": {
              "type": "string"
            },
            "title": "Emails",
            "type": "array"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Message"
          },
          "role": {
            "$ref": "#/components/schemas/UserRole"
          }
        },
        "required": [
          "emails",
          "role"
        ],
        "title": "CreateInvitationsRequest",
        "type": "object"
      },
      "CreateInvitationsResponse": {
        "properties": {
          "errors": {
            "items": {
              "type": "string"
            },
            "title": "Errors",
            "type": "array"
          },
          "invitations": {
            "items": {
              "$ref": "#/components/schemas/InvitationResponse"
            },
            "title": "Invitations",
            "type": "array"
          }
        },
        "required": [
          "invitations",
          "errors"
        ],
        "title": "CreateInvitationsResponse",
        "type": "object"
      },
      "CreateMemoryRequest": {
        "properties": {
          "always_inject": {
            "default": false,
            "title": "Always Inject",
            "type": "boolean"
          },
          "assistant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Metadata"
          }
        },
        "required": [
          "content"
        ],
        "title": "CreateMemoryRequest",
        "type": "object"
      },
      "CreateProjectRequest": {
        "properties": {
          "description": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          },
          "owner_team_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner Team Id"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "title": "CreateProjectRequest",
        "type": "object"
      },
      "CreateServiceAccountApiTokenRequest": {
        "properties": {
          "allowed_assistant_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Assistant Ids"
          },
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "description": {
            "maxLength": 255,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "expiry_preset": {
            "default": "6m",
            "title": "Expiry Preset",
            "type": "string"
          },
          "external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "External Services"
          },
          "resources_rights": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AuthTokenResourcesRights"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "scope_names": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Scope Names"
          }
        },
        "required": [
          "description"
        ],
        "title": "CreateServiceAccountApiTokenRequest",
        "type": "object"
      },
      "CreateServiceAccountRequest": {
        "properties": {
          "first_name": {
            "maxLength": 100,
            "minLength": 1,
            "title": "First Name",
            "type": "string"
          },
          "last_name": {
            "default": "",
            "maxLength": 100,
            "title": "Last Name",
            "type": "string"
          }
        },
        "required": [
          "first_name"
        ],
        "title": "CreateServiceAccountRequest",
        "type": "object"
      },
      "CreateTeamBody": {
        "properties": {
          "initial_owner_group_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Initial Owner Group Ids"
          },
          "initial_owner_user_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Initial Owner User Ids"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "CreateTeamBody",
        "type": "object"
      },
      "CurrentUserResponse": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "email_notifications_enabled": {
            "default": false,
            "title": "Email Notifications Enabled",
            "type": "boolean"
          },
          "features": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Features",
            "type": "array"
          },
          "first_name": {
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "impersonating_tenant_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Impersonating Tenant Name"
          },
          "impersonation_expires_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Impersonation Expires At"
          },
          "impersonation_kind": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Impersonation Kind"
          },
          "is_admin": {
            "title": "Is Admin",
            "type": "boolean"
          },
          "is_impersonating": {
            "title": "Is Impersonating",
            "type": "boolean"
          },
          "is_tenant_admin": {
            "title": "Is Tenant Admin",
            "type": "boolean"
          },
          "last_name": {
            "title": "Last Name",
            "type": "string"
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Picture Url"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "title": "Roles",
            "type": "array"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name",
          "email",
          "picture_url",
          "is_admin",
          "is_tenant_admin",
          "tenant_id",
          "roles",
          "status",
          "is_impersonating"
        ],
        "title": "CurrentUserResponse",
        "type": "object"
      },
      "DailyProviderCostResponse": {
        "properties": {
          "costs_by_provider": {
            "additionalProperties": {
              "type": "number"
            },
            "title": "Costs By Provider",
            "type": "object"
          },
          "date": {
            "title": "Date",
            "type": "string"
          }
        },
        "required": [
          "date",
          "costs_by_provider"
        ],
        "title": "DailyProviderCostResponse",
        "type": "object"
      },
      "DailyUsage": {
        "properties": {
          "cost": {
            "title": "Cost",
            "type": "number"
          },
          "date": {
            "title": "Date",
            "type": "string"
          },
          "tokens": {
            "title": "Tokens",
            "type": "integer"
          }
        },
        "required": [
          "date",
          "cost",
          "tokens"
        ],
        "title": "DailyUsage",
        "type": "object"
      },
      "DailyUsageExportQuery": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "to_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          }
        },
        "title": "DailyUsageExportQuery",
        "type": "object"
      },
      "DecodedAccessTokenResponse": {
        "additionalProperties": true,
        "properties": {
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "First Name"
          },
          "is_admin": {
            "default": false,
            "title": "Is Admin",
            "type": "boolean"
          },
          "is_tenant_admin": {
            "default": false,
            "title": "Is Tenant Admin",
            "type": "boolean"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Last Name"
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Picture Url"
          },
          "roles": {
            "default": [],
            "items": {},
            "title": "Roles",
            "type": "array"
          },
          "sub": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Sub"
          },
          "tenant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tenant Id"
          }
        },
        "title": "DecodedAccessTokenResponse",
        "type": "object"
      },
      "DefaultEmbeddingModelResponse": {
        "properties": {
          "default_embedding_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Embedding Model Id"
          },
          "effective_embedding_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effective Embedding Model Id"
          }
        },
        "required": [
          "default_embedding_model_id",
          "effective_embedding_model_id"
        ],
        "title": "DefaultEmbeddingModelResponse",
        "type": "object"
      },
      "DefaultModelQuery": {
        "properties": {
          "user_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Model Id"
          }
        },
        "title": "DefaultModelQuery",
        "type": "object"
      },
      "DefaultModelResponse": {
        "properties": {
          "default_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default Model Id"
          },
          "effective_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Effective Model Id"
          }
        },
        "required": [
          "default_model_id",
          "effective_model_id"
        ],
        "title": "DefaultModelResponse",
        "type": "object"
      },
      "DelegationFrame": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "instruction": {
            "title": "Instruction",
            "type": "string"
          },
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "payload": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "title": "Payload",
            "type": "array"
          },
          "pending_tool_call_id": {
            "title": "Pending Tool Call Id",
            "type": "string"
          },
          "token_usage": {
            "additionalProperties": true,
            "title": "Token Usage",
            "type": "object"
          }
        },
        "required": [
          "assistant_id",
          "instruction",
          "model_id",
          "payload"
        ],
        "title": "DelegationFrame",
        "type": "object"
      },
      "DelegationOrchestratorState": {
        "properties": {
          "pending_call_id": {
            "title": "Pending Call Id",
            "type": "string"
          },
          "pending_function_name": {
            "title": "Pending Function Name",
            "type": "string"
          },
          "stack": {
            "items": {
              "$ref": "#/components/schemas/DelegationFrame"
            },
            "title": "Stack",
            "type": "array"
          },
          "version": {
            "title": "Version",
            "type": "integer"
          }
        },
        "required": [
          "version",
          "stack",
          "pending_call_id",
          "pending_function_name"
        ],
        "title": "DelegationOrchestratorState",
        "type": "object"
      },
      "DelegationRequest": {
        "properties": {
          "delegated_assistant_id": {
            "format": "uuid",
            "title": "Delegated Assistant Id",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "position": {
            "default": 0,
            "title": "Position",
            "type": "integer"
          }
        },
        "required": [
          "delegated_assistant_id",
          "description"
        ],
        "title": "DelegationRequest",
        "type": "object"
      },
      "DelegationResponse": {
        "properties": {
          "delegated_assistant_id": {
            "title": "Delegated Assistant Id",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "position": {
            "title": "Position",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "delegated_assistant_id",
          "description",
          "position"
        ],
        "title": "DelegationResponse",
        "type": "object"
      },
      "DeleteAssistantDataRequest": {
        "properties": {
          "id": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Id"
          },
          "where": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Where"
          }
        },
        "title": "DeleteAssistantDataRequest",
        "type": "object"
      },
      "DeleteAssistantDataResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id"
        ],
        "title": "DeleteAssistantDataResponse",
        "type": "object"
      },
      "DeleteAssistantDatabaseRequest": {
        "properties": {
          "confirmation_connection_ref": {
            "title": "Confirmation Connection Ref",
            "type": "string"
          }
        },
        "required": [
          "confirmation_connection_ref"
        ],
        "title": "DeleteAssistantDatabaseRequest",
        "type": "object"
      },
      "DeleteProjectResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "DeleteProjectResponse",
        "type": "object"
      },
      "DeployAssistantUIForm": {
        "properties": {
          "ui": {
            "format": "binary",
            "title": "Ui",
            "type": "string"
          }
        },
        "required": [
          "ui"
        ],
        "title": "DeployAssistantUIForm",
        "type": "object"
      },
      "DisableAssistantBody": {
        "properties": {
          "reason": {
            "title": "Reason",
            "type": "string"
          }
        },
        "required": [
          "reason"
        ],
        "title": "DisableAssistantBody",
        "type": "object"
      },
      "EmbedSource": {
        "enum": [
          "app",
          "canvas"
        ],
        "title": "EmbedSource",
        "type": "string"
      },
      "ExecuteSkillFunctionQuery": {
        "properties": {
          "conversation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "delay": {
            "default": 0,
            "title": "Delay",
            "type": "integer"
          },
          "file_progress_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File Progress Name"
          }
        },
        "title": "ExecuteSkillFunctionQuery",
        "type": "object"
      },
      "ExecuteSkillFunctionRequest": {
        "additionalProperties": true,
        "properties": {},
        "title": "ExecuteSkillFunctionRequest",
        "type": "object"
      },
      "ExternalServiceRequirementResponse": {
        "properties": {
          "configured": {
            "title": "Configured",
            "type": "boolean"
          },
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Display Name"
          },
          "icon_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Icon Url"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "configured"
        ],
        "title": "ExternalServiceRequirementResponse",
        "type": "object"
      },
      "ExternalServiceVisibilityRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "ExternalServiceVisibilityRequest",
        "type": "object"
      },
      "ExternalServiceVisibilityResponse": {
        "properties": {
          "service_name": {
            "title": "Service Name",
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/ModelVisibilityResponse"
          }
        },
        "required": [
          "service_name",
          "visibility"
        ],
        "title": "ExternalServiceVisibilityResponse",
        "type": "object"
      },
      "ExternalServiceVisibilityResponseList": {
        "items": {
          "$ref": "#/components/schemas/ExternalServiceVisibilityResponse"
        },
        "title": "ExternalServiceVisibilityResponseList",
        "type": "array"
      },
      "ExternalServiceWithStatusResponse": {
        "properties": {
          "configured_scopes": {
            "items": {
              "type": "string"
            },
            "title": "Configured Scopes",
            "type": "array"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "icon_url": {
            "title": "Icon Url",
            "type": "string"
          },
          "is_connected": {
            "title": "Is Connected",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "display_name",
          "icon_url",
          "is_connected",
          "configured_scopes"
        ],
        "title": "ExternalServiceWithStatusResponse",
        "type": "object"
      },
      "ExternalServicesWithStatusResponse": {
        "properties": {
          "services": {
            "items": {
              "$ref": "#/components/schemas/ExternalServiceWithStatusResponse"
            },
            "title": "Services",
            "type": "array"
          }
        },
        "required": [
          "services"
        ],
        "title": "ExternalServicesWithStatusResponse",
        "type": "object"
      },
      "FailedProjectMemberResponse": {
        "properties": {
          "reason": {
            "title": "Reason",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "reason"
        ],
        "title": "FailedProjectMemberResponse",
        "type": "object"
      },
      "FavouriteOrderItem": {
        "properties": {
          "id": {
            "format": "uuid",
            "title": "Id",
            "type": "string"
          },
          "sort_order": {
            "title": "Sort Order",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "sort_order"
        ],
        "title": "FavouriteOrderItem",
        "type": "object"
      },
      "FeatureCatalogResponse": {
        "properties": {
          "control": {
            "title": "Control",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "tenant_managed_rollout": {
            "title": "Tenant Managed Rollout",
            "type": "boolean"
          }
        },
        "required": [
          "key",
          "control",
          "scope",
          "tenant_managed_rollout"
        ],
        "title": "FeatureCatalogResponse",
        "type": "object"
      },
      "FeatureCatalogResponseList": {
        "items": {
          "$ref": "#/components/schemas/FeatureCatalogResponse"
        },
        "title": "FeatureCatalogResponseList",
        "type": "array"
      },
      "FeatureVisibilityRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "FeatureVisibilityRequest",
        "type": "object"
      },
      "FileTextContentForm": {
        "properties": {
          "json_payload": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Json Payload"
          }
        },
        "title": "FileTextContentForm",
        "type": "object"
      },
      "FileTextContentResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "FileTextContentResponse",
        "type": "object"
      },
      "FunctionPermission": {
        "properties": {
          "call_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Call Id"
          },
          "denied": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Denied"
          },
          "function_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Name"
          }
        },
        "title": "FunctionPermission",
        "type": "object"
      },
      "GenerateAssistantAvatarRequest": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "title": "GenerateAssistantAvatarRequest",
        "type": "object"
      },
      "GenerateAudioTranscriptionForm": {
        "properties": {
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          }
        },
        "title": "GenerateAudioTranscriptionForm",
        "type": "object"
      },
      "GenerateSpeechBody": {
        "properties": {
          "api_args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Api Args"
          },
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "message_index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Message Index"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "stream": {
            "default": false,
            "title": "Stream",
            "type": "boolean"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Text"
          },
          "voice": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Voice"
          }
        },
        "title": "GenerateSpeechBody",
        "type": "object"
      },
      "GenerateTenantInvoiceResponse": {
        "properties": {
          "invoice": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InvoiceResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "GenerateTenantInvoiceResponse",
        "type": "object"
      },
      "GetAvailableGroupsQuery": {
        "properties": {
          "limit": {
            "default": 50,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          },
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Query"
          }
        },
        "title": "GetAvailableGroupsQuery",
        "type": "object"
      },
      "GetCostsRequest": {
        "properties": {
          "from_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "From Date"
          },
          "group_by_tenant": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Group By Tenant"
          },
          "include_only_billable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Include Only Billable"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "to_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "To Date"
          },
          "user_ids": {
            "anyOf": [
              {
                "items": {
                  "format": "uuid",
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Ids"
          }
        },
        "title": "GetCostsRequest",
        "type": "object"
      },
      "GetCostsResponseModel": {
        "properties": {
          "detail": {
            "default": [],
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Detail",
            "type": "array"
          },
          "from_date": {
            "default": "",
            "title": "From Date",
            "type": "string"
          },
          "monthly_organization_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Monthly Organization Limit"
          },
          "specific_user_limits": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/SpecificUserLimitResponse"
            },
            "title": "Specific User Limits",
            "type": "array"
          },
          "tenant_breakdown": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/TenantCostSummaryResponse"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tenant Breakdown"
          },
          "to_date": {
            "default": "",
            "title": "To Date",
            "type": "string"
          },
          "total_cost": {
            "default": 0,
            "title": "Total Cost",
            "type": "number"
          },
          "user_limits": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UserLimitsResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "GetCostsResponseModel",
        "type": "object"
      },
      "GetInstanceCostSummaryQuery": {
        "properties": {
          "month": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Month"
          }
        },
        "title": "GetInstanceCostSummaryQuery",
        "type": "object"
      },
      "GetProtectedImageQuery": {
        "properties": {
          "background_color": {
            "default": "white",
            "enum": [
              "white",
              "black"
            ],
            "title": "Background Color",
            "type": "string"
          },
          "image_format": {
            "default": "",
            "title": "Image Format",
            "type": "string"
          }
        },
        "title": "GetProtectedImageQuery",
        "type": "object"
      },
      "GetSkillsBuilderHistoryQuery": {
        "properties": {
          "is_completed": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Is Completed"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Filename"
          }
        },
        "title": "GetSkillsBuilderHistoryQuery",
        "type": "object"
      },
      "GetSyncHistoryQuery": {
        "properties": {
          "limit": {
            "default": 25,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          }
        },
        "title": "GetSyncHistoryQuery",
        "type": "object"
      },
      "GetTenantSpendingOverviewQuery": {
        "properties": {
          "include_only_billable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Include Only Billable"
          },
          "month": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Month"
          }
        },
        "title": "GetTenantSpendingOverviewQuery",
        "type": "object"
      },
      "GetUserFirstUsageMonthQuery": {
        "properties": {
          "include_only_billable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Include Only Billable"
          }
        },
        "title": "GetUserFirstUsageMonthQuery",
        "type": "object"
      },
      "GetUserUsageQuery": {
        "properties": {
          "include_only_billable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Include Only Billable"
          },
          "month": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Month"
          }
        },
        "title": "GetUserUsageQuery",
        "type": "object"
      },
      "GetUserUsageSummaryQuery": {
        "properties": {
          "include_only_billable": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Include Only Billable"
          }
        },
        "title": "GetUserUsageSummaryQuery",
        "type": "object"
      },
      "GetVideoJobStatusQuery": {
        "properties": {
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          }
        },
        "title": "GetVideoJobStatusQuery",
        "type": "object"
      },
      "GetWebappConfigQuery": {
        "properties": {
          "tenant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tenant Id"
          }
        },
        "title": "GetWebappConfigQuery",
        "type": "object"
      },
      "GroupChange": {
        "properties": {
          "change_type": {
            "$ref": "#/components/schemas/GroupChangeType"
          },
          "existing_group_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Existing Group Name"
          },
          "group": {
            "$ref": "#/components/schemas/RemoteGroup"
          },
          "membership_changes": {
            "items": {
              "$ref": "#/components/schemas/MembershipChange"
            },
            "title": "Membership Changes",
            "type": "array"
          },
          "name_changed": {
            "default": false,
            "title": "Name Changed",
            "type": "boolean"
          }
        },
        "required": [
          "group",
          "change_type",
          "membership_changes"
        ],
        "title": "GroupChange",
        "type": "object"
      },
      "GroupChangeType": {
        "enum": [
          "create",
          "update",
          "no_change",
          "ignored"
        ],
        "title": "GroupChangeType",
        "type": "string"
      },
      "GroupResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "is_active"
        ],
        "title": "GroupResponse",
        "type": "object"
      },
      "GroupResponseList": {
        "items": {
          "$ref": "#/components/schemas/GroupResponse"
        },
        "title": "GroupResponseList",
        "type": "array"
      },
      "GroupSelectionItem": {
        "properties": {
          "remote_id": {
            "title": "Remote Id",
            "type": "string"
          }
        },
        "required": [
          "remote_id"
        ],
        "title": "GroupSelectionItem",
        "type": "object"
      },
      "GroupSyncCredentialResponse": {
        "properties": {
          "authorized_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorized At"
          },
          "authorized_by_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorized By Name"
          },
          "external_account_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Account Name"
          },
          "service_name": {
            "title": "Service Name",
            "type": "string"
          }
        },
        "required": [
          "service_name",
          "authorized_by_name",
          "external_account_name",
          "authorized_at"
        ],
        "title": "GroupSyncCredentialResponse",
        "type": "object"
      },
      "GroupSyncRunResponse": {
        "properties": {
          "completed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Completed At"
          },
          "details": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Details"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "started_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Started At"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "triggered_by": {
            "title": "Triggered By",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status",
          "triggered_by",
          "started_at",
          "completed_at",
          "details"
        ],
        "title": "GroupSyncRunResponse",
        "type": "object"
      },
      "HealthResponse": {
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "HealthResponse",
        "type": "object"
      },
      "ImageAspectRatio": {
        "enum": [
          "square",
          "landscape",
          "portrait"
        ],
        "title": "ImageAspectRatio",
        "type": "string"
      },
      "ImageBackground": {
        "enum": [
          "auto",
          "opaque",
          "transparent",
          "white"
        ],
        "title": "ImageBackground",
        "type": "string"
      },
      "ImageGenerationBody": {
        "properties": {
          "aspect_ratio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImageAspectRatio"
              },
              {
                "type": "null"
              }
            ],
            "default": "square"
          },
          "async_job": {
            "default": true,
            "title": "Async Job",
            "type": "boolean"
          },
          "background": {
            "$ref": "#/components/schemas/ImageBackground",
            "default": "auto"
          },
          "conversation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "images": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ImageObject"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Images"
          },
          "mask": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImageObject"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "nb_outputs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 1,
            "title": "Nb Outputs"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "quality": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImageQuality"
              },
              {
                "type": "null"
              }
            ],
            "default": "default"
          },
          "resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImageResolution"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "prompt"
        ],
        "title": "ImageGenerationBody",
        "type": "object"
      },
      "ImageGenerationModelResponse": {
        "properties": {
          "api": {
            "title": "Api",
            "type": "string"
          },
          "capabilities_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Capabilities Tags"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "displayName": {
            "title": "Displayname",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "image_aspect_ratio_mapping": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Image Aspect Ratio Mapping"
          },
          "image_quality_mapping": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Image Quality Mapping"
          },
          "info_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Info Tags"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "release_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Release Date"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tags"
          },
          "usage_pricing": {
            "additionalProperties": true,
            "default": {},
            "title": "Usage Pricing",
            "type": "object"
          }
        },
        "required": [
          "id",
          "api",
          "model",
          "provider",
          "displayName"
        ],
        "title": "ImageGenerationModelResponse",
        "type": "object"
      },
      "ImageGenerationModelResponseList": {
        "items": {
          "$ref": "#/components/schemas/ImageGenerationModelResponse"
        },
        "title": "ImageGenerationModelResponseList",
        "type": "array"
      },
      "ImageObject": {
        "properties": {
          "base64": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Base64"
          },
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "filename": {
            "title": "Filename",
            "type": "string"
          },
          "protected_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Protected Url"
          }
        },
        "required": [
          "filename",
          "content_type"
        ],
        "title": "ImageObject",
        "type": "object"
      },
      "ImageQuality": {
        "enum": [
          "low",
          "medium",
          "high",
          "default"
        ],
        "title": "ImageQuality",
        "type": "string"
      },
      "ImageResolution": {
        "enum": [
          "1k",
          "2k",
          "4k"
        ],
        "title": "ImageResolution",
        "type": "string"
      },
      "ImageTransparencyResponse": {
        "properties": {
          "has_transparency": {
            "title": "Has Transparency",
            "type": "boolean"
          }
        },
        "required": [
          "has_transparency"
        ],
        "title": "ImageTransparencyResponse",
        "type": "object"
      },
      "ImageWithMetadata": {
        "properties": {
          "base64": {
            "title": "Base64",
            "type": "string"
          },
          "mime_type": {
            "title": "Mime Type",
            "type": "string"
          }
        },
        "required": [
          "base64",
          "mime_type"
        ],
        "title": "ImageWithMetadata",
        "type": "object"
      },
      "ImprovePromptRequest": {
        "properties": {
          "prompt": {
            "title": "Prompt",
            "type": "string"
          }
        },
        "required": [
          "prompt"
        ],
        "title": "ImprovePromptRequest",
        "type": "object"
      },
      "ImprovePromptResponse": {
        "properties": {
          "prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Prompt"
          }
        },
        "title": "ImprovePromptResponse",
        "type": "object"
      },
      "IndexingStrategy": {
        "enum": [
          "FULL",
          "SUMMARY",
          "NONE"
        ],
        "title": "IndexingStrategy",
        "type": "string"
      },
      "InstallPackageBody": {
        "properties": {
          "secrets": {
            "additionalProperties": {
              "type": "string"
            },
            "default": {},
            "title": "Secrets",
            "type": "object"
          },
          "variables": {
            "additionalProperties": {
              "type": "string"
            },
            "default": {},
            "title": "Variables",
            "type": "object"
          },
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Version"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibility"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "InstallPackageBody",
        "type": "object"
      },
      "InstallValidationResponse": {
        "properties": {
          "already_installed": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InstalledEntityResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "external_service_requirements": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/ExternalServiceRequirementResponse"
            },
            "title": "External Service Requirements",
            "type": "array"
          },
          "is_compatible": {
            "title": "Is Compatible",
            "type": "boolean"
          },
          "missing_dependencies": {
            "items": {
              "$ref": "#/components/schemas/MissingDependencyResponse"
            },
            "title": "Missing Dependencies",
            "type": "array"
          },
          "package": {
            "$ref": "#/components/schemas/CatalogPackageResponse"
          },
          "satisfied_dependencies": {
            "items": {
              "$ref": "#/components/schemas/SatisfiedDependencyResponse"
            },
            "title": "Satisfied Dependencies",
            "type": "array"
          },
          "selected_version": {
            "$ref": "#/components/schemas/PackageVersionResponse"
          }
        },
        "required": [
          "package",
          "selected_version",
          "is_compatible",
          "missing_dependencies",
          "satisfied_dependencies"
        ],
        "title": "InstallValidationResponse",
        "type": "object"
      },
      "InstalledEntityResponse": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "string"
          },
          "installed_at": {
            "title": "Installed At",
            "type": "string"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "package_version": {
            "title": "Package Version",
            "type": "string"
          },
          "type": {
            "enum": [
              "application",
              "skill"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "package_id",
          "package_version",
          "type",
          "entity_id",
          "installed_at"
        ],
        "title": "InstalledEntityResponse",
        "type": "object"
      },
      "InstalledEntityResponseList": {
        "items": {
          "$ref": "#/components/schemas/InstalledEntityResponse"
        },
        "title": "InstalledEntityResponseList",
        "type": "array"
      },
      "InstanceCostSummaryMetadataResponse": {
        "properties": {
          "active_user_count": {
            "title": "Active User Count",
            "type": "integer"
          },
          "tenant_count": {
            "title": "Tenant Count",
            "type": "integer"
          }
        },
        "required": [
          "tenant_count",
          "active_user_count"
        ],
        "title": "InstanceCostSummaryMetadataResponse",
        "type": "object"
      },
      "InstanceCostSummaryModelResponse": {
        "properties": {
          "billable_cost_cad": {
            "title": "Billable Cost Cad",
            "type": "number"
          },
          "billable_cost_usd": {
            "title": "Billable Cost Usd",
            "type": "number"
          },
          "input_tokens": {
            "title": "Input Tokens",
            "type": "integer"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "non_billable_cost_cad": {
            "title": "Non Billable Cost Cad",
            "type": "number"
          },
          "non_billable_cost_usd": {
            "title": "Non Billable Cost Usd",
            "type": "number"
          },
          "output_tokens": {
            "title": "Output Tokens",
            "type": "integer"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "request_count": {
            "title": "Request Count",
            "type": "integer"
          },
          "total_cost_cad": {
            "title": "Total Cost Cad",
            "type": "number"
          },
          "total_cost_usd": {
            "title": "Total Cost Usd",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "model",
          "total_cost_usd",
          "total_cost_cad",
          "billable_cost_usd",
          "billable_cost_cad",
          "non_billable_cost_usd",
          "non_billable_cost_cad",
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "request_count"
        ],
        "title": "InstanceCostSummaryModelResponse",
        "type": "object"
      },
      "InstanceCostSummaryProviderResponse": {
        "properties": {
          "billable_cost_cad": {
            "title": "Billable Cost Cad",
            "type": "number"
          },
          "billable_cost_usd": {
            "title": "Billable Cost Usd",
            "type": "number"
          },
          "input_tokens": {
            "title": "Input Tokens",
            "type": "integer"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/InstanceCostSummaryModelResponse"
            },
            "title": "Models",
            "type": "array"
          },
          "non_billable_cost_cad": {
            "title": "Non Billable Cost Cad",
            "type": "number"
          },
          "non_billable_cost_usd": {
            "title": "Non Billable Cost Usd",
            "type": "number"
          },
          "output_tokens": {
            "title": "Output Tokens",
            "type": "integer"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "request_count": {
            "title": "Request Count",
            "type": "integer"
          },
          "total_cost_cad": {
            "title": "Total Cost Cad",
            "type": "number"
          },
          "total_cost_usd": {
            "title": "Total Cost Usd",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "total_cost_usd",
          "total_cost_cad",
          "billable_cost_usd",
          "billable_cost_cad",
          "non_billable_cost_usd",
          "non_billable_cost_cad",
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "request_count",
          "models"
        ],
        "title": "InstanceCostSummaryProviderResponse",
        "type": "object"
      },
      "InstanceCostSummaryResponse": {
        "properties": {
          "billable_cost_cad": {
            "title": "Billable Cost Cad",
            "type": "number"
          },
          "billable_cost_usd": {
            "title": "Billable Cost Usd",
            "type": "number"
          },
          "from_date": {
            "title": "From Date",
            "type": "string"
          },
          "input_tokens": {
            "title": "Input Tokens",
            "type": "integer"
          },
          "metadata": {
            "$ref": "#/components/schemas/InstanceCostSummaryMetadataResponse"
          },
          "non_billable_cost_cad": {
            "title": "Non Billable Cost Cad",
            "type": "number"
          },
          "non_billable_cost_usd": {
            "title": "Non Billable Cost Usd",
            "type": "number"
          },
          "output_tokens": {
            "title": "Output Tokens",
            "type": "integer"
          },
          "providers": {
            "items": {
              "$ref": "#/components/schemas/InstanceCostSummaryProviderResponse"
            },
            "title": "Providers",
            "type": "array"
          },
          "request_count": {
            "title": "Request Count",
            "type": "integer"
          },
          "to_date": {
            "title": "To Date",
            "type": "string"
          },
          "total_cost_cad": {
            "title": "Total Cost Cad",
            "type": "number"
          },
          "total_cost_usd": {
            "title": "Total Cost Usd",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "total_cost_usd",
          "total_cost_cad",
          "billable_cost_usd",
          "billable_cost_cad",
          "non_billable_cost_usd",
          "non_billable_cost_cad",
          "input_tokens",
          "output_tokens",
          "total_tokens",
          "request_count",
          "metadata",
          "providers"
        ],
        "title": "InstanceCostSummaryResponse",
        "type": "object"
      },
      "InvitationResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "invited_by_user_id": {
            "title": "Invited By User Id",
            "type": "string"
          },
          "message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Message"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "email",
          "role",
          "message",
          "status",
          "invited_by_user_id",
          "created_at"
        ],
        "title": "InvitationResponse",
        "type": "object"
      },
      "InvoiceResponse": {
        "properties": {
          "admin_fee_cad": {
            "title": "Admin Fee Cad",
            "type": "number"
          },
          "allocation_cad": {
            "title": "Allocation Cad",
            "type": "number"
          },
          "billing_period_end": {
            "title": "Billing Period End",
            "type": "string"
          },
          "billing_period_start": {
            "title": "Billing Period Start",
            "type": "string"
          },
          "external_invoice_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Invoice Id"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "line_items": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Line Items"
          },
          "overage_cad": {
            "title": "Overage Cad",
            "type": "number"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "total_consumption_cad": {
            "title": "Total Consumption Cad",
            "type": "number"
          },
          "total_invoice_cad": {
            "title": "Total Invoice Cad",
            "type": "number"
          }
        },
        "required": [
          "id",
          "tenant_id",
          "billing_period_start",
          "billing_period_end",
          "external_invoice_id",
          "provider",
          "total_consumption_cad",
          "allocation_cad",
          "overage_cad",
          "admin_fee_cad",
          "total_invoice_cad",
          "line_items",
          "status"
        ],
        "title": "InvoiceResponse",
        "type": "object"
      },
      "KnowledgeBaseAttachBody": {
        "properties": {
          "knowledge_base_id": {
            "format": "uuid",
            "title": "Knowledge Base Id",
            "type": "string"
          }
        },
        "required": [
          "knowledge_base_id"
        ],
        "title": "KnowledgeBaseAttachBody",
        "type": "object"
      },
      "KnowledgeBaseCreateAndAttachBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "default": {},
            "title": "Config",
            "type": "object"
          },
          "query_policy": {
            "title": "Query Policy",
            "type": "string"
          },
          "source_kind": {
            "title": "Source Kind",
            "type": "string"
          }
        },
        "required": [
          "source_kind",
          "query_policy"
        ],
        "title": "KnowledgeBaseCreateAndAttachBody",
        "type": "object"
      },
      "KnowledgeBaseCreateBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "default": {},
            "title": "Config",
            "type": "object"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "query_policy": {
            "title": "Query Policy",
            "type": "string"
          },
          "source_kind": {
            "title": "Source Kind",
            "type": "string"
          },
          "urls": {
            "items": {
              "type": "string"
            },
            "title": "Urls",
            "type": "array"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/KnowledgeBaseVisibilityRequest"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "name",
          "source_kind",
          "query_policy"
        ],
        "title": "KnowledgeBaseCreateBody",
        "type": "object"
      },
      "KnowledgeBaseDocumentResponse": {
        "properties": {
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Type"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "file_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "File Id"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "indexing_strategy": {
            "title": "Indexing Strategy",
            "type": "string"
          },
          "knowledge_base_id": {
            "title": "Knowledge Base Id",
            "type": "string"
          },
          "last_processed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Processed At"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "path": {
            "title": "Path",
            "type": "string"
          },
          "protected_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Protected Url"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "knowledge_base_id",
          "path",
          "status",
          "file_id",
          "name",
          "description",
          "content_type",
          "protected_url",
          "indexing_strategy",
          "last_processed_at",
          "created_at",
          "updated_at"
        ],
        "title": "KnowledgeBaseDocumentResponse",
        "type": "object"
      },
      "KnowledgeBaseDocumentResponseList": {
        "items": {
          "$ref": "#/components/schemas/KnowledgeBaseDocumentResponse"
        },
        "title": "KnowledgeBaseDocumentResponseList",
        "type": "array"
      },
      "KnowledgeBaseFileUpdateBody": {
        "properties": {
          "file_description": {
            "title": "File Description",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          },
          "indexing_strategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IndexingStrategy"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "file_name",
          "file_description"
        ],
        "title": "KnowledgeBaseFileUpdateBody",
        "type": "object"
      },
      "KnowledgeBaseFileUploadResponse": {
        "properties": {
          "file_id": {
            "title": "File Id",
            "type": "string"
          },
          "knowledge_base_id": {
            "title": "Knowledge Base Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "file_id",
          "knowledge_base_id"
        ],
        "title": "KnowledgeBaseFileUploadResponse",
        "type": "object"
      },
      "KnowledgeBaseLinkResponse": {
        "properties": {
          "document_id": {
            "title": "Document Id",
            "type": "string"
          },
          "knowledge_base_id": {
            "title": "Knowledge Base Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "document_id",
          "knowledge_base_id"
        ],
        "title": "KnowledgeBaseLinkResponse",
        "type": "object"
      },
      "KnowledgeBaseResponse": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "title": "Config",
            "type": "object"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "embedding_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Embedding Model Id"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "indexation_status": {
            "title": "Indexation Status",
            "type": "string"
          },
          "last_indexed_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Indexed At"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owner_user_id": {
            "title": "Owner User Id",
            "type": "string"
          },
          "query_policy": {
            "title": "Query Policy",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "source_kind": {
            "title": "Source Kind",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "visibility": {
            "additionalProperties": true,
            "title": "Visibility",
            "type": "object"
          }
        },
        "required": [
          "id",
          "owner_user_id",
          "scope",
          "name",
          "description",
          "source_kind",
          "query_policy",
          "config",
          "visibility",
          "indexation_status",
          "last_indexed_at",
          "embedding_model_id",
          "created_at",
          "updated_at"
        ],
        "title": "KnowledgeBaseResponse",
        "type": "object"
      },
      "KnowledgeBaseResponseList": {
        "items": {
          "$ref": "#/components/schemas/KnowledgeBaseResponse"
        },
        "title": "KnowledgeBaseResponseList",
        "type": "array"
      },
      "KnowledgeBaseUpdateBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "default": {},
            "title": "Config",
            "type": "object"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/KnowledgeBaseVisibilityRequest"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "KnowledgeBaseUpdateBody",
        "type": "object"
      },
      "KnowledgeBaseVisibilityRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "KnowledgeBaseVisibilityRequest",
        "type": "object"
      },
      "KnowledgeSourceAssistantCreationAccessRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "KnowledgeSourceAssistantCreationAccessRequest",
        "type": "object"
      },
      "KnowledgeSourceBrowseResponse": {
        "properties": {
          "items": {
            "items": {
              "$ref": "#/components/schemas/KnowledgeSourceItemResponse"
            },
            "title": "Items",
            "type": "array"
          },
          "next_cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Next Cursor"
          },
          "resolved_config": {
            "additionalProperties": true,
            "title": "Resolved Config",
            "type": "object"
          }
        },
        "required": [
          "resolved_config",
          "items"
        ],
        "title": "KnowledgeSourceBrowseResponse",
        "type": "object"
      },
      "KnowledgeSourceCapabilitiesResponse": {
        "properties": {
          "required_scopes": {
            "items": {
              "type": "string"
            },
            "title": "Required Scopes",
            "type": "array"
          },
          "requires_indexing": {
            "title": "Requires Indexing",
            "type": "boolean"
          },
          "supports_hybrid": {
            "title": "Supports Hybrid",
            "type": "boolean"
          },
          "supports_native_search": {
            "title": "Supports Native Search",
            "type": "boolean"
          }
        },
        "required": [
          "supports_native_search",
          "requires_indexing",
          "supports_hybrid",
          "required_scopes"
        ],
        "title": "KnowledgeSourceCapabilitiesResponse",
        "type": "object"
      },
      "KnowledgeSourceConfigurationResponse": {
        "properties": {
          "allowed_resources": {
            "items": {
              "type": "string"
            },
            "title": "Allowed Resources",
            "type": "array"
          },
          "assistant_creation_access": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibilityResponse"
              },
              {
                "type": "null"
              }
            ]
          },
          "capabilities": {
            "$ref": "#/components/schemas/KnowledgeSourceCapabilitiesResponse"
          },
          "default_external_service_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Default External Service Name"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "external_service_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Service Name"
          },
          "source_kind": {
            "title": "Source Kind",
            "type": "string"
          }
        },
        "required": [
          "source_kind",
          "display_name",
          "capabilities",
          "default_external_service_name",
          "external_service_name",
          "allowed_resources",
          "assistant_creation_access"
        ],
        "title": "KnowledgeSourceConfigurationResponse",
        "type": "object"
      },
      "KnowledgeSourceConfigurationResponseList": {
        "items": {
          "$ref": "#/components/schemas/KnowledgeSourceConfigurationResponse"
        },
        "title": "KnowledgeSourceConfigurationResponseList",
        "type": "array"
      },
      "KnowledgeSourceItemResponse": {
        "properties": {
          "access_uri": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Access Uri"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "drive_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Drive Id"
          },
          "etag": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Etag"
          },
          "file_extension": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File Extension"
          },
          "is_directory": {
            "title": "Is Directory",
            "type": "boolean"
          },
          "mime_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Mime Type"
          },
          "parent_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parent Label"
          },
          "parent_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parent Path"
          },
          "path": {
            "title": "Path",
            "type": "string"
          },
          "remote_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Remote Id"
          },
          "site_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Site Id"
          },
          "size": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Size"
          }
        },
        "required": [
          "path",
          "display_name",
          "is_directory"
        ],
        "title": "KnowledgeSourceItemResponse",
        "type": "object"
      },
      "KnowledgeSourceResponse": {
        "properties": {
          "external_service_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "External Service Name"
          },
          "kind": {
            "title": "Kind",
            "type": "string"
          },
          "required_scopes": {
            "items": {
              "type": "string"
            },
            "title": "Required Scopes",
            "type": "array"
          },
          "requires_indexing": {
            "title": "Requires Indexing",
            "type": "boolean"
          },
          "supports_hybrid": {
            "title": "Supports Hybrid",
            "type": "boolean"
          },
          "supports_native_search": {
            "title": "Supports Native Search",
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "external_service_name",
          "supports_native_search",
          "requires_indexing",
          "supports_hybrid",
          "required_scopes"
        ],
        "title": "KnowledgeSourceResponse",
        "type": "object"
      },
      "KnowledgeSourceResponseList": {
        "items": {
          "$ref": "#/components/schemas/KnowledgeSourceResponse"
        },
        "title": "KnowledgeSourceResponseList",
        "type": "array"
      },
      "LLMFilterDocumentsRequest": {
        "properties": {
          "batch_size": {
            "default": 10,
            "title": "Batch Size",
            "type": "integer"
          },
          "context": {
            "default": "",
            "title": "Context",
            "type": "string"
          },
          "documents": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Documents",
            "type": "object"
          },
          "model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model Id"
          },
          "query": {
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "documents",
          "query"
        ],
        "title": "LLMFilterDocumentsRequest",
        "type": "object"
      },
      "LLMFilterDocumentsResponse": {
        "items": {
          "type": "string"
        },
        "title": "LLMFilterDocumentsResponse",
        "type": "array"
      },
      "LLMModelResponse": {
        "properties": {
          "api_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Api Id"
          },
          "capabilities_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Capabilities Tags"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "displayName": {
            "title": "Displayname",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "info_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Info Tags"
          },
          "knowledge_cutoff": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Knowledge Cutoff"
          },
          "limit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelLimitResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "llm_args": {
            "additionalProperties": true,
            "default": {},
            "title": "Llm Args",
            "type": "object"
          },
          "max_input_tokens": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Input Tokens"
          },
          "modalities": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelModalitiesResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "reasoning_options": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/ReasoningOptionResponse"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Reasoning Options"
          },
          "release_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Release Date"
          },
          "supports_sampling": {
            "default": true,
            "title": "Supports Sampling",
            "type": "boolean"
          },
          "supports_tools": {
            "default": true,
            "title": "Supports Tools",
            "type": "boolean"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tags"
          },
          "usage_pricing": {
            "additionalProperties": true,
            "default": {},
            "title": "Usage Pricing",
            "type": "object"
          }
        },
        "required": [
          "id",
          "provider",
          "displayName"
        ],
        "title": "LLMModelResponse",
        "type": "object"
      },
      "LLMModelResponseList": {
        "items": {
          "$ref": "#/components/schemas/LLMModelResponse"
        },
        "title": "LLMModelResponseList",
        "type": "array"
      },
      "LinkRequest": {
        "properties": {
          "id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Id"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "LinkRequest",
        "type": "object"
      },
      "LinkResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "id",
          "url",
          "status"
        ],
        "title": "LinkResponse",
        "type": "object"
      },
      "LinkResponseList": {
        "items": {
          "$ref": "#/components/schemas/LinkResponse"
        },
        "title": "LinkResponseList",
        "type": "array"
      },
      "ListAssistantsQuery": {
        "properties": {
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantType"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "ListAssistantsQuery",
        "type": "object"
      },
      "ListAuditLogsQuery": {
        "properties": {
          "mode": {
            "default": "instance",
            "title": "Mode",
            "type": "string"
          },
          "page": {
            "default": 1,
            "title": "Page",
            "type": "integer"
          },
          "page_size": {
            "default": 20,
            "title": "Page Size",
            "type": "integer"
          }
        },
        "title": "ListAuditLogsQuery",
        "type": "object"
      },
      "ListAutomationsQuery": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantType"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "ListAutomationsQuery",
        "type": "object"
      },
      "ListConversationsQuery": {
        "properties": {
          "after_timestamp": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "After Timestamp"
          },
          "assistant_filter_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantFilterMode"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "assistant_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "include_projects": {
            "default": true,
            "title": "Include Projects",
            "type": "boolean"
          },
          "is_system": {
            "default": false,
            "title": "Is System",
            "type": "boolean"
          },
          "limit": {
            "default": 10,
            "title": "Limit",
            "type": "integer"
          }
        },
        "title": "ListConversationsQuery",
        "type": "object"
      },
      "ListGlobalSkillsQuery": {
        "properties": {
          "order_by": {
            "default": "name_asc",
            "title": "Order By",
            "type": "string"
          },
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Search"
          },
          "usable_in": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SkillUsableIn"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "ListGlobalSkillsQuery",
        "type": "object"
      },
      "ListMediaModelsQuery": {
        "properties": {
          "tags": {
            "items": {
              "type": "string"
            },
            "title": "Tags",
            "type": "array"
          }
        },
        "title": "ListMediaModelsQuery",
        "type": "object"
      },
      "ListNotificationsQuery": {
        "properties": {
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NotificationListFilter"
              },
              {
                "type": "null"
              }
            ],
            "default": "all"
          }
        },
        "title": "ListNotificationsQuery",
        "type": "object"
      },
      "LocalizedStringResponse": {
        "properties": {
          "en": {
            "title": "En",
            "type": "string"
          },
          "fr": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Fr"
          }
        },
        "required": [
          "en"
        ],
        "title": "LocalizedStringResponse",
        "type": "object"
      },
      "LoginQuery": {
        "properties": {
          "nonce": {
            "title": "Nonce",
            "type": "string"
          }
        },
        "required": [
          "nonce"
        ],
        "title": "LoginQuery",
        "type": "object"
      },
      "LoginRequest": {
        "properties": {
          "nonce": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Nonce"
          },
          "oauth_token": {
            "title": "Oauth Token",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "tenant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tenant Id"
          }
        },
        "required": [
          "oauth_token",
          "nonce",
          "provider"
        ],
        "title": "LoginRequest",
        "type": "object"
      },
      "LoginResponse": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          },
          "refresh_token": {
            "title": "Refresh Token",
            "type": "string"
          }
        },
        "required": [
          "access_token",
          "refresh_token"
        ],
        "title": "LoginResponse",
        "type": "object"
      },
      "LogoutRequest": {
        "properties": {
          "refresh_token": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Refresh Token"
          }
        },
        "title": "LogoutRequest",
        "type": "object"
      },
      "LogoutResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "LogoutResponse",
        "type": "object"
      },
      "ManageableFeatureResponse": {
        "properties": {
          "control": {
            "title": "Control",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "tenant_managed_rollout": {
            "title": "Tenant Managed Rollout",
            "type": "boolean"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibilityResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "key",
          "control",
          "scope",
          "tenant_managed_rollout"
        ],
        "title": "ManageableFeatureResponse",
        "type": "object"
      },
      "ManageableFeatureResponseList": {
        "items": {
          "$ref": "#/components/schemas/ManageableFeatureResponse"
        },
        "title": "ManageableFeatureResponseList",
        "type": "array"
      },
      "McpOauthDisconnectBody": {
        "properties": {
          "mcp_server_url": {
            "title": "Mcp Server Url",
            "type": "string"
          }
        },
        "required": [
          "mcp_server_url"
        ],
        "title": "McpOauthDisconnectBody",
        "type": "object"
      },
      "McpOauthPrepareBody": {
        "properties": {
          "assistant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Assistant Id"
          },
          "mcp_server_url": {
            "title": "Mcp Server Url",
            "type": "string"
          }
        },
        "required": [
          "mcp_server_url"
        ],
        "title": "McpOauthPrepareBody",
        "type": "object"
      },
      "McpOauthPrepareResponse": {
        "properties": {
          "authorization_url": {
            "title": "Authorization Url",
            "type": "string"
          }
        },
        "required": [
          "authorization_url"
        ],
        "title": "McpOauthPrepareResponse",
        "type": "object"
      },
      "McpOauthServerStatus": {
        "properties": {
          "authenticated": {
            "title": "Authenticated",
            "type": "boolean"
          },
          "expires_at": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Expires At"
          },
          "has_tools": {
            "title": "Has Tools",
            "type": "boolean"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url",
          "authenticated",
          "has_tools"
        ],
        "title": "McpOauthServerStatus",
        "type": "object"
      },
      "McpOauthStatusResponse": {
        "properties": {
          "servers": {
            "items": {
              "$ref": "#/components/schemas/McpOauthServerStatus"
            },
            "title": "Servers",
            "type": "array"
          }
        },
        "required": [
          "servers"
        ],
        "title": "McpOauthStatusResponse",
        "type": "object"
      },
      "McpServer": {
        "properties": {
          "arguments": {
            "items": {
              "type": "string"
            },
            "title": "Arguments",
            "type": "array"
          },
          "command": {
            "title": "Command",
            "type": "string"
          },
          "environment": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Environment",
            "type": "object"
          },
          "external_service": {
            "title": "External Service",
            "type": "string"
          },
          "headers": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Headers",
            "type": "object"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "tools": {
            "items": {
              "$ref": "#/components/schemas/McpTool"
            },
            "title": "Tools",
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/McpServerType"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "McpServer",
        "type": "object"
      },
      "McpServerType": {
        "enum": [
          "stdio",
          "sse",
          "streamable_http"
        ],
        "title": "McpServerType",
        "type": "string"
      },
      "McpTool": {
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "inputSchema": {
            "additionalProperties": true,
            "title": "Inputschema",
            "type": "object"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "outputSchema": {
            "additionalProperties": true,
            "title": "Outputschema",
            "type": "object"
          }
        },
        "required": [
          "name",
          "inputSchema"
        ],
        "title": "McpTool",
        "type": "object"
      },
      "MembershipChange": {
        "properties": {
          "change_type": {
            "$ref": "#/components/schemas/MembershipChangeType"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error Message"
          },
          "member": {
            "$ref": "#/components/schemas/RemoteGroupMember"
          },
          "user_found": {
            "default": true,
            "title": "User Found",
            "type": "boolean"
          }
        },
        "required": [
          "member",
          "change_type"
        ],
        "title": "MembershipChange",
        "type": "object"
      },
      "MembershipChangeType": {
        "enum": [
          "add",
          "remove",
          "unchanged",
          "provision"
        ],
        "title": "MembershipChangeType",
        "type": "string"
      },
      "MemoryResponse": {
        "properties": {
          "always_inject": {
            "title": "Always Inject",
            "type": "boolean"
          },
          "assistant_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Assistant Id"
          },
          "category": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "content": {
            "title": "Content",
            "type": "string"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "sensitivity": {
            "title": "Sensitivity",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "user_id",
          "assistant_id",
          "content",
          "metadata",
          "scope",
          "category",
          "sensitivity",
          "always_inject",
          "created_at",
          "updated_at"
        ],
        "title": "MemoryResponse",
        "type": "object"
      },
      "MemoryResponseList": {
        "items": {
          "$ref": "#/components/schemas/MemoryResponse"
        },
        "title": "MemoryResponseList",
        "type": "array"
      },
      "MessageMetadata": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "files": {
            "items": {
              "$ref": "#/components/schemas/MetadataFile"
            },
            "title": "Files",
            "type": "array"
          },
          "function_permissions": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/FunctionPermission"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Permissions"
          },
          "token_usage": {
            "additionalProperties": true,
            "title": "Token Usage",
            "type": "object"
          },
          "tool_calls": {
            "items": {
              "$ref": "#/components/schemas/MetadataToolCall"
            },
            "title": "Tool Calls",
            "type": "array"
          }
        },
        "title": "MessageMetadata",
        "type": "object"
      },
      "MessageReasoning": {
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "text": {
            "title": "Text",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "title": "MessageReasoning",
        "type": "object"
      },
      "MessageResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "MessageResponse",
        "type": "object"
      },
      "MessageRole": {
        "enum": [
          "user",
          "assistant",
          "system",
          "developer",
          "tool",
          "function",
          "model"
        ],
        "title": "MessageRole",
        "type": "string"
      },
      "MessageToolCall": {
        "properties": {
          "function": {
            "$ref": "#/components/schemas/ToolCallFunction"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "function"
        ],
        "title": "MessageToolCall",
        "type": "object"
      },
      "MetadataFile": {
        "properties": {
          "content": {
            "title": "Content",
            "type": "string"
          },
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "content_type"
        ],
        "title": "MetadataFile",
        "type": "object"
      },
      "MetadataToolCall": {
        "properties": {
          "arguments": {
            "title": "Arguments",
            "type": "string"
          },
          "call_id": {
            "title": "Call Id",
            "type": "string"
          },
          "delegation_state": {
            "$ref": "#/components/schemas/DelegationOrchestratorState"
          },
          "function_permission_data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Function Permission Data"
          },
          "function_progress_output_url": {
            "title": "Function Progress Output Url",
            "type": "string"
          },
          "output_metadata": {
            "additionalProperties": true,
            "title": "Output Metadata",
            "type": "object"
          },
          "tool_name": {
            "title": "Tool Name",
            "type": "string"
          }
        },
        "title": "MetadataToolCall",
        "type": "object"
      },
      "MissingDependencyResponse": {
        "properties": {
          "package": {
            "$ref": "#/components/schemas/CatalogPackageResponse"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "required_min_version": {
            "title": "Required Min Version",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "package_id",
          "required_min_version",
          "package"
        ],
        "title": "MissingDependencyResponse",
        "type": "object"
      },
      "ModelLibraryMetadataResponse": {
        "properties": {
          "capabilities_tags": {
            "items": {
              "type": "string"
            },
            "title": "Capabilities Tags",
            "type": "array"
          },
          "providers": {
            "items": {
              "type": "string"
            },
            "title": "Providers",
            "type": "array"
          }
        },
        "required": [
          "providers",
          "capabilities_tags"
        ],
        "title": "ModelLibraryMetadataResponse",
        "type": "object"
      },
      "ModelLimitResponse": {
        "properties": {
          "context": {
            "title": "Context",
            "type": "integer"
          },
          "input": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Input"
          },
          "output": {
            "title": "Output",
            "type": "integer"
          }
        },
        "required": [
          "context",
          "output"
        ],
        "title": "ModelLimitResponse",
        "type": "object"
      },
      "ModelModalitiesResponse": {
        "properties": {
          "input": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Input",
            "type": "array"
          },
          "output": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Output",
            "type": "array"
          }
        },
        "title": "ModelModalitiesResponse",
        "type": "object"
      },
      "ModelVisibility": {
        "properties": {
          "collaborator_group_ids": {
            "items": {
              "type": "string"
            },
            "title": "Collaborator Group Ids",
            "type": "array"
          },
          "collaborator_ids": {
            "items": {
              "type": "string"
            },
            "title": "Collaborator Ids",
            "type": "array"
          },
          "collaborator_team_ids": {
            "items": {
              "type": "string"
            },
            "title": "Collaborator Team Ids",
            "type": "array"
          },
          "group_ids": {
            "items": {
              "type": "string"
            },
            "title": "Group Ids",
            "type": "array"
          },
          "team_ids": {
            "items": {
              "type": "string"
            },
            "title": "Team Ids",
            "type": "array"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_ids": {
            "items": {
              "type": "string"
            },
            "title": "User Ids",
            "type": "array"
          }
        },
        "required": [
          "type"
        ],
        "title": "ModelVisibility",
        "type": "object"
      },
      "ModelVisibilityRequest": {
        "properties": {
          "collaborator_group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Group Ids"
          },
          "collaborator_team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborator Team Ids"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Collaborators"
          },
          "group_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Ids"
          },
          "team_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Team Ids"
          },
          "type": {
            "$ref": "#/components/schemas/VisibilityType"
          },
          "user_emails": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Emails"
          }
        },
        "required": [
          "type"
        ],
        "title": "ModelVisibilityRequest",
        "type": "object"
      },
      "ModelVisibilityResponse": {
        "properties": {
          "collaborator_groups": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedGroup"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collaborator Groups"
          },
          "collaborator_teams": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedTeam"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collaborator Teams"
          },
          "collaborators": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedUser"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collaborators"
          },
          "groups": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedGroup"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Groups"
          },
          "shared_users": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedUser"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Shared Users"
          },
          "teams": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/SharedTeam"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Teams"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "shared_users",
          "collaborators",
          "groups",
          "collaborator_groups",
          "teams",
          "collaborator_teams"
        ],
        "title": "ModelVisibilityResponse",
        "type": "object"
      },
      "ModelsQuery": {
        "properties": {
          "capability_tag": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Capability Tag"
          },
          "info_tag": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Info Tag"
          }
        },
        "title": "ModelsQuery",
        "type": "object"
      },
      "MultiImageResponse": {
        "properties": {
          "images": {
            "items": {
              "$ref": "#/components/schemas/ImageWithMetadata"
            },
            "title": "Images",
            "type": "array"
          }
        },
        "required": [
          "images"
        ],
        "title": "MultiImageResponse",
        "type": "object"
      },
      "NotificationEndpointBody": {
        "properties": {
          "endpoint_data": {
            "additionalProperties": true,
            "title": "Endpoint Data",
            "type": "object"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "endpoint_data"
        ],
        "title": "NotificationEndpointBody",
        "type": "object"
      },
      "NotificationEndpointResponse": {
        "properties": {
          "endpoint_data": {
            "additionalProperties": true,
            "title": "Endpoint Data",
            "type": "object"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "endpoint_data",
          "user_id"
        ],
        "title": "NotificationEndpointResponse",
        "type": "object"
      },
      "NotificationListFilter": {
        "enum": [
          "all",
          "unread"
        ],
        "title": "NotificationListFilter",
        "type": "string"
      },
      "NotificationPreferencesResponse": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "boolean"
          }
        },
        "required": [
          "email"
        ],
        "title": "NotificationPreferencesResponse",
        "type": "object"
      },
      "NotificationResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Data"
          },
          "entity_id": {
            "title": "Entity Id",
            "type": "string"
          },
          "entity_type": {
            "title": "Entity Type",
            "type": "string"
          },
          "event": {
            "title": "Event",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "read_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Read At"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "uris": {
            "anyOf": [
              {
                "items": {
                  "additionalProperties": true,
                  "type": "object"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Uris"
          }
        },
        "required": [
          "id",
          "entity_type",
          "entity_id",
          "event",
          "type",
          "uris",
          "data",
          "read_at",
          "created_at"
        ],
        "title": "NotificationResponse",
        "type": "object"
      },
      "NotificationResponseList": {
        "items": {
          "$ref": "#/components/schemas/NotificationResponse"
        },
        "title": "NotificationResponseList",
        "type": "array"
      },
      "NotificationTypeResult": {
        "properties": {
          "endpoints_failed": {
            "title": "Endpoints Failed",
            "type": "integer"
          },
          "endpoints_reached": {
            "title": "Endpoints Reached",
            "type": "integer"
          },
          "error_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error Message"
          },
          "invalid_endpoints_removed": {
            "title": "Invalid Endpoints Removed",
            "type": "integer"
          }
        },
        "required": [
          "endpoints_reached",
          "endpoints_failed",
          "invalid_endpoints_removed"
        ],
        "title": "NotificationTypeResult",
        "type": "object"
      },
      "NotificationsTarget": {
        "enum": [
          "device",
          "email",
          "slack",
          "in_app"
        ],
        "title": "NotificationsTarget",
        "type": "string"
      },
      "OAuthCallbackQuery": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Code"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error"
          },
          "state": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "State"
          }
        },
        "title": "OAuthCallbackQuery",
        "type": "object"
      },
      "OpenAIChatCompletionRequest": {
        "additionalProperties": true,
        "properties": {
          "messages": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Messages",
            "type": "array"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "stream": {
            "default": false,
            "title": "Stream",
            "type": "boolean"
          }
        },
        "required": [
          "model",
          "messages"
        ],
        "title": "OpenAIChatCompletionRequest",
        "type": "object"
      },
      "OpenaiCompatibleModel": {
        "properties": {
          "context_length": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Context Length"
          },
          "created": {
            "title": "Created",
            "type": "integer"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "object": {
            "default": "model",
            "title": "Object",
            "type": "string"
          },
          "owned_by": {
            "title": "Owned By",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created",
          "owned_by"
        ],
        "title": "OpenaiCompatibleModel",
        "type": "object"
      },
      "OpenaiCompatibleModelsResponse": {
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/OpenaiCompatibleModel"
            },
            "title": "Data",
            "type": "array"
          },
          "object": {
            "default": "list",
            "title": "Object",
            "type": "string"
          }
        },
        "required": [
          "data"
        ],
        "title": "OpenaiCompatibleModelsResponse",
        "type": "object"
      },
      "OwnershipCandidateResponse": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Avatar Url"
          },
          "email": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Email"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "type": {
            "enum": [
              "user",
              "team"
            ],
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "name",
          "email",
          "avatar_url"
        ],
        "title": "OwnershipCandidateResponse",
        "type": "object"
      },
      "OwnershipCandidateResponseList": {
        "items": {
          "$ref": "#/components/schemas/OwnershipCandidateResponse"
        },
        "title": "OwnershipCandidateResponseList",
        "type": "array"
      },
      "OwnershipCandidatesQuery": {
        "properties": {
          "search": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Search"
          }
        },
        "title": "OwnershipCandidatesQuery",
        "type": "object"
      },
      "PackageDependencyResponse": {
        "properties": {
          "min_version": {
            "title": "Min Version",
            "type": "string"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "package_id",
          "min_version"
        ],
        "title": "PackageDependencyResponse",
        "type": "object"
      },
      "PackageVariableSpecResponse": {
        "properties": {
          "en": {
            "title": "En",
            "type": "string"
          },
          "fr": {
            "title": "Fr",
            "type": "string"
          }
        },
        "required": [
          "en",
          "fr"
        ],
        "title": "PackageVariableSpecResponse",
        "type": "object"
      },
      "PackageVersionResponse": {
        "properties": {
          "dependencies": {
            "items": {
              "$ref": "#/components/schemas/PackageDependencyResponse"
            },
            "title": "Dependencies",
            "type": "array"
          },
          "external_services": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "is_compatible": {
            "title": "Is Compatible",
            "type": "boolean"
          },
          "min_forra_version": {
            "title": "Min Forra Version",
            "type": "string"
          },
          "secrets_to_provide": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PackageVariableSpecResponse"
            },
            "title": "Secrets To Provide",
            "type": "object"
          },
          "source_hash": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Source Hash"
          },
          "source_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Source Url"
          },
          "variables_to_provide": {
            "additionalProperties": {
              "$ref": "#/components/schemas/PackageVariableSpecResponse"
            },
            "title": "Variables To Provide",
            "type": "object"
          },
          "version": {
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "version",
          "min_forra_version",
          "is_compatible",
          "dependencies",
          "variables_to_provide",
          "secrets_to_provide"
        ],
        "title": "PackageVersionResponse",
        "type": "object"
      },
      "PatchAssistantRequest": {
        "properties": {
          "allowed_external_services": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed External Services"
          },
          "allowed_functions": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Functions"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "content_retrieving_strategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContentRetrievingStrategy"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "delegations": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/DelegationRequest"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Delegations"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "instructions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Instructions"
          },
          "links": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/LinkRequest"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Links"
          },
          "llm_args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Llm Args"
          },
          "mcp_servers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/McpServer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Mcp Servers"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "prompt_starters": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Prompt Starters"
          },
          "secrets": {
            "anyOf": [
              {
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Secrets"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantType"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          },
          "use_system_prompt": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Use System Prompt"
          },
          "variables": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Variables"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantVisibilityRequest"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "title": "PatchAssistantRequest",
        "type": "object"
      },
      "PrepareLoginResponse": {
        "properties": {
          "nonce": {
            "title": "Nonce",
            "type": "string"
          }
        },
        "required": [
          "nonce"
        ],
        "title": "PrepareLoginResponse",
        "type": "object"
      },
      "ProjectMemberResponse": {
        "properties": {
          "first_opened_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "First Opened At"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "invited_by_user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Invited By User Id"
          },
          "joined_at": {
            "title": "Joined At",
            "type": "string"
          },
          "project_id": {
            "title": "Project Id",
            "type": "string"
          },
          "role": {
            "title": "Role",
            "type": "string"
          },
          "user": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/UserResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "id",
          "project_id",
          "user_id",
          "role",
          "joined_at"
        ],
        "title": "ProjectMemberResponse",
        "type": "object"
      },
      "ProjectMemberResponseList": {
        "items": {
          "$ref": "#/components/schemas/ProjectMemberResponse"
        },
        "title": "ProjectMemberResponseList",
        "type": "array"
      },
      "ProjectResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "current_user_role": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Current User Role"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owner_team_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner Team Id"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner User Id"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "title": "ProjectResponse",
        "type": "object"
      },
      "ProjectResponseList": {
        "items": {
          "$ref": "#/components/schemas/ProjectResponse"
        },
        "title": "ProjectResponseList",
        "type": "array"
      },
      "PromoteProjectToTeamBody": {
        "properties": {
          "team_id": {
            "title": "Team Id",
            "type": "string"
          }
        },
        "required": [
          "team_id"
        ],
        "title": "PromoteProjectToTeamBody",
        "type": "object"
      },
      "ProviderApiKeysResponse": {
        "properties": {
          "overrides": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "title": "Overrides",
            "type": "object"
          }
        },
        "required": [
          "overrides"
        ],
        "title": "ProviderApiKeysResponse",
        "type": "object"
      },
      "ProviderSkuCostRowResponse": {
        "properties": {
          "cost_usd": {
            "title": "Cost Usd",
            "type": "number"
          },
          "pct_of_provider": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pct Of Provider"
          },
          "sku": {
            "title": "Sku",
            "type": "string"
          }
        },
        "required": [
          "sku",
          "cost_usd",
          "pct_of_provider"
        ],
        "title": "ProviderSkuCostRowResponse",
        "type": "object"
      },
      "ProvisioningMode": {
        "enum": [
          "OPEN",
          "INVITE_ONLY",
          "IDP_MANAGED"
        ],
        "title": "ProvisioningMode",
        "type": "string"
      },
      "ProvisioningModeResponse": {
        "properties": {
          "provisioning_mode": {
            "$ref": "#/components/schemas/ProvisioningMode"
          }
        },
        "required": [
          "provisioning_mode"
        ],
        "title": "ProvisioningModeResponse",
        "type": "object"
      },
      "QueryAssistantDataResponse": {
        "items": {
          "$ref": "#/components/schemas/AssistantDataResponseItem"
        },
        "title": "QueryAssistantDataResponse",
        "type": "array"
      },
      "QueryGroupsQuery": {
        "properties": {
          "query": {
            "default": "",
            "title": "Query",
            "type": "string"
          }
        },
        "title": "QueryGroupsQuery",
        "type": "object"
      },
      "QueryUsersQuery": {
        "properties": {
          "query": {
            "default": "",
            "title": "Query",
            "type": "string"
          }
        },
        "title": "QueryUsersQuery",
        "type": "object"
      },
      "ReasoningOptionResponse": {
        "properties": {
          "max": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max"
          },
          "min": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Min"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "values": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Values"
          }
        },
        "required": [
          "type"
        ],
        "title": "ReasoningOptionResponse",
        "type": "object"
      },
      "ReconciliationModelRowResponse": {
        "properties": {
          "gap_percentage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gap Percentage"
          },
          "gap_usd": {
            "title": "Gap Usd",
            "type": "number"
          },
          "internal_cost_usd": {
            "title": "Internal Cost Usd",
            "type": "number"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "provider_cost_usd": {
            "title": "Provider Cost Usd",
            "type": "number"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "model",
          "provider_cost_usd",
          "internal_cost_usd",
          "gap_usd",
          "gap_percentage",
          "status"
        ],
        "title": "ReconciliationModelRowResponse",
        "type": "object"
      },
      "ReconciliationProviderRowResponse": {
        "properties": {
          "data_status": {
            "title": "Data Status",
            "type": "string"
          },
          "gap_percentage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gap Percentage"
          },
          "gap_usd": {
            "title": "Gap Usd",
            "type": "number"
          },
          "internal_cost_usd": {
            "title": "Internal Cost Usd",
            "type": "number"
          },
          "last_synced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Synced At"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/ReconciliationModelRowResponse"
            },
            "title": "Models",
            "type": "array"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "provider_cost_usd": {
            "title": "Provider Cost Usd",
            "type": "number"
          },
          "sku_breakdown": {
            "items": {
              "$ref": "#/components/schemas/ProviderSkuCostRowResponse"
            },
            "title": "Sku Breakdown",
            "type": "array"
          }
        },
        "required": [
          "provider",
          "provider_cost_usd",
          "internal_cost_usd",
          "gap_usd",
          "gap_percentage",
          "last_synced_at",
          "data_status",
          "models",
          "sku_breakdown"
        ],
        "title": "ReconciliationProviderRowResponse",
        "type": "object"
      },
      "ReconciliationSummaryResponse": {
        "properties": {
          "from_date": {
            "title": "From Date",
            "type": "string"
          },
          "providers": {
            "items": {
              "$ref": "#/components/schemas/ReconciliationProviderRowResponse"
            },
            "title": "Providers",
            "type": "array"
          },
          "to_date": {
            "title": "To Date",
            "type": "string"
          },
          "total_gap_usd": {
            "title": "Total Gap Usd",
            "type": "number"
          },
          "total_internal_cost_usd": {
            "title": "Total Internal Cost Usd",
            "type": "number"
          },
          "total_provider_cost_usd": {
            "title": "Total Provider Cost Usd",
            "type": "number"
          }
        },
        "required": [
          "from_date",
          "to_date",
          "total_provider_cost_usd",
          "total_internal_cost_usd",
          "total_gap_usd",
          "providers"
        ],
        "title": "ReconciliationSummaryResponse",
        "type": "object"
      },
      "RefreshAvailableGroupsResponse": {
        "properties": {
          "groups_fetched": {
            "title": "Groups Fetched",
            "type": "integer"
          }
        },
        "required": [
          "groups_fetched"
        ],
        "title": "RefreshAvailableGroupsResponse",
        "type": "object"
      },
      "RefreshTokenResponse": {
        "properties": {
          "access_token": {
            "title": "Access Token",
            "type": "string"
          }
        },
        "required": [
          "access_token"
        ],
        "title": "RefreshTokenResponse",
        "type": "object"
      },
      "RemoteGroup": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "members": {
            "items": {
              "$ref": "#/components/schemas/RemoteGroupMember"
            },
            "title": "Members",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "remote_id": {
            "title": "Remote Id",
            "type": "string"
          }
        },
        "required": [
          "remote_id",
          "name"
        ],
        "title": "RemoteGroup",
        "type": "object"
      },
      "RemoteGroupMember": {
        "properties": {
          "display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Display Name"
          },
          "email": {
            "title": "Email",
            "type": "string"
          }
        },
        "required": [
          "email"
        ],
        "title": "RemoteGroupMember",
        "type": "object"
      },
      "ReorderFavouritesRequest": {
        "properties": {
          "order": {
            "items": {
              "$ref": "#/components/schemas/FavouriteOrderItem"
            },
            "title": "Order",
            "type": "array"
          }
        },
        "required": [
          "order"
        ],
        "title": "ReorderFavouritesRequest",
        "type": "object"
      },
      "ReplaceConversationPayloadRequest": {
        "properties": {
          "payload": {
            "items": {
              "$ref": "#/components/schemas/ConversationMessage"
            },
            "title": "Payload",
            "type": "array"
          }
        },
        "required": [
          "payload"
        ],
        "title": "ReplaceConversationPayloadRequest",
        "type": "object"
      },
      "ResourceRight": {
        "enum": [
          "READ",
          "WRITE",
          "UPDATE",
          "DELETE",
          "*"
        ],
        "title": "ResourceRight",
        "type": "string"
      },
      "RevokeApiTokenResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "RevokeApiTokenResponse",
        "type": "object"
      },
      "RunAutomationRequest": {
        "properties": {
          "runtime_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Runtime Message"
          },
          "runtime_parameters": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Runtime Parameters"
          }
        },
        "title": "RunAutomationRequest",
        "type": "object"
      },
      "SatisfiedDependencyResponse": {
        "properties": {
          "installed_version": {
            "title": "Installed Version",
            "type": "string"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type",
          "package_id",
          "installed_version"
        ],
        "title": "SatisfiedDependencyResponse",
        "type": "object"
      },
      "SchedulesResponse": {
        "properties": {
          "next_run_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Run Date"
          },
          "schedule_list": {
            "items": {
              "type": "string"
            },
            "title": "Schedule List",
            "type": "array"
          }
        },
        "required": [
          "schedule_list",
          "next_run_date"
        ],
        "title": "SchedulesResponse",
        "type": "object"
      },
      "SearchAssistantDataRequest": {
        "properties": {
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "exact_match": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Exact Match"
          },
          "query": {
            "title": "Query",
            "type": "string"
          },
          "strategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContentRetrievingStrategy"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "where": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Where"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchAssistantDataRequest",
        "type": "object"
      },
      "SearchQuery": {
        "properties": {
          "limit": {
            "default": 10,
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "default": 0,
            "title": "Offset",
            "type": "integer"
          },
          "q": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "",
            "title": "Q"
          }
        },
        "title": "SearchQuery",
        "type": "object"
      },
      "SearchResponse": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "query": {
            "default": "",
            "title": "Query",
            "type": "string"
          },
          "results": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ConversationSearchResult"
                },
                {
                  "$ref": "#/components/schemas/AssistantSearchResult"
                }
              ]
            },
            "title": "Results",
            "type": "array"
          },
          "total": {
            "default": 0,
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "results",
          "count"
        ],
        "title": "SearchResponse",
        "type": "object"
      },
      "SearchSourceBody": {
        "properties": {
          "config": {
            "additionalProperties": true,
            "default": {},
            "title": "Config",
            "type": "object"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Cursor"
          },
          "parent_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Parent Path"
          },
          "query": {
            "minLength": 1,
            "title": "Query",
            "type": "string"
          }
        },
        "required": [
          "query"
        ],
        "title": "SearchSourceBody",
        "type": "object"
      },
      "SendNotificationRequest": {
        "properties": {
          "body": {
            "title": "Body",
            "type": "string"
          },
          "data": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Data"
          },
          "notification_types": {
            "items": {
              "$ref": "#/components/schemas/NotificationsTarget"
            },
            "title": "Notification Types",
            "type": "array"
          },
          "title": {
            "title": "Title",
            "type": "string"
          }
        },
        "required": [
          "title",
          "body",
          "notification_types"
        ],
        "title": "SendNotificationRequest",
        "type": "object"
      },
      "SendNotificationResponse": {
        "properties": {
          "results_by_type": {
            "additionalProperties": {
              "$ref": "#/components/schemas/NotificationTypeResult"
            },
            "propertyNames": {
              "$ref": "#/components/schemas/NotificationsTarget"
            },
            "title": "Results By Type",
            "type": "object"
          },
          "total_endpoints_reached": {
            "title": "Total Endpoints Reached",
            "type": "integer"
          }
        },
        "required": [
          "results_by_type",
          "total_endpoints_reached"
        ],
        "title": "SendNotificationResponse",
        "type": "object"
      },
      "ServerVersionResponse": {
        "properties": {
          "server_version": {
            "title": "Server Version",
            "type": "string"
          }
        },
        "required": [
          "server_version"
        ],
        "title": "ServerVersionResponse",
        "type": "object"
      },
      "ServiceVisibilityUpdate": {
        "properties": {
          "service_name": {
            "title": "Service Name",
            "type": "string"
          },
          "visibility": {
            "$ref": "#/components/schemas/ExternalServiceVisibilityRequest"
          }
        },
        "required": [
          "service_name",
          "visibility"
        ],
        "title": "ServiceVisibilityUpdate",
        "type": "object"
      },
      "SetAssistantUserDataRequest": {
        "properties": {
          "data": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              }
            ],
            "title": "Data"
          }
        },
        "required": [
          "data"
        ],
        "title": "SetAssistantUserDataRequest",
        "type": "object"
      },
      "SetCatalogMetadataRequest": {
        "properties": {
          "catalog_package_id": {
            "title": "Catalog Package Id",
            "type": "string"
          },
          "catalog_package_version": {
            "title": "Catalog Package Version",
            "type": "string"
          }
        },
        "required": [
          "catalog_package_id",
          "catalog_package_version"
        ],
        "title": "SetCatalogMetadataRequest",
        "type": "object"
      },
      "SharedGroup": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "is_active": {
            "title": "Is Active",
            "type": "boolean"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "is_active"
        ],
        "title": "SharedGroup",
        "type": "object"
      },
      "SharedTeam": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "SharedTeam",
        "type": "object"
      },
      "SharedUser": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "title": "First Name",
            "type": "string"
          },
          "last_name": {
            "title": "Last Name",
            "type": "string"
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Picture Url"
          }
        },
        "required": [
          "first_name",
          "last_name",
          "email",
          "picture_url"
        ],
        "title": "SharedUser",
        "type": "object"
      },
      "SignedUploadUrlResponse": {
        "properties": {
          "content_type": {
            "default": "",
            "title": "Content Type",
            "type": "string"
          },
          "fields": {
            "additionalProperties": true,
            "default": {},
            "title": "Fields",
            "type": "object"
          },
          "prefix": {
            "default": "",
            "title": "Prefix",
            "type": "string"
          },
          "protected_url": {
            "default": "",
            "title": "Protected Url",
            "type": "string"
          },
          "upload_mode": {
            "$ref": "#/components/schemas/UploadMode",
            "default": "post"
          },
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "SignedUploadUrlResponse",
        "type": "object"
      },
      "SignedUrlResponse": {
        "properties": {
          "url": {
            "title": "Url",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "title": "SignedUrlResponse",
        "type": "object"
      },
      "SignedUrlUploadRequest": {
        "properties": {
          "file_path": {
            "title": "File Path",
            "type": "string"
          }
        },
        "required": [
          "file_path"
        ],
        "title": "SignedUrlUploadRequest",
        "type": "object"
      },
      "SkillBuilderJobData": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "celery_task_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Celery Task Id"
          },
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "function_output_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Function Output Url"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "is_completed": {
            "default": false,
            "title": "Is Completed",
            "type": "boolean"
          },
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "run_protected_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Run Protected Url"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Filename"
          },
          "skill_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Id"
          },
          "skill_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Name"
          },
          "status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Status"
          },
          "type": {
            "default": "skills_builder_job",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "job_id",
          "assistant_id",
          "created_at",
          "instructions",
          "external_services"
        ],
        "title": "SkillBuilderJobData",
        "type": "object"
      },
      "SkillBuilderJobDataList": {
        "items": {
          "$ref": "#/components/schemas/SkillBuilderJobData"
        },
        "title": "SkillBuilderJobDataList",
        "type": "array"
      },
      "SkillDeletionResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message"
        ],
        "title": "SkillDeletionResponse",
        "type": "object"
      },
      "SkillDetailResponse": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "catalog_package_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Id"
          },
          "catalog_package_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Version"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "functions_file_remote_path": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions File Remote Path"
          },
          "functions_schema": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions Schema"
          },
          "functions_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions Status"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "mcp_server": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/McpServer"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "secrets": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Secrets",
            "type": "array"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Filename"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "usable_in": {
            "items": {
              "type": "string"
            },
            "title": "Usable In",
            "type": "array"
          },
          "variables": {
            "additionalProperties": {
              "type": "string"
            },
            "default": {},
            "title": "Variables",
            "type": "object"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibilityResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "scope",
          "usable_in",
          "created_at",
          "updated_at",
          "external_services"
        ],
        "title": "SkillDetailResponse",
        "type": "object"
      },
      "SkillSummaryResponse": {
        "properties": {
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "catalog_package_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Id"
          },
          "catalog_package_version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Catalog Package Version"
          },
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "external_services": {
            "items": {
              "type": "string"
            },
            "title": "External Services",
            "type": "array"
          },
          "functions_schema": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions Schema"
          },
          "functions_status": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Functions Status"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          },
          "skill_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Filename"
          },
          "type": {
            "title": "Type",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          },
          "usable_in": {
            "items": {
              "type": "string"
            },
            "title": "Usable In",
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "scope",
          "usable_in",
          "created_at",
          "updated_at",
          "external_services"
        ],
        "title": "SkillSummaryResponse",
        "type": "object"
      },
      "SkillSummaryResponseList": {
        "items": {
          "$ref": "#/components/schemas/SkillSummaryResponse"
        },
        "title": "SkillSummaryResponseList",
        "type": "array"
      },
      "SkillUploadAvatarResponse": {
        "properties": {
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "protected_url": {
            "title": "Protected Url",
            "type": "string"
          }
        },
        "required": [
          "content_type",
          "protected_url"
        ],
        "title": "SkillUploadAvatarResponse",
        "type": "object"
      },
      "SkillUploadResponse": {
        "properties": {
          "message": {
            "title": "Message",
            "type": "string"
          },
          "skill_id": {
            "title": "Skill Id",
            "type": "string"
          }
        },
        "required": [
          "message",
          "skill_id"
        ],
        "title": "SkillUploadResponse",
        "type": "object"
      },
      "SkillUsableIn": {
        "enum": [
          "ASSISTANTS",
          "CONVERSATIONS"
        ],
        "title": "SkillUsableIn",
        "type": "string"
      },
      "SpecificUserLimitResponse": {
        "properties": {
          "emails": {
            "items": {
              "type": "string"
            },
            "title": "Emails",
            "type": "array"
          },
          "limits": {
            "$ref": "#/components/schemas/UserLimitsResponse"
          }
        },
        "required": [
          "emails",
          "limits"
        ],
        "title": "SpecificUserLimitResponse",
        "type": "object"
      },
      "StreamingSessionResponse": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "title": "StreamingSessionResponse",
        "type": "object"
      },
      "SwitchTenantRequest": {
        "properties": {
          "tenant_id": {
            "format": "uuid",
            "title": "Tenant Id",
            "type": "string"
          }
        },
        "required": [
          "tenant_id"
        ],
        "title": "SwitchTenantRequest",
        "type": "object"
      },
      "SyncGroupsRequest": {
        "properties": {
          "dry_run": {
            "default": false,
            "title": "Dry Run",
            "type": "boolean"
          }
        },
        "title": "SyncGroupsRequest",
        "type": "object"
      },
      "SyncGroupsResponse": {
        "properties": {
          "dry_run": {
            "title": "Dry Run",
            "type": "boolean"
          },
          "group_changes": {
            "items": {
              "$ref": "#/components/schemas/GroupChange"
            },
            "title": "Group Changes",
            "type": "array"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/RemoteGroup"
            },
            "title": "Groups",
            "type": "array"
          },
          "stats": {
            "$ref": "#/components/schemas/SyncGroupsStats"
          }
        },
        "required": [
          "groups",
          "group_changes",
          "stats",
          "dry_run"
        ],
        "title": "SyncGroupsResponse",
        "type": "object"
      },
      "SyncGroupsStats": {
        "properties": {
          "errors": {
            "items": {
              "type": "string"
            },
            "title": "Errors",
            "type": "array"
          },
          "groups_found": {
            "title": "Groups Found",
            "type": "integer"
          },
          "groups_ignored": {
            "title": "Groups Ignored",
            "type": "integer"
          },
          "groups_to_create": {
            "title": "Groups To Create",
            "type": "integer"
          },
          "groups_to_update": {
            "title": "Groups To Update",
            "type": "integer"
          },
          "memberships_to_add": {
            "title": "Memberships To Add",
            "type": "integer"
          },
          "memberships_to_remove": {
            "title": "Memberships To Remove",
            "type": "integer"
          },
          "users_not_found": {
            "title": "Users Not Found",
            "type": "integer"
          },
          "users_to_provision": {
            "default": 0,
            "title": "Users To Provision",
            "type": "integer"
          }
        },
        "required": [
          "groups_found",
          "groups_to_create",
          "groups_to_update",
          "groups_ignored",
          "memberships_to_add",
          "memberships_to_remove",
          "users_not_found",
          "errors"
        ],
        "title": "SyncGroupsStats",
        "type": "object"
      },
      "SyncHistoryResponse": {
        "properties": {
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "runs": {
            "items": {
              "$ref": "#/components/schemas/GroupSyncRunResponse"
            },
            "title": "Runs",
            "type": "array"
          },
          "total": {
            "title": "Total",
            "type": "integer"
          }
        },
        "required": [
          "runs",
          "total",
          "limit",
          "offset"
        ],
        "title": "SyncHistoryResponse",
        "type": "object"
      },
      "TeamPrincipalsBody": {
        "properties": {
          "group_ids": {
            "default": [],
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "Group Ids",
            "type": "array"
          },
          "user_ids": {
            "default": [],
            "items": {
              "format": "uuid",
              "type": "string"
            },
            "title": "User Ids",
            "type": "array"
          }
        },
        "title": "TeamPrincipalsBody",
        "type": "object"
      },
      "TeamPrincipalsResponse": {
        "properties": {
          "group_ids": {
            "items": {
              "type": "string"
            },
            "title": "Group Ids",
            "type": "array"
          },
          "groups": {
            "items": {
              "$ref": "#/components/schemas/GroupResponse"
            },
            "title": "Groups",
            "type": "array"
          },
          "user_ids": {
            "items": {
              "type": "string"
            },
            "title": "User Ids",
            "type": "array"
          },
          "users": {
            "items": {
              "$ref": "#/components/schemas/UserResponse"
            },
            "title": "Users",
            "type": "array"
          }
        },
        "required": [
          "user_ids",
          "group_ids",
          "users",
          "groups"
        ],
        "title": "TeamPrincipalsResponse",
        "type": "object"
      },
      "TeamResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "members": {
            "$ref": "#/components/schemas/TeamPrincipalsResponse"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owners": {
            "$ref": "#/components/schemas/TeamPrincipalsResponse"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "tenant_id",
          "owners",
          "members",
          "created_at",
          "updated_at"
        ],
        "title": "TeamResponse",
        "type": "object"
      },
      "TeamResponseList": {
        "items": {
          "$ref": "#/components/schemas/TeamResponse"
        },
        "title": "TeamResponseList",
        "type": "array"
      },
      "TemplateCanvasResponse": {
        "properties": {
          "html": {
            "title": "Html",
            "type": "string"
          }
        },
        "required": [
          "html"
        ],
        "title": "TemplateCanvasResponse",
        "type": "object"
      },
      "TemplateResponse": {
        "properties": {
          "canvas": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TemplateCanvasResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "description": {
            "$ref": "#/components/schemas/LocalizedStringResponse"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "logo_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Logo Url"
          },
          "name": {
            "$ref": "#/components/schemas/LocalizedStringResponse"
          },
          "required_external_services": {
            "items": {
              "type": "string"
            },
            "title": "Required External Services",
            "type": "array"
          },
          "starter_prompt": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LocalizedStringResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "type": {
            "$ref": "#/components/schemas/AssistantType"
          },
          "version": {
            "title": "Version",
            "type": "string"
          }
        },
        "required": [
          "id",
          "version",
          "type",
          "name",
          "description",
          "required_external_services"
        ],
        "title": "TemplateResponse",
        "type": "object"
      },
      "TemplateResponseList": {
        "items": {
          "$ref": "#/components/schemas/TemplateResponse"
        },
        "title": "TemplateResponseList",
        "type": "array"
      },
      "TenantConfigBody": {
        "additionalProperties": true,
        "properties": {},
        "title": "TenantConfigBody",
        "type": "object"
      },
      "TenantConfigResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "TenantConfigResponse",
        "type": "object"
      },
      "TenantCostSummaryResponse": {
        "properties": {
          "daily_costs": {
            "default": [],
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "title": "Daily Costs",
            "type": "array"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "tenant_name": {
            "title": "Tenant Name",
            "type": "string"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "user_count": {
            "title": "User Count",
            "type": "integer"
          }
        },
        "required": [
          "tenant_id",
          "tenant_name",
          "total_cost",
          "user_count"
        ],
        "title": "TenantCostSummaryResponse",
        "type": "object"
      },
      "TenantFeatureVisibilityResponse": {
        "properties": {
          "feature": {
            "title": "Feature",
            "type": "string"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibilityResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "feature"
        ],
        "title": "TenantFeatureVisibilityResponse",
        "type": "object"
      },
      "TenantInvoiceDetailsResponse": {
        "properties": {
          "candidate_billing_period_end": {
            "title": "Candidate Billing Period End",
            "type": "string"
          },
          "candidate_billing_period_start": {
            "title": "Candidate Billing Period Start",
            "type": "string"
          },
          "invoiceable_total_cad": {
            "title": "Invoiceable Total Cad",
            "type": "number"
          },
          "invoices": {
            "items": {
              "$ref": "#/components/schemas/InvoiceResponse"
            },
            "title": "Invoices",
            "type": "array"
          },
          "is_threshold_reached": {
            "title": "Is Threshold Reached",
            "type": "boolean"
          },
          "minimum_invoice_threshold_cad": {
            "title": "Minimum Invoice Threshold Cad",
            "type": "number"
          },
          "next_scheduled_invoice_date": {
            "title": "Next Scheduled Invoice Date",
            "type": "string"
          },
          "remaining_to_threshold_cad": {
            "title": "Remaining To Threshold Cad",
            "type": "number"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "tenant_name": {
            "title": "Tenant Name",
            "type": "string"
          }
        },
        "required": [
          "tenant_id",
          "tenant_name",
          "invoiceable_total_cad",
          "minimum_invoice_threshold_cad",
          "remaining_to_threshold_cad",
          "is_threshold_reached",
          "next_scheduled_invoice_date",
          "candidate_billing_period_start",
          "candidate_billing_period_end",
          "invoices"
        ],
        "title": "TenantInvoiceDetailsResponse",
        "type": "object"
      },
      "TenantMemberResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "email": {
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Name"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "invitation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Invitation Id"
          },
          "is_service_account": {
            "default": false,
            "title": "Is Service Account",
            "type": "boolean"
          },
          "last_active_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Active At"
          },
          "last_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Name"
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Picture Url"
          },
          "roles": {
            "items": {
              "type": "string"
            },
            "title": "Roles",
            "type": "array"
          },
          "status": {
            "title": "Status",
            "type": "string"
          },
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "email",
          "first_name",
          "last_name",
          "picture_url",
          "roles",
          "status",
          "created_at",
          "last_active_at",
          "invitation_id"
        ],
        "title": "TenantMemberResponse",
        "type": "object"
      },
      "TenantModelVisibilityResponse": {
        "properties": {
          "model_id": {
            "title": "Model Id",
            "type": "string"
          },
          "visibility": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ModelVisibilityResponse"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "model_id"
        ],
        "title": "TenantModelVisibilityResponse",
        "type": "object"
      },
      "TenantSpendingOverviewItem": {
        "properties": {
          "billing_admin_fee_percentage": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Admin Fee Percentage"
          },
          "billing_base_monthly_total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Base Monthly Total"
          },
          "billing_excess_usage_fee": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Excess Usage Fee"
          },
          "billing_monthly_additional_fees": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Monthly Additional Fees"
          },
          "billing_monthly_total": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Monthly Total"
          },
          "billing_price_per_seat": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Price Per Seat"
          },
          "billing_seat_count": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Seat Count"
          },
          "billing_token_monthly_budget": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Billing Token Monthly Budget"
          },
          "current_spending": {
            "title": "Current Spending",
            "type": "number"
          },
          "registered_user_count": {
            "default": 0,
            "title": "Registered User Count",
            "type": "integer"
          },
          "spending_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Spending Limit"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "tenant_name": {
            "title": "Tenant Name",
            "type": "string"
          },
          "user_count": {
            "title": "User Count",
            "type": "integer"
          }
        },
        "required": [
          "tenant_id",
          "tenant_name",
          "current_spending",
          "user_count"
        ],
        "title": "TenantSpendingOverviewItem",
        "type": "object"
      },
      "TenantSpendingOverviewResponseModel": {
        "properties": {
          "month": {
            "title": "Month",
            "type": "string"
          },
          "tenants": {
            "items": {
              "$ref": "#/components/schemas/TenantSpendingOverviewItem"
            },
            "title": "Tenants",
            "type": "array"
          }
        },
        "required": [
          "month",
          "tenants"
        ],
        "title": "TenantSpendingOverviewResponseModel",
        "type": "object"
      },
      "TokenUsageByKeyResponse": {
        "properties": {
          "usage": {
            "additionalProperties": {
              "$ref": "#/components/schemas/TokenUsageResponse"
            },
            "title": "Usage",
            "type": "object"
          }
        },
        "required": [
          "usage"
        ],
        "title": "TokenUsageByKeyResponse",
        "type": "object"
      },
      "TokenUsageResponse": {
        "additionalProperties": true,
        "properties": {
          "cache_creation_tokens": {
            "default": 0,
            "title": "Cache Creation Tokens",
            "type": "integer"
          },
          "cache_tokens": {
            "default": 0,
            "title": "Cache Tokens",
            "type": "integer"
          },
          "input_tokens": {
            "default": 0,
            "title": "Input Tokens",
            "type": "integer"
          },
          "output_tokens": {
            "default": 0,
            "title": "Output Tokens",
            "type": "integer"
          },
          "reasoning_tokens": {
            "default": 0,
            "title": "Reasoning Tokens",
            "type": "integer"
          },
          "total_cost": {
            "default": 0.0,
            "title": "Total Cost",
            "type": "number"
          },
          "total_tokens": {
            "default": 0,
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "title": "TokenUsageResponse",
        "type": "object"
      },
      "ToolCallFunction": {
        "properties": {
          "arguments": {
            "title": "Arguments",
            "type": "string"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "arguments"
        ],
        "title": "ToolCallFunction",
        "type": "object"
      },
      "TransferAssistantOwnershipBody": {
        "properties": {
          "owner_team_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner Team Id"
          },
          "owner_user_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Owner User Id"
          }
        },
        "title": "TransferAssistantOwnershipBody",
        "type": "object"
      },
      "TriggerAdminTaskResponse": {
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "TriggerAdminTaskResponse",
        "type": "object"
      },
      "UnreadNotificationsCountResponse": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          }
        },
        "required": [
          "count"
        ],
        "title": "UnreadNotificationsCountResponse",
        "type": "object"
      },
      "UpdateApiTokenBody": {
        "properties": {
          "description": {
            "maxLength": 255,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          }
        },
        "required": [
          "description"
        ],
        "title": "UpdateApiTokenBody",
        "type": "object"
      },
      "UpdateAssistantDataRequest": {
        "properties": {
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Content"
          },
          "embedding": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Embedding"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Metadata"
          }
        },
        "title": "UpdateAssistantDataRequest",
        "type": "object"
      },
      "UpdateAssistantDataResponse": {
        "properties": {
          "assistant_id": {
            "title": "Assistant Id",
            "type": "string"
          },
          "message": {
            "title": "Message",
            "type": "string"
          }
        },
        "required": [
          "message",
          "assistant_id"
        ],
        "title": "UpdateAssistantDataResponse",
        "type": "object"
      },
      "UpdateAssistantFileRequest": {
        "properties": {
          "file_description": {
            "title": "File Description",
            "type": "string"
          },
          "file_name": {
            "title": "File Name",
            "type": "string"
          },
          "indexing_strategy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IndexingStrategy"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "file_name",
          "file_description"
        ],
        "title": "UpdateAssistantFileRequest",
        "type": "object"
      },
      "UpdateAssistantRequest": {
        "properties": {
          "allowed_external_services": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed External Services"
          },
          "allowed_functions": {
            "anyOf": [
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Functions"
          },
          "avatar_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Avatar Url"
          },
          "content_retrieving_strategy": {
            "$ref": "#/components/schemas/ContentRetrievingStrategy",
            "default": {}
          },
          "delegations": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/DelegationRequest"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Delegations"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "instructions": {
            "title": "Instructions",
            "type": "string"
          },
          "links": {
            "items": {
              "$ref": "#/components/schemas/LinkRequest"
            },
            "title": "Links",
            "type": "array"
          },
          "llm_args": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Llm Args"
          },
          "mcp_servers": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/McpServer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Mcp Servers"
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "prompt_starters": {
            "items": {
              "type": "string"
            },
            "title": "Prompt Starters",
            "type": "array"
          },
          "secrets": {
            "anyOf": [
              {
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Secrets"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AssistantType"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "ui_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Ui Url"
          },
          "use_system_prompt": {
            "title": "Use System Prompt",
            "type": "boolean"
          },
          "variables": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Variables"
          },
          "visibility": {
            "$ref": "#/components/schemas/AssistantVisibilityRequest"
          }
        },
        "required": [
          "name",
          "description",
          "instructions",
          "use_system_prompt",
          "prompt_starters",
          "visibility",
          "links"
        ],
        "title": "UpdateAssistantRequest",
        "type": "object"
      },
      "UpdateAutomationRequest": {
        "properties": {
          "external_services": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "External Services"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Name"
          },
          "payload": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AutomationPayloadRequest"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "schedules": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Schedules"
          }
        },
        "title": "UpdateAutomationRequest",
        "type": "object"
      },
      "UpdateContractInfoRequest": {
        "properties": {
          "admin_fee_percentage": {
            "default": 0,
            "title": "Admin Fee Percentage",
            "type": "number"
          },
          "allowed_providers": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Allowed Providers"
          },
          "harvest_client_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Harvest Client Id"
          },
          "monthly_additional_fees": {
            "default": 0,
            "title": "Monthly Additional Fees",
            "type": "number"
          },
          "price_per_seat": {
            "default": 0,
            "title": "Price Per Seat",
            "type": "number"
          },
          "required_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Required Tags"
          },
          "seat_limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Seat Limit"
          },
          "token_monthly_budget": {
            "title": "Token Monthly Budget",
            "type": "number"
          }
        },
        "required": [
          "token_monthly_budget"
        ],
        "title": "UpdateContractInfoRequest",
        "type": "object"
      },
      "UpdateConversationMessageRequest": {
        "properties": {
          "message": {
            "$ref": "#/components/schemas/ConversationMessage"
          },
          "user_message_index": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "User Message Index"
          }
        },
        "required": [
          "message"
        ],
        "title": "UpdateConversationMessageRequest",
        "type": "object"
      },
      "UpdateConversationRequest": {
        "properties": {
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Title"
          }
        },
        "title": "UpdateConversationRequest",
        "type": "object"
      },
      "UpdateConversationUserDataKeyRequest": {
        "properties": {
          "data": {
            "default": null,
            "title": "Data"
          }
        },
        "title": "UpdateConversationUserDataKeyRequest",
        "type": "object"
      },
      "UpdateConversationUserDataRequest": {
        "additionalProperties": true,
        "title": "UpdateConversationUserDataRequest",
        "type": "object"
      },
      "UpdateDefaultEmbeddingModelRequest": {
        "properties": {
          "default_embedding_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Default Embedding Model Id"
          }
        },
        "title": "UpdateDefaultEmbeddingModelRequest",
        "type": "object"
      },
      "UpdateDefaultModelRequest": {
        "properties": {
          "default_model_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Default Model Id"
          }
        },
        "title": "UpdateDefaultModelRequest",
        "type": "object"
      },
      "UpdateGlobalSkillForm": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "format": "binary",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File"
          },
          "skill_data": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Skill Data"
          }
        },
        "title": "UpdateGlobalSkillForm",
        "type": "object"
      },
      "UpdateGroupSelectionsRequest": {
        "properties": {
          "add": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/GroupSelectionItem"
            },
            "title": "Add",
            "type": "array"
          },
          "remove": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/GroupSelectionItem"
            },
            "title": "Remove",
            "type": "array"
          }
        },
        "title": "UpdateGroupSelectionsRequest",
        "type": "object"
      },
      "UpdateGroupSelectionsResponse": {
        "properties": {
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "title": "UpdateGroupSelectionsResponse",
        "type": "object"
      },
      "UpdateKnowledgeSourceConfigurationBody": {
        "properties": {
          "allowed_resources": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Allowed Resources",
            "type": "array"
          },
          "assistant_creation_access": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/KnowledgeSourceAssistantCreationAccessRequest"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "external_service_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "External Service Name"
          }
        },
        "title": "UpdateKnowledgeSourceConfigurationBody",
        "type": "object"
      },
      "UpdateMemoryRequest": {
        "properties": {
          "always_inject": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Always Inject"
          },
          "content": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Content"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Metadata"
          }
        },
        "title": "UpdateMemoryRequest",
        "type": "object"
      },
      "UpdateNotificationPreferencesBody": {
        "additionalProperties": false,
        "properties": {
          "email": {
            "title": "Email",
            "type": "boolean"
          }
        },
        "required": [
          "email"
        ],
        "title": "UpdateNotificationPreferencesBody",
        "type": "object"
      },
      "UpdatePackageResponse": {
        "properties": {
          "installed": {
            "$ref": "#/components/schemas/InstalledEntityResponse"
          },
          "outcome": {
            "enum": [
              "updated",
              "no_update_available",
              "requires_admin_input"
            ],
            "title": "Outcome",
            "type": "string"
          },
          "package_id": {
            "title": "Package Id",
            "type": "string"
          }
        },
        "required": [
          "package_id",
          "outcome",
          "installed"
        ],
        "title": "UpdatePackageResponse",
        "type": "object"
      },
      "UpdateProjectRequest": {
        "properties": {
          "description": {
            "maxLength": 500,
            "minLength": 1,
            "title": "Description",
            "type": "string"
          },
          "name": {
            "maxLength": 100,
            "minLength": 1,
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name",
          "description"
        ],
        "title": "UpdateProjectRequest",
        "type": "object"
      },
      "UpdateProviderApiKeysRequest": {
        "properties": {
          "api_key": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Api Key"
          },
          "apply_to_provider": {
            "default": false,
            "title": "Apply To Provider",
            "type": "boolean"
          },
          "provider_or_model_id": {
            "title": "Provider Or Model Id",
            "type": "string"
          }
        },
        "required": [
          "provider_or_model_id"
        ],
        "title": "UpdateProviderApiKeysRequest",
        "type": "object"
      },
      "UpdateProvisioningModeRequest": {
        "properties": {
          "group_role_mapping": {
            "anyOf": [
              {
                "additionalProperties": {
                  "type": "string"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Group Role Mapping"
          },
          "provisioning_mode": {
            "$ref": "#/components/schemas/ProvisioningMode"
          },
          "required_group": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Required Group"
          }
        },
        "required": [
          "provisioning_mode"
        ],
        "title": "UpdateProvisioningModeRequest",
        "type": "object"
      },
      "UpdateTeamBody": {
        "properties": {
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "UpdateTeamBody",
        "type": "object"
      },
      "UpdateUserCustomPromptBody": {
        "properties": {
          "prompt": {
            "title": "Prompt",
            "type": "string"
          }
        },
        "required": [
          "prompt"
        ],
        "title": "UpdateUserCustomPromptBody",
        "type": "object"
      },
      "UpdateUserDisplayNameRequest": {
        "properties": {
          "first_name": {
            "maxLength": 100,
            "minLength": 1,
            "title": "First Name",
            "type": "string"
          },
          "last_name": {
            "default": "",
            "maxLength": 100,
            "title": "Last Name",
            "type": "string"
          }
        },
        "required": [
          "first_name"
        ],
        "title": "UpdateUserDisplayNameRequest",
        "type": "object"
      },
      "UpdateUserPreferencesBody": {
        "properties": {
          "dismissed_tours": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Dismissed Tours"
          },
          "favorite_model_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Favorite Model Ids"
          },
          "keyboard_shortcuts_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Keyboard Shortcuts Enabled"
          }
        },
        "title": "UpdateUserPreferencesBody",
        "type": "object"
      },
      "UpdateUserRoleRequest": {
        "properties": {
          "role": {
            "$ref": "#/components/schemas/UserRole"
          }
        },
        "required": [
          "role"
        ],
        "title": "UpdateUserRoleRequest",
        "type": "object"
      },
      "UploadAssistantAvatarForm": {
        "properties": {
          "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "title": "UploadAssistantAvatarForm",
        "type": "object"
      },
      "UploadAssistantFileForm": {
        "properties": {
          "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
          },
          "file_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File Type"
          }
        },
        "required": [
          "file"
        ],
        "title": "UploadAssistantFileForm",
        "type": "object"
      },
      "UploadGlobalSkillForm": {
        "properties": {
          "file": {
            "anyOf": [
              {
                "format": "binary",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "File"
          },
          "skill_data": {
            "title": "Skill Data",
            "type": "string"
          }
        },
        "required": [
          "skill_data"
        ],
        "title": "UploadGlobalSkillForm",
        "type": "object"
      },
      "UploadKnowledgeBaseFileForm": {
        "properties": {
          "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "title": "UploadKnowledgeBaseFileForm",
        "type": "object"
      },
      "UploadMode": {
        "enum": [
          "azure",
          "post"
        ],
        "title": "UploadMode",
        "type": "string"
      },
      "UploadSkillAvatarForm": {
        "properties": {
          "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "title": "UploadSkillAvatarForm",
        "type": "object"
      },
      "UploadTenantLogoForm": {
        "properties": {
          "file": {
            "format": "binary",
            "title": "File",
            "type": "string"
          },
          "logo_type": {
            "default": "light",
            "title": "Logo Type",
            "type": "string"
          }
        },
        "required": [
          "file"
        ],
        "title": "UploadTenantLogoForm",
        "type": "object"
      },
      "UsageApiKeyBreakdownResponse": {
        "properties": {
          "api_token_id": {
            "title": "Api Token Id",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "masked_value": {
            "title": "Masked Value",
            "type": "string"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/UsageModelBreakdownResponse"
            },
            "title": "Models",
            "type": "array"
          },
          "percent_of_total": {
            "title": "Percent Of Total",
            "type": "number"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          }
        },
        "required": [
          "api_token_id",
          "description",
          "masked_value",
          "total_cost",
          "percent_of_total",
          "models"
        ],
        "title": "UsageApiKeyBreakdownResponse",
        "type": "object"
      },
      "UsageFeatureBreakdownResponse": {
        "properties": {
          "feature": {
            "title": "Feature",
            "type": "string"
          },
          "models": {
            "items": {
              "$ref": "#/components/schemas/UsageModelBreakdownResponse"
            },
            "title": "Models",
            "type": "array"
          },
          "percent_of_total": {
            "title": "Percent Of Total",
            "type": "number"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          }
        },
        "required": [
          "feature",
          "total_cost",
          "percent_of_total",
          "models"
        ],
        "title": "UsageFeatureBreakdownResponse",
        "type": "object"
      },
      "UsageModelBreakdownResponse": {
        "properties": {
          "model": {
            "title": "Model",
            "type": "string"
          },
          "percent_of_total": {
            "title": "Percent Of Total",
            "type": "number"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          }
        },
        "required": [
          "model",
          "total_cost",
          "percent_of_total"
        ],
        "title": "UsageModelBreakdownResponse",
        "type": "object"
      },
      "UsageProviderBreakdownResponse": {
        "properties": {
          "models": {
            "items": {
              "$ref": "#/components/schemas/UsageModelBreakdownResponse"
            },
            "title": "Models",
            "type": "array"
          },
          "percent_of_total": {
            "title": "Percent Of Total",
            "type": "number"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          }
        },
        "required": [
          "provider",
          "total_cost",
          "percent_of_total",
          "models"
        ],
        "title": "UsageProviderBreakdownResponse",
        "type": "object"
      },
      "UsageReportModelBreakdown": {
        "properties": {
          "input_tokens": {
            "title": "Input Tokens",
            "type": "integer"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "output_tokens": {
            "title": "Output Tokens",
            "type": "integer"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "request_count": {
            "title": "Request Count",
            "type": "integer"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          },
          "usage_type": {
            "title": "Usage Type",
            "type": "string"
          }
        },
        "required": [
          "model",
          "provider",
          "usage_type",
          "total_cost",
          "total_tokens",
          "input_tokens",
          "output_tokens",
          "request_count"
        ],
        "title": "UsageReportModelBreakdown",
        "type": "object"
      },
      "UsageReportProviderBreakdown": {
        "properties": {
          "models": {
            "items": {
              "$ref": "#/components/schemas/UsageReportModelBreakdown"
            },
            "title": "Models",
            "type": "array"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "request_count": {
            "title": "Request Count",
            "type": "integer"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          }
        },
        "required": [
          "provider",
          "total_cost",
          "total_tokens",
          "request_count",
          "models"
        ],
        "title": "UsageReportProviderBreakdown",
        "type": "object"
      },
      "UsageStatisticsResponse": {
        "properties": {
          "active_conversation_30": {
            "title": "Active Conversation 30",
            "type": "integer"
          },
          "active_user_30": {
            "title": "Active User 30",
            "type": "integer"
          },
          "assistant_count": {
            "title": "Assistant Count",
            "type": "integer"
          },
          "new_user_30": {
            "title": "New User 30",
            "type": "integer"
          },
          "user_count": {
            "title": "User Count",
            "type": "integer"
          }
        },
        "required": [
          "user_count",
          "assistant_count",
          "new_user_30",
          "active_user_30",
          "active_conversation_30"
        ],
        "title": "UsageStatisticsResponse",
        "type": "object"
      },
      "UsageSummaryResponse": {
        "properties": {
          "by_provider": {
            "items": {
              "$ref": "#/components/schemas/UsageReportProviderBreakdown"
            },
            "title": "By Provider",
            "type": "array"
          },
          "daily_cost": {
            "title": "Daily Cost",
            "type": "number"
          },
          "daily_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Daily Limit"
          },
          "monthly_cost": {
            "title": "Monthly Cost",
            "type": "number"
          },
          "monthly_limit": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Monthly Limit"
          }
        },
        "required": [
          "monthly_cost",
          "monthly_limit",
          "daily_cost",
          "daily_limit",
          "by_provider"
        ],
        "title": "UsageSummaryResponse",
        "type": "object"
      },
      "UserCustomPromptResponse": {
        "properties": {
          "prompt": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Prompt"
          }
        },
        "title": "UserCustomPromptResponse",
        "type": "object"
      },
      "UserFirstUsageMonthResponse": {
        "properties": {
          "first_month": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "First Month"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "first_month"
        ],
        "title": "UserFirstUsageMonthResponse",
        "type": "object"
      },
      "UserLimitsResponse": {
        "properties": {
          "daily": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Daily"
          },
          "monthly": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Monthly"
          }
        },
        "title": "UserLimitsResponse",
        "type": "object"
      },
      "UserPreferencesResponse": {
        "properties": {
          "dismissed_tours": {
            "items": {
              "type": "string"
            },
            "title": "Dismissed Tours",
            "type": "array"
          },
          "favorite_model_ids": {
            "items": {
              "type": "string"
            },
            "title": "Favorite Model Ids",
            "type": "array"
          },
          "keyboard_shortcuts_enabled": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Keyboard Shortcuts Enabled"
          }
        },
        "required": [
          "dismissed_tours",
          "favorite_model_ids"
        ],
        "title": "UserPreferencesResponse",
        "type": "object"
      },
      "UserResolvedFeatureResponse": {
        "properties": {
          "control": {
            "title": "Control",
            "type": "string"
          },
          "key": {
            "title": "Key",
            "type": "string"
          },
          "scope": {
            "title": "Scope",
            "type": "string"
          }
        },
        "required": [
          "key",
          "control",
          "scope"
        ],
        "title": "UserResolvedFeatureResponse",
        "type": "object"
      },
      "UserResolvedFeatureResponseList": {
        "items": {
          "$ref": "#/components/schemas/UserResolvedFeatureResponse"
        },
        "title": "UserResolvedFeatureResponseList",
        "type": "array"
      },
      "UserResponse": {
        "properties": {
          "email": {
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "title": "First Name",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "last_name": {
            "title": "Last Name",
            "type": "string"
          },
          "picture_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Picture Url"
          },
          "status": {
            "title": "Status",
            "type": "string"
          }
        },
        "required": [
          "id",
          "first_name",
          "last_name",
          "email",
          "picture_url",
          "status"
        ],
        "title": "UserResponse",
        "type": "object"
      },
      "UserResponseList": {
        "items": {
          "$ref": "#/components/schemas/UserResponse"
        },
        "title": "UserResponseList",
        "type": "array"
      },
      "UserRole": {
        "enum": [
          "platform_admin",
          "organization_admin",
          "skills_developer",
          "user"
        ],
        "title": "UserRole",
        "type": "string"
      },
      "UserStatsResponse": {
        "properties": {
          "conversation_count": {
            "title": "Conversation Count",
            "type": "integer"
          }
        },
        "required": [
          "conversation_count"
        ],
        "title": "UserStatsResponse",
        "type": "object"
      },
      "UserTeamResponse": {
        "properties": {
          "created_at": {
            "title": "Created At",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "members": {
            "$ref": "#/components/schemas/TeamPrincipalsResponse"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "owners": {
            "$ref": "#/components/schemas/TeamPrincipalsResponse"
          },
          "role": {
            "enum": [
              "owner",
              "member"
            ],
            "title": "Role",
            "type": "string"
          },
          "tenant_id": {
            "title": "Tenant Id",
            "type": "string"
          },
          "updated_at": {
            "title": "Updated At",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "tenant_id",
          "owners",
          "members",
          "created_at",
          "updated_at",
          "role"
        ],
        "title": "UserTeamResponse",
        "type": "object"
      },
      "UserTeamResponseList": {
        "items": {
          "$ref": "#/components/schemas/UserTeamResponse"
        },
        "title": "UserTeamResponseList",
        "type": "array"
      },
      "UserUsageDetailQuery": {
        "properties": {
          "month": {
            "title": "Month",
            "type": "string"
          }
        },
        "required": [
          "month"
        ],
        "title": "UserUsageDetailQuery",
        "type": "object"
      },
      "UserUsageResponse": {
        "properties": {
          "daily_usage": {
            "items": {
              "$ref": "#/components/schemas/DailyUsage"
            },
            "title": "Daily Usage",
            "type": "array"
          },
          "month": {
            "title": "Month",
            "type": "string"
          },
          "total_cost": {
            "title": "Total Cost",
            "type": "number"
          },
          "total_tokens": {
            "title": "Total Tokens",
            "type": "integer"
          },
          "user_id": {
            "title": "User Id",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "month",
          "total_cost",
          "total_tokens",
          "daily_usage"
        ],
        "title": "UserUsageResponse",
        "type": "object"
      },
      "ValidateInstallBody": {
        "properties": {
          "version": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Version"
          }
        },
        "title": "ValidateInstallBody",
        "type": "object"
      },
      "ValidationError": {
        "description": "Model of a validation error response.",
        "items": {
          "$ref": "#/components/schemas/ValidationErrorElement"
        },
        "title": "ValidationError",
        "type": "array"
      },
      "ValidationErrorElement": {
        "description": "Model of a validation error response element.",
        "properties": {
          "ctx": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error context"
          },
          "loc": {
            "items": {
              "type": "string"
            },
            "title": "Missing field name",
            "type": "array"
          },
          "msg": {
            "title": "Error message",
            "type": "string"
          },
          "type": {
            "title": "Error type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationErrorElement",
        "type": "object"
      },
      "ValidationWarning": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "code",
          "value"
        ],
        "title": "ValidationWarning",
        "type": "object"
      },
      "VideoAspectRatio": {
        "enum": [
          "16:9",
          "9:16"
        ],
        "title": "VideoAspectRatio",
        "type": "string"
      },
      "VideoGenerationBody": {
        "properties": {
          "aspect_ratio": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VideoAspectRatio"
              },
              {
                "type": "null"
              }
            ],
            "default": "16:9"
          },
          "conversation_id": {
            "anyOf": [
              {
                "format": "uuid",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "duration": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Duration"
          },
          "generate_audio": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Generate Audio"
          },
          "image": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImageObject"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          },
          "model": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Model"
          },
          "nb_outputs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": 1,
            "title": "Nb Outputs"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          },
          "resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VideoResolution"
              },
              {
                "type": "null"
              }
            ],
            "default": "720p"
          },
          "video_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Video Id"
          }
        },
        "required": [
          "prompt"
        ],
        "title": "VideoGenerationBody",
        "type": "object"
      },
      "VideoGenerationModelResponse": {
        "properties": {
          "api": {
            "title": "Api",
            "type": "string"
          },
          "capabilities_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Capabilities Tags"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Description"
          },
          "displayName": {
            "title": "Displayname",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "string"
          },
          "info_tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Info Tags"
          },
          "max_outputs": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Max Outputs"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          },
          "release_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Release Date"
          },
          "tags": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Tags"
          },
          "usage_pricing": {
            "additionalProperties": true,
            "default": {},
            "title": "Usage Pricing",
            "type": "object"
          },
          "video_aspect_ratio_mapping": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Video Aspect Ratio Mapping"
          },
          "video_duration_mapping": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Video Duration Mapping"
          },
          "video_resolution_mapping": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Video Resolution Mapping"
          }
        },
        "required": [
          "id",
          "api",
          "model",
          "provider",
          "displayName"
        ],
        "title": "VideoGenerationModelResponse",
        "type": "object"
      },
      "VideoGenerationModelResponseList": {
        "items": {
          "$ref": "#/components/schemas/VideoGenerationModelResponse"
        },
        "title": "VideoGenerationModelResponseList",
        "type": "array"
      },
      "VideoJobDownloadResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "video_urls": {
            "items": {
              "type": "string"
            },
            "title": "Video Urls",
            "type": "array"
          }
        },
        "required": [
          "job_id",
          "video_urls"
        ],
        "title": "VideoJobDownloadResponse",
        "type": "object"
      },
      "VideoJobResponse": {
        "properties": {
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "model": {
            "title": "Model",
            "type": "string"
          },
          "provider": {
            "title": "Provider",
            "type": "string"
          }
        },
        "required": [
          "job_id",
          "model",
          "provider"
        ],
        "title": "VideoJobResponse",
        "type": "object"
      },
      "VideoJobStatusResponse": {
        "properties": {
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Error"
          },
          "job_id": {
            "title": "Job Id",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/AsyncJobStatus"
          }
        },
        "required": [
          "job_id",
          "status"
        ],
        "title": "VideoJobStatusResponse",
        "type": "object"
      },
      "VideoResolution": {
        "enum": [
          "720p",
          "1080p"
        ],
        "title": "VideoResolution",
        "type": "string"
      },
      "VisibilityType": {
        "enum": [
          "private",
          "shared",
          "public"
        ],
        "title": "VisibilityType",
        "type": "string"
      },
      "VisionForm": {
        "properties": {
          "model": {
            "title": "Model",
            "type": "string"
          },
          "prompt": {
            "title": "Prompt",
            "type": "string"
          }
        },
        "required": [
          "prompt",
          "model"
        ],
        "title": "VisionForm",
        "type": "object"
      },
      "VisionResponse": {
        "properties": {
          "response": {
            "title": "Response",
            "type": "string"
          }
        },
        "required": [
          "response"
        ],
        "title": "VisionResponse",
        "type": "object"
      },
      "WebappConfigResponse": {
        "additionalProperties": true,
        "properties": {},
        "title": "WebappConfigResponse",
        "type": "object"
      },
      "WebhookResponse": {
        "properties": {
          "result": {
            "title": "Result",
            "type": "string"
          }
        },
        "required": [
          "result"
        ],
        "title": "WebhookResponse",
        "type": "object"
      },
      "WorkflowDebugConversationResponse": {
        "properties": {
          "conversationId": {
            "title": "Conversationid",
            "type": "string"
          }
        },
        "required": [
          "conversationId"
        ],
        "title": "WorkflowDebugConversationResponse",
        "type": "object"
      },
      "WorkflowDebugRunBody": {
        "properties": {
          "inputs": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Inputs"
          }
        },
        "title": "WorkflowDebugRunBody",
        "type": "object"
      },
      "WorkflowRunRequestBody": {
        "properties": {
          "conversation_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Conversation Id"
          },
          "inputs": {
            "additionalProperties": true,
            "title": "Inputs",
            "type": "object"
          }
        },
        "title": "WorkflowRunRequestBody",
        "type": "object"
      },
      "WorkflowRunResponse": {
        "properties": {
          "conversationId": {
            "title": "Conversationid",
            "type": "string"
          },
          "currentStepId": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Currentstepid"
          },
          "result": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Result"
          },
          "runId": {
            "title": "Runid",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/WorkflowRunStatus"
          }
        },
        "required": [
          "runId",
          "conversationId",
          "status"
        ],
        "title": "WorkflowRunResponse",
        "type": "object"
      },
      "WorkflowRunResumeBody": {
        "properties": {
          "edits": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "title": "Edits"
          }
        },
        "title": "WorkflowRunResumeBody",
        "type": "object"
      },
      "WorkflowRunStatus": {
        "enum": [
          "running",
          "paused",
          "completed",
          "failed",
          "cancelled"
        ],
        "title": "WorkflowRunStatus",
        "type": "string"
      }
    }
  },
  "info": {
    "title": "Scout API",
    "version": "1.0.0"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/admin/audit-logs": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_audit-logs",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "mode",
            "required": false,
            "schema": {
              "default": "instance",
              "title": "Mode",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "default": 1,
              "title": "Page",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "page_size",
            "required": false,
            "schema": {
              "default": 20,
              "title": "Page Size",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuditLogsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_audit_logs <GET>",
        "tags": [
          "admin_audit_log"
        ]
      }
    },
    "/api/admin/audit-logs/{log_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_audit-logs_{log_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "log_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdminAuditLogResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_audit_log_entry <GET>",
        "tags": [
          "admin_audit_log"
        ]
      }
    },
    "/api/admin/audit-logs/{log_id}/rollback": {
      "post": {
        "description": "",
        "operationId": "post__api_admin_audit-logs_{log_id}_rollback",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "log_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "rollback_audit_log <POST>",
        "tags": [
          "admin_audit_log"
        ]
      }
    },
    "/api/admin/billing-reconciliation": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_billing-reconciliation",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReconciliationSummaryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_billing_reconciliation <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/billing-reconciliation/export": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_billing-reconciliation_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_billing_reconciliation <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/costs": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_costs",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "user_ids",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Ids"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Model"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "group_by_tenant",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": false,
              "title": "Group By Tenant"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCostsResponseModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_costs <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/features/catalog": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_features_catalog",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureCatalogResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_features_catalog <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/instance-cost-summary": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_instance-cost-summary",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstanceCostSummaryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_instance_cost_summary <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/instance-cost-summary/export": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_instance-cost-summary_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_instance_cost_summary <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/statistics": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_statistics",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsageStatisticsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_usage_satistics <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/tasks/{task_name}/trigger": {
      "post": {
        "description": "",
        "operationId": "post__api_admin_tasks_{task_name}_trigger",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "task_name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TriggerAdminTaskResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "trigger_admin_task <POST>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/tenant-spending-overview": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_tenant-spending-overview",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantSpendingOverviewResponseModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_tenant_spending_overview <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/tenants/{tenant_id}/export-invoice-csv": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_tenants_{tenant_id}_export-invoice-csv",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "export_tenant_invoice_csv <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/tenants/{tenant_id}/generate-invoice": {
      "post": {
        "description": "",
        "operationId": "post__api_admin_tenants_{tenant_id}_generate-invoice",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateTenantInvoiceResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "generate_tenant_invoice <POST>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/tenants/{tenant_id}/invoice-details": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_tenants_{tenant_id}_invoice-details",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "tenant_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantInvoiceDetailsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_tenant_invoice_details <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/admin/token_usage": {
      "get": {
        "description": "",
        "operationId": "get__api_admin_token_usage",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TokenUsageByKeyResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_current_token_satistics <GET>",
        "tags": [
          "admin"
        ]
      }
    },
    "/api/anthropic_compatible/v1/messages": {
      "post": {
        "description": "",
        "operationId": "post__api_anthropic_compatible_v1_messages",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnthropicMessagesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnthropicMessagesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "anthropic_messages <POST>",
        "tags": [
          "anthropic_compatible"
        ]
      }
    },
    "/api/anthropic_compatible/v1/models": {
      "get": {
        "description": "",
        "operationId": "get__api_anthropic_compatible_v1_models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnthropicCompatibleModelsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_anthropic_compatible_models <GET>",
        "tags": [
          "anthropic_compatible"
        ]
      }
    },
    "/api/anthropic_compatible/v1/models/{model_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_anthropic_compatible_v1_models_{model_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "model_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnthropicCompatibleModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_anthropic_compatible_model <GET>",
        "tags": [
          "anthropic_compatible"
        ]
      }
    },
    "/api/assistant-database/{assistant_id}/delete": {
      "post": {
        "description": "",
        "operationId": "post__api_assistant-database_{assistant_id}_delete",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssistantDatabaseRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_database <POST>",
        "tags": [
          "assistant_database"
        ]
      }
    },
    "/api/assistant-database/{assistant_id}/deprovision": {
      "post": {
        "description": "",
        "operationId": "post__api_assistant-database_{assistant_id}_deprovision",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "deprovision <POST>",
        "tags": [
          "assistant_database"
        ]
      }
    },
    "/api/assistant-database/{assistant_id}/provision": {
      "post": {
        "description": "",
        "operationId": "post__api_assistant-database_{assistant_id}_provision",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "provision <POST>",
        "tags": [
          "assistant_database"
        ]
      }
    },
    "/api/assistants": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssistantType"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantPublicResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistants <GET>",
        "tags": [
          "assistants"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_assistant <POST>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_assistant <POST>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/avatar/upload/content-types": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_avatar_upload_content-types",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllowedAvatarContentTypesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_allowed_avatar_content_types <GET>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/assistants/avatar/upload/content-types/": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_avatar_upload_content-types_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllowedAvatarContentTypesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_allowed_avatar_content_types <GET>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/assistants/deleted": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_deleted",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssistantType"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantPublicResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_deleted_assistants <GET>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/favourites": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_favourites",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantPublicResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_favourite_assistants <GET>",
        "tags": [
          "favourites"
        ]
      }
    },
    "/api/assistants/favourites/reorder": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_favourites_reorder",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReorderFavouritesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "reorder_favourites <POST>",
        "tags": [
          "favourites"
        ]
      }
    },
    "/api/assistants/{assistant_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_assistant <DELETE>",
        "tags": [
          "assistants"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant <GET>",
        "tags": [
          "assistants"
        ]
      },
      "patch": {
        "description": "",
        "operationId": "patch__api_assistants_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "patch_assistant <PATCH>",
        "tags": [
          "assistants"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssistantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_assistant <PUT>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/approved-external-services": {
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_approved-external-services",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveExternalServicesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "approve_external_services <PUT>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/automations": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_automations",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_assistant_automations <GET>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/assistants/{assistant_id}/avatar/generate": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_avatar_generate",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateAssistantAvatarRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "generate_avatar <POST>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/assistants/{assistant_id}/avatar/upload": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_avatar_upload",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadAssistantAvatarForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_avatar <POST>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/assistants/{assistant_id}/canvas/required-consent": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_canvas_required-consent",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CanvasRequiredConsentResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "canvas_required_consent <GET>",
        "tags": [
          "token"
        ]
      }
    },
    "/api/assistants/{assistant_id}/catalog-metadata": {
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_catalog-metadata",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetCatalogMetadataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "set_assistant_catalog_metadata <PUT>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/content": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_content",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddAssistantContentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantMessageResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_assistant_content <POST>",
        "tags": [
          "content"
        ]
      }
    },
    "/api/assistants/{assistant_id}/data": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_data",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteAssistantDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAssistantDataResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_asssitant_data <DELETE>",
        "tags": [
          "data"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_data",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QueryAssistantDataResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "query_asssitant_data <GET>",
        "tags": [
          "data"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_data",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssistantDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssistantDataResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_asssitant_data <POST>",
        "tags": [
          "data"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_data",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkUpdateAssistantDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAssistantDataResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "bulk_update_assistant_data <PUT>",
        "tags": [
          "data"
        ]
      }
    },
    "/api/assistants/{assistant_id}/data/{data_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_data_{data_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "data_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteAssistantDataResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_asssitant_data_path <DELETE>",
        "tags": [
          "data"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_data_{data_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "data_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssistantDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAssistantDataResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_asssitant_data <PUT>",
        "tags": [
          "data"
        ]
      }
    },
    "/api/assistants/{assistant_id}/favourite": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_favourite",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remove_favourite_assistant <DELETE>",
        "tags": [
          "favourites"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_favourite",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_favourite_assistant <POST>",
        "tags": [
          "favourites"
        ]
      }
    },
    "/api/assistants/{assistant_id}/files": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_files",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantFileList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant_files <GET>",
        "tags": [
          "files"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_files",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadAssistantFileForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantFileUploadResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_file_to_assistant <POST>",
        "tags": [
          "files"
        ]
      }
    },
    "/api/assistants/{assistant_id}/files/{file_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_files_{file_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "file_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantFileMessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_file_from_assistant <DELETE>",
        "tags": [
          "files"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_files_{file_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "file_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssistantFileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_file_information <PUT>",
        "tags": [
          "files"
        ]
      }
    },
    "/api/assistants/{assistant_id}/functions": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_functions",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantCustomFunctionsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant_skill_functions <GET>",
        "tags": [
          "functions"
        ]
      }
    },
    "/api/assistants/{assistant_id}/functions/{function_name}": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_functions_{function_name}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "function_name",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "conversation_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Conversation Id"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "delay",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Delay",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "file_progress_name",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "File Progress Name"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExecuteSkillFunctionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "execute_assistant_skill_function <POST>",
        "tags": [
          "functions"
        ]
      }
    },
    "/api/assistants/{assistant_id}/knowledge-bases": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_knowledge-bases",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_assistant_knowledge_bases <GET>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_knowledge-bases",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseAttachBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "attach_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/knowledge-bases/create-and-attach": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_knowledge-bases_create-and-attach",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseCreateAndAttachBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_and_attach_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/knowledge-bases/{knowledge_base_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_knowledge-bases_{knowledge_base_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "detach_knowledge_base <DELETE>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_assistants_{assistant_id}_knowledge-bases_{knowledge_base_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseUpdateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_assistant_knowledge_base <PUT>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/knowledge-bases/{knowledge_base_id}/documents": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_knowledge-bases_{knowledge_base_id}_documents",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseDocumentResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_assistant_knowledge_base_documents <GET>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/links": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_links",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant_links <GET>",
        "tags": [
          "links"
        ]
      }
    },
    "/api/assistants/{assistant_id}/permanent": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_permanent",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "permanently_delete_assistant <DELETE>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/public": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_public",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantPublicResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_public_assistant <GET>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/restore": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_restore",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "restore_assistant <POST>",
        "tags": [
          "assistants"
        ]
      }
    },
    "/api/assistants/{assistant_id}/search": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_search",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchAssistantDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "search_assistant_data <POST>",
        "tags": [
          "search"
        ]
      }
    },
    "/api/assistants/{assistant_id}/skills": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_skills",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillSummaryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant_skills <GET>",
        "tags": [
          "skills"
        ]
      }
    },
    "/api/assistants/{assistant_id}/skills/{skill_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_skills_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantSkillResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remove_skill_from_assistant <DELETE>",
        "tags": [
          "skills"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_skills_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantSkillResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_skill_to_assistant <POST>",
        "tags": [
          "skills"
        ]
      }
    },
    "/api/assistants/{assistant_id}/ui/deploy": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_ui_deploy",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/DeployAssistantUIForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "deploy_assistant_ui <POST>",
        "tags": [
          "ui"
        ]
      }
    },
    "/api/assistants/{assistant_id}/ui/{path}": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_ui_{path}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "path",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUIUrlResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistant_ui <GET>",
        "tags": [
          "ui"
        ]
      }
    },
    "/api/assistants/{assistant_id}/user_data/{key}": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_user_data_{key}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUserDataResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_data <GET>",
        "tags": [
          "user_data"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_user_data_{key}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAssistantUserDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUserDataMessageResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "set_user_data <POST>",
        "tags": [
          "user_data"
        ]
      }
    },
    "/api/assistants/{assistant_id}/user_token": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_user_token",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssistantUserTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUserTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "assistant_user_token <POST>",
        "tags": [
          "token"
        ]
      }
    },
    "/api/assistants/{assistant_id}/web-links": {
      "get": {
        "description": "",
        "operationId": "get__api_assistants_{assistant_id}_web-links",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseDocumentResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_assistant_web_links <GET>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_web-links",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddKnowledgeBaseLinkBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseLinkResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_web_link_to_assistant <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/web-links/{document_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_assistants_{assistant_id}_web-links_{document_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "document_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_web_link_from_assistant <DELETE>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/assistants/{assistant_id}/webhooks/{webhook_path}": {
      "post": {
        "description": "",
        "operationId": "post__api_assistants_{assistant_id}_webhooks_{webhook_path}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "webhook_path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "webhook <POST>",
        "tags": [
          "webhooks"
        ]
      }
    },
    "/api/audio/speech": {
      "get": {
        "description": "",
        "operationId": "get__api_audio_speech",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSpeechBody"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "generate_audio <GET>",
        "tags": [
          "audio"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_audio_speech",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateSpeechBody"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "generate_audio <POST>",
        "tags": [
          "audio"
        ]
      }
    },
    "/api/audio/speech/models": {
      "get": {
        "description": "",
        "operationId": "get__api_audio_speech_models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudioModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_speech_models <GET>",
        "tags": [
          "audio"
        ]
      }
    },
    "/api/audio/transcription": {
      "post": {
        "description": "",
        "operationId": "post__api_audio_transcription",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/GenerateAudioTranscriptionForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudioTranscriptionResponse"
                }
              }
            },
            "description": "OK"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "generate_audio_transcription <POST>",
        "tags": [
          "audio"
        ]
      }
    },
    "/api/audio/transcription/models": {
      "get": {
        "description": "",
        "operationId": "get__api_audio_transcription_models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AudioModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_transcription_models <GET>",
        "tags": [
          "audio"
        ]
      }
    },
    "/api/auth/api-tokens": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_api-tokens",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApiTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_api_token <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/api-tokens/": {
      "get": {
        "description": "",
        "operationId": "get__api_auth_api-tokens_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_api_tokens <GET>",
        "tags": [
          "auth"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_auth_api-tokens_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApiTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_api_token <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/api-tokens/{token_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_auth_api-tokens_{token_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "token_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_api_token <GET>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/api-tokens/{token_id}/": {
      "put": {
        "description": "",
        "operationId": "put__api_auth_api-tokens_{token_id}_",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "token_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApiTokenBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_api_token <PUT>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/api-tokens/{token_id}/revoke/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_api-tokens_{token_id}_revoke_",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "token_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeApiTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "revoke_api_token <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/check/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_check_",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "check_auth <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/decode_access_token/": {
      "get": {
        "description": "",
        "operationId": "get__api_auth_decode_access_token_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DecodedAccessTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "decode_access_token <GET>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/login/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_login_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "login <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/logout/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_logout_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogoutResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "logout <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/refresh-impersonation/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_refresh-impersonation_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "refresh_impersonation <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/refresh/": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_refresh_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "refresh <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/switch-tenant": {
      "post": {
        "description": "",
        "operationId": "post__api_auth_switch-tenant",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SwitchTenantRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "switch_tenant <POST>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/auth/token-scopes/": {
      "get": {
        "description": "",
        "operationId": "get__api_auth_token-scopes_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokenScopesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_token_scopes <GET>",
        "tags": [
          "auth"
        ]
      }
    },
    "/api/automations": {
      "get": {
        "description": "",
        "operationId": "get__api_automations",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "assistant_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Assistant Id"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssistantType"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_automations <GET>",
        "tags": [
          "automations"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_automations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_automation <POST>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/": {
      "get": {
        "description": "",
        "operationId": "get__api_automations_",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "assistant_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Assistant Id"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssistantType"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_automations <GET>",
        "tags": [
          "automations"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_automations_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_automation <POST>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/runs": {
      "get": {
        "description": "",
        "operationId": "get__api_automations_runs",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRunResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_all_automation_runs <GET>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/runs/{automation_run_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_automations_runs_{automation_run_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_automation_run <DELETE>",
        "tags": [
          "automations"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_automations_runs_{automation_run_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_run_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_automation_run <GET>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/{automation_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_automations_{automation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_automation <DELETE>",
        "tags": [
          "automations"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_automations_{automation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_automation <GET>",
        "tags": [
          "automations"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_automations_{automation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_automation <PUT>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/{automation_id}/run": {
      "post": {
        "description": "",
        "operationId": "post__api_automations_{automation_id}_run",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RunAutomationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "run_automation <POST>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/automations/{automation_id}/runs": {
      "get": {
        "description": "",
        "operationId": "get__api_automations_{automation_id}_runs",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "automation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRunResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_automation_runs <GET>",
        "tags": [
          "automations"
        ]
      }
    },
    "/api/catalog/adoption/apply": {
      "post": {
        "description": "",
        "operationId": "post__api_catalog_adoption_apply",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdoptionManifestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdoptionScanResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "apply_adoption <POST>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/adoption/scan": {
      "post": {
        "description": "",
        "operationId": "post__api_catalog_adoption_scan",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdoptionManifestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdoptionScanResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "scan_adoption <POST>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/installations": {
      "get": {
        "description": "",
        "operationId": "get__api_catalog_installations",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstalledEntityResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_installations <GET>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/packages": {
      "get": {
        "description": "",
        "operationId": "get__api_catalog_packages",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogPackageSummaryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_packages <GET>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/packages/{package_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_catalog_packages_{package_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "package_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CatalogPackageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_package <GET>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/packages/{package_id}/install": {
      "post": {
        "description": "",
        "operationId": "post__api_catalog_packages_{package_id}_install",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "package_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InstallPackageBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstalledEntityResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "install_package <POST>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/packages/{package_id}/update": {
      "post": {
        "description": "",
        "operationId": "post__api_catalog_packages_{package_id}_update",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "package_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdatePackageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_package <POST>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/catalog/packages/{package_id}/validate": {
      "post": {
        "description": "",
        "operationId": "post__api_catalog_packages_{package_id}_validate",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "package_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateInstallBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InstallValidationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "validate_install <POST>",
        "tags": [
          "catalog"
        ]
      }
    },
    "/api/chat/completion": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_completion",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatCompletionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "chat_completion <POST>",
        "tags": [
          "completion"
        ]
      }
    },
    "/api/chat/completion/": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_completion_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatCompletionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "chat_completion <POST>",
        "tags": [
          "completion"
        ]
      }
    },
    "/api/chat/completion/assistant/{assistant_id}": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_completion_assistant_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChatCompletionBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "chat_completion <POST>",
        "tags": [
          "completion"
        ]
      }
    },
    "/api/chat/default-model": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_default-model",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "user_model_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Model Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultModelResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_default_model <GET>",
        "tags": [
          "models"
        ]
      }
    },
    "/api/chat/functions": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_functions",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailableFunctionsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_available_functions <GET>",
        "tags": [
          "functions"
        ]
      }
    },
    "/api/chat/functions/": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_functions_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailableFunctionsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_available_functions <GET>",
        "tags": [
          "functions"
        ]
      }
    },
    "/api/chat/models": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_models",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "capability_tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Capability Tag"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "info_tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Info Tag"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LLMModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_models <GET>",
        "tags": [
          "models"
        ]
      }
    },
    "/api/chat/models/": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_models_",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "capability_tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Capability Tag"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "info_tag",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Info Tag"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LLMModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_models <GET>",
        "tags": [
          "models"
        ]
      }
    },
    "/api/chat/openai_compatible/chat/completions": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_openai_compatible_chat_completions",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAIChatCompletionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "openai_compatible_chat_completion <POST>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/export/opencode": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_export_opencode",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "model_ids",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Model Ids"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "only_favorites",
            "required": false,
            "schema": {
              "default": false,
              "title": "Only Favorites",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CodingAgentConfigExportResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_opencode_config <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/export/pi": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_export_pi",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "model_ids",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Model Ids"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "only_favorites",
            "required": false,
            "schema": {
              "default": false,
              "title": "Only Favorites",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CodingAgentConfigExportResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_pi_config <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/models": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenaiCompatibleModelsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_openai_compatible_models <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/models/{model_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_models_{model_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "model_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenaiCompatibleModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_openai_compatible_model <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/v1/chat/completions": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_openai_compatible_v1_chat_completions",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAIChatCompletionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "openai_compatible_chat_completion <POST>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/v1/models": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_v1_models",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenaiCompatibleModelsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_openai_compatible_models <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/v1/models/{model_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_chat_openai_compatible_v1_models_{model_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "model_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OpenaiCompatibleModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_openai_compatible_model <GET>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/{assistant_id}/chat/completions": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_openai_compatible_{assistant_id}_chat_completions",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAIChatCompletionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "openai_compatible_chat_completion_with_assistant <POST>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/chat/openai_compatible/{assistant_id}/v1/chat/completions": {
      "post": {
        "description": "",
        "operationId": "post__api_chat_openai_compatible_{assistant_id}_v1_chat_completions",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenAIChatCompletionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatCompletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "openai_compatible_chat_completion_with_assistant <POST>",
        "tags": [
          "openai_compatible"
        ]
      }
    },
    "/api/config": {
      "get": {
        "description": "",
        "operationId": "get__api_config",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackendConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_backend_config <GET>",
        "tags": [
          "config"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_config",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackendConfigBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_backend_config <POST>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/": {
      "get": {
        "description": "",
        "operationId": "get__api_config_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackendConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_backend_config <GET>",
        "tags": [
          "config"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_config_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackendConfigBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_backend_config <POST>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/model-library-metadata": {
      "get": {
        "description": "",
        "operationId": "get__api_config_model-library-metadata",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ModelLibraryMetadataResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_model_library_metadata <GET>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/tenants": {
      "get": {
        "description": "",
        "operationId": "get__api_config_tenants",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_tenant_config <GET>",
        "tags": [
          "config"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_config_tenants",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TenantConfigBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_tenant_config <POST>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/tenants/contract-info": {
      "get": {
        "description": "",
        "operationId": "get__api_config_tenants_contract-info",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractInfoResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_contract_info <GET>",
        "tags": [
          "config"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_config_tenants_contract-info",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateContractInfoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractInfoResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_contract_info <PUT>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/validate": {
      "post": {
        "description": "",
        "operationId": "post__api_config_validate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BackendConfigBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfigValidationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "validate_backend_config <POST>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/version": {
      "get": {
        "description": "",
        "operationId": "get__api_config_version",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ServerVersionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_webapp_version <GET>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/config/webapp": {
      "get": {
        "description": "",
        "operationId": "get__api_config_webapp",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "tenant_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Tenant Id"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebappConfigResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_webapp_config <GET>",
        "tags": [
          "config"
        ]
      }
    },
    "/api/control-tower/kpis": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_kpis",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerKpisResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_kpis <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/models": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_models",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 15,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "cost",
              "enum": [
                "model",
                "provider",
                "conversations",
                "tokens",
                "cost",
                "percent_of_total"
              ],
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Search"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerModelsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_models <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/models/export": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_models_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_models_csv <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_overview",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 7,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "cost",
              "enum": [
                "name",
                "owner",
                "users",
                "conversations",
                "cost",
                "last_active",
                "status"
              ],
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Search"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerOverviewResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_overview <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/bulk/disable": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_bulk_disable",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDisableAssistantBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkAssistantActionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "bulk_disable_assistants <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/bulk/enable": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_bulk_enable",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkEnableAssistantBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkAssistantActionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "bulk_enable_assistants <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/bulk/transfer-ownership": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_bulk_transfer-ownership",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkTransferAssistantOwnershipBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkAssistantActionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "bulk_transfer_assistant_ownership <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/export": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_overview_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_overview_csv <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/{assistant_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_overview_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerOverviewItemDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_overview_item <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/{assistant_id}/disable": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_{assistant_id}_disable",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DisableAssistantBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "disable_assistant <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/{assistant_id}/enable": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_{assistant_id}_enable",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "enable_assistant <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/overview/{assistant_id}/transfer-ownership": {
      "post": {
        "description": "",
        "operationId": "post__api_control-tower_overview_{assistant_id}_transfer-ownership",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferAssistantOwnershipBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "transfer_assistant_ownership <POST>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/ownership-candidates": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_ownership-candidates",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Search"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OwnershipCandidateResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_ownership_candidates <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/users": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_users",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 15,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_by",
            "required": false,
            "schema": {
              "default": "cost",
              "enum": [
                "name",
                "conversations",
                "cost",
                "builder_cost",
                "last_active"
              ],
              "title": "Sort By",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "sort_order",
            "required": false,
            "schema": {
              "default": "desc",
              "enum": [
                "asc",
                "desc"
              ],
              "title": "Sort Order",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Search"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerUsersResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_users <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/users/export": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_users_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "export_users_csv <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/control-tower/users/{user_id}/usage": {
      "get": {
        "description": "",
        "operationId": "get__api_control-tower_users_{user_id}_usage",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": true,
            "schema": {
              "title": "Month",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerUserUsageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_usage_detail <GET>",
        "tags": [
          "control-tower"
        ]
      }
    },
    "/api/conversations": {
      "get": {
        "description": "",
        "operationId": "get__api_conversations",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "after_timestamp",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "After Timestamp"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "include_projects",
            "required": false,
            "schema": {
              "default": true,
              "title": "Include Projects",
              "type": "boolean"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "assistant_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "uuid",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Assistant Id"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "assistant_filter_mode",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssistantFilterMode"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "is_system",
            "required": false,
            "schema": {
              "default": false,
              "title": "Is System",
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "conversations <GET>",
        "tags": [
          "conversations"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_conversations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_conversation <POST>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_conversation <POST>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/bulk-delete": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_bulk-delete",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkDeleteConversationsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkDeleteConversationsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_multiple_conversations <POST>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/{conversation_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_conversations_{conversation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_conversation <DELETE>",
        "tags": [
          "conversations"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_conversations_{conversation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_conversation <GET>",
        "tags": [
          "conversations"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_conversations_{conversation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationSummaryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_conversation <PUT>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/{conversation_id}/completion": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_completion",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "context",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Context"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/ConversationChatCompletionForm"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "conversation_completion <POST>",
        "tags": [
          "completion"
        ]
      }
    },
    "/api/conversations/{conversation_id}/completion/": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_completion_",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "context",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Context"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/ConversationChatCompletionForm"
              }
            }
          },
          "required": true
        },
        "responses": {},
        "summary": "conversation_completion <POST>",
        "tags": [
          "completion"
        ]
      }
    },
    "/api/conversations/{conversation_id}/message": {
      "put": {
        "description": "",
        "operationId": "put__api_conversations_{conversation_id}_message",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationMessageRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_conversation_message <PUT>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/{conversation_id}/payload": {
      "put": {
        "description": "",
        "operationId": "put__api_conversations_{conversation_id}_payload",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReplaceConversationPayloadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "replace_conversation_payload <PUT>",
        "tags": [
          "conversations"
        ]
      }
    },
    "/api/conversations/{conversation_id}/signed-upload-url": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_signed-upload-url",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SignedUrlUploadRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedUploadUrlResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_signed_upload_url <POST>",
        "tags": [
          "files"
        ]
      }
    },
    "/api/conversations/{conversation_id}/skills": {
      "get": {
        "description": "",
        "operationId": "get__api_conversations_{conversation_id}_skills",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillSummaryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_conversation_skills <GET>",
        "tags": [
          "skills"
        ]
      }
    },
    "/api/conversations/{conversation_id}/skills/{skill_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_conversations_{conversation_id}_skills_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationSkillResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remove_skill_from_conversation <DELETE>",
        "tags": [
          "skills"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_skills_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationSkillResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_skill_to_conversation <POST>",
        "tags": [
          "skills"
        ]
      }
    },
    "/api/conversations/{conversation_id}/streams/active": {
      "get": {
        "description": "",
        "operationId": "get__api_conversations_{conversation_id}_streams_active",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StreamingSessionResponse"
                }
              }
            },
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_active_stream <GET>",
        "tags": [
          "streams"
        ]
      }
    },
    "/api/conversations/{conversation_id}/streams/{stream_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_conversations_{conversation_id}_streams_{stream_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "stream_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "cancel_stream <DELETE>",
        "tags": [
          "streams"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_conversations_{conversation_id}_streams_{stream_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "stream_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "reconnect_stream <GET>",
        "tags": [
          "streams"
        ]
      }
    },
    "/api/conversations/{conversation_id}/user_data": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_user_data",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationUserDataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_conversation_user_data <POST>",
        "tags": [
          "user_data"
        ]
      }
    },
    "/api/conversations/{conversation_id}/user_data/{key}": {
      "post": {
        "description": "",
        "operationId": "post__api_conversations_{conversation_id}_user_data_{key}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateConversationUserDataKeyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_conversation_user_data_key <POST>",
        "tags": [
          "user_data"
        ]
      }
    },
    "/api/embeddings": {
      "post": {
        "description": "",
        "operationId": "post__api_embeddings",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEmbeddingsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_embeddings <POST>",
        "tags": [
          "embeddings"
        ]
      }
    },
    "/api/embeddings/": {
      "post": {
        "description": "",
        "operationId": "post__api_embeddings_",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEmbeddingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateEmbeddingsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_embeddings <POST>",
        "tags": [
          "embeddings"
        ]
      }
    },
    "/api/external-services/visibility": {
      "get": {
        "description": "",
        "operationId": "get__api_external-services_visibility",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalServiceVisibilityResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_visibility_settings <GET>",
        "tags": [
          "external_service_visibility"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_external-services_visibility",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkUpdateExternalServiceVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalServiceVisibilityResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "bulk_update_visibility_settings <PUT>",
        "tags": [
          "external_service_visibility"
        ]
      }
    },
    "/api/external-services/visibility/{service_name}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_external-services_visibility_{service_name}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "service_name",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "reset_visibility_setting <DELETE>",
        "tags": [
          "external_service_visibility"
        ]
      }
    },
    "/api/external/callback": {
      "get": {
        "description": "",
        "operationId": "get__api_external_callback",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "State"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Code"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "error",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Error"
            }
          }
        ],
        "responses": {},
        "summary": "unified_oauth_callback <GET>",
        "tags": [
          "external_services"
        ]
      }
    },
    "/api/external/callback/{service}": {
      "get": {
        "description": "",
        "operationId": "get__api_external_callback_{service}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "service",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "State"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "code",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Code"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "error",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Error"
            }
          }
        ],
        "responses": {},
        "summary": "auth_callback <GET>",
        "tags": [
          "external_services"
        ]
      }
    },
    "/api/external/login": {
      "get": {
        "description": "",
        "operationId": "get__api_external_login",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "nonce",
            "required": true,
            "schema": {
              "title": "Nonce",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "login <GET>",
        "tags": [
          "external_services"
        ]
      }
    },
    "/api/external/login/{service}/prepare/": {
      "post": {
        "description": "",
        "operationId": "post__api_external_login_{service}_prepare_",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "service",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PrepareLoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "prepare_login <POST>",
        "tags": [
          "external_services"
        ]
      }
    },
    "/api/external/logout/{service}/": {
      "post": {
        "description": "",
        "operationId": "post__api_external_logout_{service}_",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "service",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogoutResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "logout <POST>",
        "tags": [
          "external_services"
        ]
      }
    },
    "/api/groups": {
      "get": {
        "description": "",
        "operationId": "get__api_groups",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "default": "",
              "title": "Query",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "query_groups <GET>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync": {
      "post": {
        "description": "",
        "operationId": "post__api_groups_sync",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SyncGroupsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncGroupsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "sync_groups <POST>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync/available": {
      "get": {
        "description": "",
        "operationId": "get__api_groups_sync_available",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Query"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 50,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvailableGroupsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_available_groups <GET>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync/available/refresh": {
      "post": {
        "description": "",
        "operationId": "post__api_groups_sync_available_refresh",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RefreshAvailableGroupsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "refresh_available_groups <POST>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync/credential": {
      "delete": {
        "description": "",
        "operationId": "delete__api_groups_sync_credential",
        "parameters": [],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_sync_credential <DELETE>",
        "tags": [
          "groups"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_groups_sync_credential",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupSyncCredentialResponse"
                }
              }
            },
            "description": "OK"
          },
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_sync_credential <GET>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync/history": {
      "get": {
        "description": "",
        "operationId": "get__api_groups_sync_history",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 25,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SyncHistoryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_sync_history <GET>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/groups/sync/selections": {
      "put": {
        "description": "",
        "operationId": "put__api_groups_sync_selections",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupSelectionsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateGroupSelectionsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_selections <PUT>",
        "tags": [
          "groups"
        ]
      }
    },
    "/api/image/edit": {
      "post": {
        "description": "",
        "operationId": "post__api_image_edit",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiImageResponse"
                }
              }
            },
            "description": "Created"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "edit_image <POST>",
        "tags": [
          "image"
        ]
      }
    },
    "/api/image/generate": {
      "post": {
        "description": "",
        "operationId": "post__api_image_generate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImageGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MultiImageResponse"
                }
              }
            },
            "description": "Created"
          },
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AsyncJobResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "generate_image <POST>",
        "tags": [
          "image"
        ]
      }
    },
    "/api/image/models": {
      "get": {
        "description": "",
        "operationId": "get__api_image_models",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "tags",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "title": "Tags",
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageGenerationModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_models <GET>",
        "tags": [
          "image"
        ]
      }
    },
    "/api/knowledge-bases": {
      "get": {
        "description": "",
        "operationId": "get__api_knowledge-bases",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_knowledge_bases <GET>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-bases",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseCreateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_knowledge-bases_{knowledge_base_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_knowledge_base <DELETE>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_knowledge-bases_{knowledge_base_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_knowledge_base <GET>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "patch": {
        "description": "",
        "operationId": "patch__api_knowledge-bases_{knowledge_base_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseUpdateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_knowledge_base <PATCH>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/documents": {
      "get": {
        "description": "",
        "operationId": "get__api_knowledge-bases_{knowledge_base_id}_documents",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseDocumentResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_knowledge_base_documents <GET>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/files": {
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-bases_{knowledge_base_id}_files",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadKnowledgeBaseFileForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseFileUploadResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_file_to_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/files/{file_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_knowledge-bases_{knowledge_base_id}_files_{file_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "file_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_knowledge_base_file <DELETE>",
        "tags": [
          "knowledge-bases"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_knowledge-bases_{knowledge_base_id}_files_{file_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "file_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/KnowledgeBaseFileUpdateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_knowledge_base_file <PUT>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/links": {
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-bases_{knowledge_base_id}_links",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddKnowledgeBaseLinkBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseLinkResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_link_to_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/links/{document_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_knowledge-bases_{knowledge_base_id}_links_{document_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "document_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_link_from_knowledge_base <DELETE>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-bases/{knowledge_base_id}/reindex": {
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-bases_{knowledge_base_id}_reindex",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeBaseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "reindex_knowledge_base <POST>",
        "tags": [
          "knowledge-bases"
        ]
      }
    },
    "/api/knowledge-source-configurations": {
      "get": {
        "description": "",
        "operationId": "get__api_knowledge-source-configurations",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSourceConfigurationResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_knowledge_source_configurations <GET>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/knowledge-source-configurations/{source_kind}": {
      "put": {
        "description": "",
        "operationId": "put__api_knowledge-source-configurations_{source_kind}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "source_kind",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateKnowledgeSourceConfigurationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSourceConfigurationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upsert_knowledge_source_configuration <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/knowledge-sources": {
      "get": {
        "description": "",
        "operationId": "get__api_knowledge-sources",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSourceResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_knowledge_sources <GET>",
        "tags": [
          "knowledge-sources"
        ]
      }
    },
    "/api/knowledge-sources/{source_type}/browse": {
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-sources_{source_type}_browse",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "source_type",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BrowseSourceBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSourceBrowseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "browse_source_items <POST>",
        "tags": [
          "knowledge-sources"
        ]
      }
    },
    "/api/knowledge-sources/{source_type}/search": {
      "post": {
        "description": "",
        "operationId": "post__api_knowledge-sources_{source_type}_search",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "source_type",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SearchSourceBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/KnowledgeSourceBrowseResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "search_source_items <POST>",
        "tags": [
          "knowledge-sources"
        ]
      }
    },
    "/api/mcp/oauth/assistants/{assistant_id}/disconnect": {
      "post": {
        "description": "",
        "operationId": "post__api_mcp_oauth_assistants_{assistant_id}_disconnect",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpOauthDisconnectBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "disconnect <POST>",
        "tags": [
          "mcp_oauth"
        ]
      }
    },
    "/api/mcp/oauth/assistants/{assistant_id}/status": {
      "get": {
        "description": "",
        "operationId": "get__api_mcp_oauth_assistants_{assistant_id}_status",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpOauthStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "status <GET>",
        "tags": [
          "mcp_oauth"
        ]
      }
    },
    "/api/mcp/oauth/callback": {
      "get": {
        "description": "",
        "operationId": "get__api_mcp_oauth_callback",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "callback <GET>",
        "tags": [
          "mcp_oauth"
        ]
      }
    },
    "/api/mcp/oauth/client-metadata.json": {
      "get": {
        "description": "",
        "operationId": "get__api_mcp_oauth_client-metadata.json",
        "parameters": [],
        "responses": {
          "200": {
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "client_metadata <GET>",
        "tags": [
          "mcp_oauth"
        ]
      }
    },
    "/api/mcp/oauth/prepare": {
      "post": {
        "description": "",
        "operationId": "post__api_mcp_oauth_prepare",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/McpOauthPrepareBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/McpOauthPrepareResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "prepare <POST>",
        "tags": [
          "mcp_oauth"
        ]
      }
    },
    "/api/memories": {
      "get": {
        "description": "",
        "operationId": "get__api_memories",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemoryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_user_memories <GET>",
        "tags": [
          "memories"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_memories",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMemoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemoryResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_memory <POST>",
        "tags": [
          "memories"
        ]
      }
    },
    "/api/memories/assistant/{assistant_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_memories_assistant_{assistant_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemoryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_assistant_memories <GET>",
        "tags": [
          "memories"
        ]
      }
    },
    "/api/memories/{memory_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_memories_{memory_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "memory_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_memory <DELETE>",
        "tags": [
          "memories"
        ]
      },
      "patch": {
        "description": "",
        "operationId": "patch__api_memories_{memory_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "memory_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateMemoryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MemoryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_memory <PATCH>",
        "tags": [
          "memories"
        ]
      }
    },
    "/api/notifications": {
      "get": {
        "description": "",
        "operationId": "get__api_notifications",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "status",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NotificationListFilter"
                },
                {
                  "type": "null"
                }
              ],
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_notifications <GET>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/endpoints": {
      "delete": {
        "description": "",
        "operationId": "delete__api_notifications_endpoints",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationEndpointBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_notification_endpoint <DELETE>",
        "tags": [
          "notifications"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_notifications_endpoints",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NotificationEndpointBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationEndpointResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "register_notification_endpoint <POST>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/preferences": {
      "get": {
        "description": "",
        "operationId": "get__api_notifications_preferences",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPreferencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_notification_preferences <GET>",
        "tags": [
          "notifications"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_notifications_preferences",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationPreferencesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationPreferencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_notification_preferences <PUT>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/read-all": {
      "put": {
        "description": "",
        "operationId": "put__api_notifications_read-all",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MessageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "mark_all_notifications_read <PUT>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/send": {
      "post": {
        "description": "",
        "operationId": "post__api_notifications_send",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendNotificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendNotificationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "send_notification <POST>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/unread-count": {
      "get": {
        "description": "",
        "operationId": "get__api_notifications_unread-count",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnreadNotificationsCountResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_unread_notifications_count <GET>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/{notification_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_notifications_{notification_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "notification_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_notification <DELETE>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/notifications/{notification_id}/read": {
      "put": {
        "description": "",
        "operationId": "put__api_notifications_{notification_id}_read",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "notification_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NotificationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "mark_notification_read <PUT>",
        "tags": [
          "notifications"
        ]
      }
    },
    "/api/projects": {
      "get": {
        "description": "",
        "operationId": "get__api_projects",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_projects <GET>",
        "tags": [
          "projects"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_projects",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_project <POST>",
        "tags": [
          "projects"
        ]
      }
    },
    "/api/projects/admin/{project_id}/promote-to-team": {
      "post": {
        "description": "",
        "operationId": "post__api_projects_admin_{project_id}_promote-to-team",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromoteProjectToTeamBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "promote_project_to_team <POST>",
        "tags": [
          "projects"
        ]
      }
    },
    "/api/projects/{project_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_projects_{project_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_project <DELETE>",
        "tags": [
          "projects"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_projects_{project_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_project <GET>",
        "tags": [
          "projects"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_projects_{project_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_project <PUT>",
        "tags": [
          "projects"
        ]
      }
    },
    "/api/projects/{project_id}/conversations": {
      "get": {
        "description": "",
        "operationId": "get__api_projects_{project_id}_conversations",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationsListResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_project_conversations <GET>",
        "tags": [
          "projects"
        ]
      }
    },
    "/api/projects/{project_id}/conversations/{conversation_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_projects_{project_id}_conversations_{conversation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remove_conversation_from_project <DELETE>",
        "tags": [
          "projects"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_projects_{project_id}_conversations_{conversation_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_conversation_to_project <POST>",
        "tags": [
          "projects"
        ]
      }
    },
    "/api/projects/{project_id}/groups/{group_id}/members": {
      "get": {
        "description": "",
        "operationId": "get__api_projects_{project_id}_groups_{group_id}_members",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "group_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_project_team_group_members <GET>",
        "tags": [
          "project-members"
        ]
      }
    },
    "/api/projects/{project_id}/members": {
      "get": {
        "description": "",
        "operationId": "get__api_projects_{project_id}_members",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectMemberResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_project_members <GET>",
        "tags": [
          "project-members"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_projects_{project_id}_members",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddProjectMembersBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddProjectMembersResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "add_project_members <POST>",
        "tags": [
          "project-members"
        ]
      }
    },
    "/api/projects/{project_id}/members/{member_user_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_projects_{project_id}_members_{member_user_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "project_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "member_user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteProjectResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remove_project_member <DELETE>",
        "tags": [
          "project-members"
        ]
      }
    },
    "/api/protected/image/transparency/{string}": {
      "get": {
        "description": "",
        "operationId": "get__api_protected_image_transparency_{string}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "string",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImageTransparencyResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_image_transparency <GET>",
        "tags": [
          "protected"
        ]
      }
    },
    "/api/protected/image/{string}": {
      "get": {
        "description": "",
        "operationId": "get__api_protected_image_{string}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "string",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "image_format",
            "required": false,
            "schema": {
              "default": "",
              "title": "Image Format",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "background_color",
            "required": false,
            "schema": {
              "default": "white",
              "enum": [
                "white",
                "black"
              ],
              "title": "Background Color",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "get_image <GET>",
        "tags": [
          "protected"
        ]
      }
    },
    "/api/protected/video/{string}": {
      "get": {
        "description": "",
        "operationId": "get__api_protected_video_{string}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "string",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {},
        "summary": "get_video <GET>",
        "tags": [
          "protected"
        ]
      }
    },
    "/api/protected/{string}": {
      "get": {
        "description": "",
        "operationId": "get__api_protected_{string}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "string",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignedUrlResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_signed_url <GET>",
        "tags": [
          "protected"
        ]
      }
    },
    "/api/search": {
      "get": {
        "description": "",
        "operationId": "get__api_search",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "q",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": "",
              "title": "Q"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 10,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "search <GET>",
        "tags": [
          "search"
        ]
      }
    },
    "/api/skills/assistant/{assistant_id}/build/history": {
      "get": {
        "description": "",
        "operationId": "get__api_skills_assistant_{assistant_id}_build_history",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "skill_filename",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Skill Filename"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "is_completed",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Is Completed"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillBuilderJobDataList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_skills_builder_history <GET>",
        "tags": [
          "skill_builder"
        ]
      }
    },
    "/api/skills/assistant/{assistant_id}/build/history/{job_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_skills_assistant_{assistant_id}_build_history_{job_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillDeletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_draft_skill <DELETE>",
        "tags": [
          "skill_builder"
        ]
      }
    },
    "/api/skills/assistants/{assistant_id}/build": {
      "post": {
        "description": "",
        "operationId": "post__api_skills_assistants_{assistant_id}_build",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuildSkillRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BuildSkillAsyncResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "build_skill_async <POST>",
        "tags": [
          "skill_builder"
        ]
      }
    },
    "/api/skills/avatar/upload/content-types": {
      "get": {
        "description": "",
        "operationId": "get__api_skills_avatar_upload_content-types",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllowedAvatarContentTypesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_allowed_skill_avatar_content_types <GET>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/skills/avatar/upload/content-types/": {
      "get": {
        "description": "",
        "operationId": "get__api_skills_avatar_upload_content-types_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AllowedAvatarContentTypesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_allowed_skill_avatar_content_types <GET>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/skills/global": {
      "get": {
        "description": "",
        "operationId": "get__api_skills_global",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "search",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Search"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "order_by",
            "required": false,
            "schema": {
              "default": "name_asc",
              "title": "Order By",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "usable_in",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/SkillUsableIn"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillSummaryResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_global_skills <GET>",
        "tags": [
          "global_skills"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_skills_global",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadGlobalSkillForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillUploadResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_global_skill <POST>",
        "tags": [
          "global_skills"
        ]
      }
    },
    "/api/skills/global/{skill_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_skills_global_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillDeletionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_global_skill <DELETE>",
        "tags": [
          "global_skills"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_skills_global_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_global_skill <GET>",
        "tags": [
          "global_skills"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_skills_global_{skill_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGlobalSkillForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_global_skill <PUT>",
        "tags": [
          "global_skills"
        ]
      }
    },
    "/api/skills/global/{skill_id}/assistants": {
      "get": {
        "description": "",
        "operationId": "get__api_skills_global_{skill_id}_assistants",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUsingSkillResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_assistants_using_skill <GET>",
        "tags": [
          "global_skills"
        ]
      }
    },
    "/api/skills/global/{skill_id}/avatar/upload": {
      "post": {
        "description": "",
        "operationId": "post__api_skills_global_{skill_id}_avatar_upload",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadSkillAvatarForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillUploadAvatarResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_skill_avatar <POST>",
        "tags": [
          "avatar"
        ]
      }
    },
    "/api/skills/global/{skill_id}/catalog-metadata": {
      "put": {
        "description": "",
        "operationId": "put__api_skills_global_{skill_id}_catalog-metadata",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "skill_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetCatalogMetadataRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SkillDetailResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "set_global_skill_catalog_metadata <PUT>",
        "tags": [
          "global_skills"
        ]
      }
    },
    "/api/teams": {
      "get": {
        "description": "",
        "operationId": "get__api_teams",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_teams <GET>",
        "tags": [
          "teams"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_teams",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTeamBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_team <POST>",
        "tags": [
          "teams"
        ]
      }
    },
    "/api/teams/{team_id}": {
      "delete": {
        "description": "",
        "operationId": "delete__api_teams_{team_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No Content"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "delete_team <DELETE>",
        "tags": [
          "teams"
        ]
      },
      "get": {
        "description": "",
        "operationId": "get__api_teams_{team_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_team <GET>",
        "tags": [
          "teams"
        ]
      },
      "patch": {
        "description": "",
        "operationId": "patch__api_teams_{team_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTeamBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_team <PATCH>",
        "tags": [
          "teams"
        ]
      }
    },
    "/api/teams/{team_id}/members": {
      "put": {
        "description": "",
        "operationId": "put__api_teams_{team_id}_members",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrincipalsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "set_team_members <PUT>",
        "tags": [
          "teams"
        ]
      }
    },
    "/api/teams/{team_id}/owners": {
      "put": {
        "description": "",
        "operationId": "put__api_teams_{team_id}_owners",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "team_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TeamPrincipalsBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TeamResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "set_team_owners <PUT>",
        "tags": [
          "teams"
        ]
      }
    },
    "/api/templates/": {
      "get": {
        "description": "",
        "operationId": "get__api_templates_",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TemplateResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_templates <GET>",
        "tags": [
          "templates"
        ]
      }
    },
    "/api/templates/create_assistant": {
      "post": {
        "description": "",
        "operationId": "post__api_templates_create_assistant",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssistantFromTemplateBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssistantFromTemplateResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_assistant_from_template <POST>",
        "tags": [
          "templates"
        ]
      }
    },
    "/api/tenant-admin/default-embedding-model": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_default-embedding-model",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultEmbeddingModelResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_default_embedding_model <GET>",
        "tags": [
          "tenant-admin"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_default-embedding-model",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDefaultEmbeddingModelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultEmbeddingModelResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_default_embedding_model <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/default-model": {
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_default-model",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDefaultModelRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DefaultModelResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_default_model <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/features": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_features",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ManageableFeatureResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_manageable_features <GET>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/features/{feature_key}/visibility": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_features_{feature_key}_visibility",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "feature_key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantFeatureVisibilityResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_feature_visibility <GET>",
        "tags": [
          "tenant-admin"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_features_{feature_key}_visibility",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "feature_key",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FeatureVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantFeatureVisibilityResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_feature_visibility <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/invitations": {
      "post": {
        "description": "",
        "operationId": "post__api_tenant-admin_invitations",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvitationsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateInvitationsResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_invitations <POST>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/logo/upload": {
      "post": {
        "description": "",
        "operationId": "post__api_tenant-admin_logo_upload",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/UploadTenantLogoForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AssistantUploadImageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "upload_tenant_logo <POST>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/models/{model_id}/visibility": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_models_{model_id}_visibility",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "model_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantModelVisibilityResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_model_visibility <GET>",
        "tags": [
          "tenant-admin"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_models_{model_id}_visibility",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "model_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ModelVisibilityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantModelVisibilityResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_model_visibility <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/provider-api-keys": {
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_provider-api-keys",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProviderApiKeysRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProviderApiKeysResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_provider_api_keys <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/provisioning-mode": {
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_provisioning-mode",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProvisioningModeRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProvisioningModeResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_provisioning_mode <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/service-accounts": {
      "post": {
        "description": "",
        "operationId": "post__api_tenant-admin_service-accounts",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateServiceAccountRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantMemberResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_service_account <POST>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/service-accounts/{user_id}/api-tokens": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_service-accounts_{user_id}_api-tokens",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_service_account_api_tokens <GET>",
        "tags": [
          "tenant-admin"
        ]
      },
      "post": {
        "description": "",
        "operationId": "post__api_tenant-admin_service-accounts_{user_id}_api-tokens",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateServiceAccountApiTokenRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "create_service_account_api_token <POST>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/service-accounts/{user_id}/api-tokens/{token_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_service-accounts_{user_id}_api-tokens_{token_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "token_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_service_account_api_token <GET>",
        "tags": [
          "tenant-admin"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_service-accounts_{user_id}_api-tokens_{token_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "token_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApiTokenBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiTokensTokenResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_service_account_api_token <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/service-accounts/{user_id}/display-name": {
      "patch": {
        "description": "",
        "operationId": "patch__api_tenant-admin_service-accounts_{user_id}_display-name",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserDisplayNameRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantMemberResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_service_account_display_name <PATCH>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/service-accounts/{user_id}/login-as": {
      "post": {
        "description": "",
        "operationId": "post__api_tenant-admin_service-accounts_{user_id}_login-as",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "login_as_service_account <POST>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/usage-report/daily/export": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_usage-report_daily_export",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          }
        ],
        "responses": {},
        "summary": "export_daily_user_costs <GET>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/users/{user_id}/resolved-features": {
      "get": {
        "description": "",
        "operationId": "get__api_tenant-admin_users_{user_id}_resolved-features",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResolvedFeatureResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_resolved_features <GET>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/tenant-admin/users/{user_id}/role": {
      "put": {
        "description": "",
        "operationId": "put__api_tenant-admin_users_{user_id}_role",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantMemberResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_user_role <PUT>",
        "tags": [
          "tenant-admin"
        ]
      }
    },
    "/api/users": {
      "get": {
        "description": "",
        "operationId": "get__api_users",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "query",
            "required": false,
            "schema": {
              "default": "",
              "title": "Query",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "query_users <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/connected-services": {
      "get": {
        "description": "",
        "operationId": "get__api_users_connected-services",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConnectedServicesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_connected_services <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/costs": {
      "get": {
        "description": "",
        "operationId": "get__api_users_costs",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "from_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "From Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "to_date",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "To Date"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "user_ids",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "items": {
                    "format": "uuid",
                    "type": "string"
                  },
                  "type": "array"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "User Ids"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Model"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "group_by_tenant",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": false,
              "title": "Group By Tenant"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCostsResponseModel"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_costs <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/custom-prompt": {
      "get": {
        "description": "",
        "operationId": "get__api_users_custom-prompt",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserCustomPromptResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_custom_prompt <GET>",
        "tags": [
          "users"
        ]
      },
      "put": {
        "description": "",
        "operationId": "put__api_users_custom-prompt",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserCustomPromptBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserCustomPromptResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_user_custom_prompt <PUT>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/external-services": {
      "get": {
        "description": "",
        "operationId": "get__api_users_external-services",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExternalServicesWithStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_external_services <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/logout": {
      "post": {
        "description": "",
        "operationId": "post__api_users_logout",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LogoutRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LogoutResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "logout <POST>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/me": {
      "get": {
        "description": "",
        "operationId": "get__api_users_me",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CurrentUserResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_current_user <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/me/teams": {
      "get": {
        "description": "",
        "operationId": "get__api_users_me_teams",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserTeamResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "list_my_teams <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/preferences": {
      "get": {
        "description": "",
        "operationId": "get__api_users_preferences",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPreferencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_preferences <GET>",
        "tags": [
          "users"
        ]
      },
      "patch": {
        "description": "",
        "operationId": "patch__api_users_preferences",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateUserPreferencesBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserPreferencesResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "update_user_preferences <PATCH>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/stats": {
      "get": {
        "description": "",
        "operationId": "get__api_users_stats",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserStatsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_stats <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/usage": {
      "get": {
        "description": "",
        "operationId": "get__api_users_usage",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Month"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserUsageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_usage <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/usage-detail": {
      "get": {
        "description": "",
        "operationId": "get__api_users_usage-detail",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "month",
            "required": true,
            "schema": {
              "title": "Month",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlTowerUserUsageResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_usage_detail <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/usage-summary": {
      "get": {
        "description": "",
        "operationId": "get__api_users_usage-summary",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsageSummaryResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_usage_summary <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/usage/first-month": {
      "get": {
        "description": "",
        "operationId": "get__api_users_usage_first-month",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "include_only_billable",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Include Only Billable"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserFirstUsageMonthResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user_first_usage_month <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/users/{user_id}": {
      "get": {
        "description": "",
        "operationId": "get__api_users_{user_id}",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "user_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_user <GET>",
        "tags": [
          "users"
        ]
      }
    },
    "/api/utils/chunk-document": {
      "post": {
        "description": "",
        "operationId": "post__api_utils_chunk-document",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChunkDocumentResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_chunked_document <POST>",
        "tags": [
          "utils"
        ]
      }
    },
    "/api/utils/get-file-text-content": {
      "post": {
        "description": "",
        "operationId": "post__api_utils_get-file-text-content",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/FileTextContentForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileTextContentResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_file_text_content <POST>",
        "tags": [
          "utils"
        ]
      }
    },
    "/api/utils/improve-prompt": {
      "post": {
        "description": "",
        "operationId": "post__api_utils_improve-prompt",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImprovePromptRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImprovePromptResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "improve_prompt <POST>",
        "tags": [
          "utils"
        ]
      }
    },
    "/api/utils/llm-filter-documents": {
      "post": {
        "description": "",
        "operationId": "post__api_utils_llm-filter-documents",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LLMFilterDocumentsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LLMFilterDocumentsResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "llm_filter_result_blueprint_function <POST>",
        "tags": [
          "utils"
        ]
      }
    },
    "/api/video/extend": {
      "post": {
        "description": "",
        "operationId": "post__api_video_extend",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VideoGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoJobResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "extend_video <POST>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/video/generate": {
      "post": {
        "description": "",
        "operationId": "post__api_video_generate",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VideoGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoJobResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "generate_video <POST>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/video/jobs/{job_id}/download": {
      "post": {
        "description": "",
        "operationId": "post__api_video_jobs_{job_id}_download",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VideoGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoJobDownloadResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "download_job_result <POST>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/video/jobs/{job_id}/status": {
      "get": {
        "description": "",
        "operationId": "get__api_video_jobs_{job_id}_status",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "job_id",
            "required": true,
            "schema": {
              "format": "path",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "query",
            "name": "model",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null,
              "title": "Model"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoJobStatusResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_job_status <GET>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/video/models": {
      "get": {
        "description": "",
        "operationId": "get__api_video_models",
        "parameters": [
          {
            "description": "",
            "in": "query",
            "name": "tags",
            "required": false,
            "schema": {
              "items": {
                "type": "string"
              },
              "title": "Tags",
              "type": "array"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoGenerationModelResponseList"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "get_models <GET>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/video/remix": {
      "post": {
        "description": "",
        "operationId": "post__api_video_remix",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VideoGenerationBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VideoJobResponse"
                }
              }
            },
            "description": "Created"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "remix_video <POST>",
        "tags": [
          "video"
        ]
      }
    },
    "/api/vision": {
      "post": {
        "description": "",
        "operationId": "post__api_vision",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/VisionForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VisionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "vision <POST>",
        "tags": [
          "vision"
        ]
      }
    },
    "/api/vision/": {
      "post": {
        "description": "",
        "operationId": "post__api_vision_",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/VisionForm"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VisionResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "vision <POST>",
        "tags": [
          "vision"
        ]
      }
    },
    "/api/workflows/assistants/{assistant_id}/ai_code_box/build": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_assistants_{assistant_id}_ai_code_box_build",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AiCodeBoxBuildRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AiCodeBoxBuildResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "build_ai_code_box <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/debug/clear": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_debug_clear",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowDebugConversationResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "debug_clear_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/debug/play": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_debug_play",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowDebugRunBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRunResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "debug_play_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/debug/restart": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_debug_restart",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowDebugRunBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRunResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "debug_restart_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/runs": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_runs",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowRunRequestBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRunResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "start_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/runs/{conversation_id}/cancel": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_runs_{conversation_id}_cancel",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRunResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "cancel_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/api/workflows/{assistant_id}/runs/{conversation_id}/resume": {
      "post": {
        "description": "",
        "operationId": "post__api_workflows_{assistant_id}_runs_{conversation_id}_resume",
        "parameters": [
          {
            "description": "",
            "in": "path",
            "name": "assistant_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          },
          {
            "description": "",
            "in": "path",
            "name": "conversation_id",
            "required": true,
            "schema": {
              "format": "uuid",
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkflowRunResumeBody"
              }
            }
          },
          "required": true
        },
        "responses": {
          "202": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WorkflowRunResponse"
                }
              }
            },
            "description": "Accepted"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "resume_workflow_run <POST>",
        "tags": [
          "workflows"
        ]
      }
    },
    "/health": {
      "get": {
        "description": "",
        "operationId": "get__health",
        "parameters": [],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthResponse"
                }
              }
            },
            "description": "OK"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            },
            "description": "Unprocessable Content"
          }
        },
        "summary": "health <GET>",
        "tags": [
          "health"
        ]
      }
    }
  },
  "security": [],
  "tags": [
    {
      "name": "auth"
    },
    {
      "name": "models"
    },
    {
      "name": "functions"
    },
    {
      "name": "completion"
    },
    {
      "name": "openai_compatible"
    },
    {
      "name": "anthropic_compatible"
    },
    {
      "name": "assistants"
    },
    {
      "name": "favourites"
    },
    {
      "name": "avatar"
    },
    {
      "name": "files"
    },
    {
      "name": "skills"
    },
    {
      "name": "links"
    },
    {
      "name": "search"
    },
    {
      "name": "content"
    },
    {
      "name": "user_data"
    },
    {
      "name": "data"
    },
    {
      "name": "token"
    },
    {
      "name": "ui"
    },
    {
      "name": "webhooks"
    },
    {
      "name": "automations"
    },
    {
      "name": "knowledge-bases"
    },
    {
      "name": "conversations"
    },
    {
      "name": "streams"
    },
    {
      "name": "projects"
    },
    {
      "name": "project-members"
    },
    {
      "name": "protected"
    },
    {
      "name": "workflows"
    },
    {
      "name": "config"
    },
    {
      "name": "users"
    },
    {
      "name": "groups"
    },
    {
      "name": "teams"
    },
    {
      "name": "external_services"
    },
    {
      "name": "external_service_visibility"
    },
    {
      "name": "vision"
    },
    {
      "name": "audio"
    },
    {
      "name": "image"
    },
    {
      "name": "video"
    },
    {
      "name": "embeddings"
    },
    {
      "name": "utils"
    },
    {
      "name": "admin"
    },
    {
      "name": "admin_audit_log"
    },
    {
      "name": "tenant-admin"
    },
    {
      "name": "control-tower"
    },
    {
      "name": "health"
    },
    {
      "name": "global_skills"
    },
    {
      "name": "skill_builder"
    },
    {
      "name": "catalog"
    },
    {
      "name": "templates"
    },
    {
      "name": "notifications"
    },
    {
      "name": "knowledge-sources"
    },
    {
      "name": "memories"
    },
    {
      "name": "mcp_oauth"
    },
    {
      "name": "assistant_database"
    }
  ]
}
