{
  "openapi": "3.1.0",
  "info": {
    "title": "bioamla",
    "description": "Run bioamla operations in workspaces on this machine.",
    "version": "v1"
  },
  "paths": {
    "/v1/health": {
      "get": {
        "tags": [
          "service"
        ],
        "summary": "Health",
        "description": "Liveness check; needs no token.",
        "operationId": "health_v1_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Health V1 Health Get"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs": {
      "get": {
        "tags": [
          "jobs"
        ],
        "summary": "List Jobs",
        "description": "Every job this server has run since it started, newest first.",
        "operationId": "list_jobs_v1_jobs_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "workspace",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Only this workspace's jobs",
              "title": "Workspace"
            },
            "description": "Only this workspace's jobs"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Jobs V1 Jobs Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{job_id}": {
      "get": {
        "tags": [
          "jobs"
        ],
        "summary": "Get Job",
        "description": "A job's status and progress, and its result or error once it's done.",
        "operationId": "get_job_v1_jobs__job_id__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Job Id"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Job V1 Jobs  Job Id  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{job_id}/cancel": {
      "post": {
        "tags": [
          "jobs"
        ],
        "summary": "Cancel Job",
        "description": "Ask a job to stop (a queued job is dropped). Answers with the job.",
        "operationId": "cancel_job_v1_jobs__job_id__cancel_post",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Cancel Job V1 Jobs  Job Id  Cancel Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{job_id}/log": {
      "get": {
        "tags": [
          "jobs"
        ],
        "summary": "Job Log",
        "description": "A job's notices and log lines, one per line (``LEVEL message``).",
        "operationId": "job_log_v1_jobs__job_id__log_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Job Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{job_id}/events": {
      "get": {
        "tags": [
          "jobs"
        ],
        "summary": "Job Events",
        "description": "A job's events as server-sent events, until it finishes. Each event's\n``data`` is JSON; its ``event`` is ``status``, ``progress``, ``notice`` or\n``log``. Send ``Last-Event-ID`` to resume after an event.",
        "operationId": "job_events_v1_jobs__job_id__events_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "job_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Job Id"
            }
          },
          {
            "name": "Last-Event-ID",
            "in": "header",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0,
              "title": "Last-Event-Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces": {
      "get": {
        "tags": [
          "workspaces"
        ],
        "summary": "List Workspaces",
        "description": "The workspaces under the server root: name (its folder), title, id, created\nand artifact counts.",
        "operationId": "list_workspaces_v1_workspaces_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response List Workspaces V1 Workspaces Get"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      },
      "post": {
        "tags": [
          "workspaces"
        ],
        "summary": "Create",
        "description": "Create a workspace under the server root.",
        "operationId": "create_v1_workspaces_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Body_create_v1_workspaces_post"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Create V1 Workspaces Post"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      }
    },
    "/v1/workspaces/{ws}": {
      "get": {
        "tags": [
          "workspaces"
        ],
        "summary": "Status",
        "description": "A workspace's metadata, artifact counts and last runs.",
        "operationId": "status_v1_workspaces__ws__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "last_runs",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0,
              "description": "How many recent runs to include",
              "default": 5,
              "title": "Last Runs"
            },
            "description": "How many recent runs to include"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Status V1 Workspaces  Ws  Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/config": {
      "get": {
        "tags": [
          "workspaces"
        ],
        "summary": "Get Config",
        "description": "The workspace's own settings, as dotted keys.",
        "operationId": "get_config_v1_workspaces__ws__config_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Get Config V1 Workspaces  Ws  Config Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/config/{key}": {
      "put": {
        "tags": [
          "workspaces"
        ],
        "summary": "Set Config",
        "description": "Set a setting (``<operation>.<request field>``) in the workspace.",
        "operationId": "set_config_v1_workspaces__ws__config__key__put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Body_set_config_v1_workspaces__ws__config__key__put"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Set Config V1 Workspaces  Ws  Config  Key  Put"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "workspaces"
        ],
        "summary": "Unset Config",
        "description": "Remove a setting from the workspace.",
        "operationId": "unset_config_v1_workspaces__ws__config__key__delete",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Key"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Unset Config V1 Workspaces  Ws  Config  Key  Delete"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/files": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "List Files",
        "description": "A folder's files and subfolders (``path``, ``type``, ``size``, ``modified``, and\n``sha256`` when asked), at most 10,000 (``truncated`` says when there were more:\nlist a subfolder). A file's ``path`` lists just it. With ``sha256`` every file\nlisted is read, so a client can fingerprint files without downloading them.",
        "operationId": "list_files_v1_workspaces__ws__files_get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "path",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "description": "A folder (or a file), relative to the workspace",
              "default": ".",
              "title": "Path"
            },
            "description": "A folder (or a file), relative to the workspace"
          },
          {
            "name": "recursive",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Include subfolders",
              "default": false,
              "title": "Recursive"
            },
            "description": "Include subfolders"
          },
          {
            "name": "sha256",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Add each file's SHA-256, read on the server",
              "default": false,
              "title": "Sha256"
            },
            "description": "Add each file's SHA-256, read on the server"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response List Files V1 Workspaces  Ws  Files Get"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/files/{path}": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Download",
        "description": "Download a file.",
        "operationId": "download_v1_workspaces__ws__files__path__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Path"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/octet-stream": {}
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "files"
        ],
        "summary": "Upload",
        "description": "Upload a file into the workspace: the request body, written as is. Missing\nfolders are created; the file appears whole or not at all.",
        "operationId": "upload_v1_workspaces__ws__files__path__put",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Path"
            }
          },
          {
            "name": "overwrite",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Replace an existing file",
              "default": false,
              "title": "Overwrite"
            },
            "description": "Replace an existing file"
          }
        ],
        "responses": {
          "201": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Upload V1 Workspaces  Ws  Files  Path  Put"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/audio/{path}": {
      "get": {
        "tags": [
          "files"
        ],
        "summary": "Audio Window",
        "description": "A window of a recording as a float32 WAV, decoded on the server: only that\npart of the file is read, so a few seconds of a long recording cost a few\nseconds' worth of bytes. It is mixed to mono unless ``keep_channels``, and cut\nshort at the end of the recording; the ``X-Bioamla-Start``,\n``X-Bioamla-Duration``, ``X-Bioamla-Sample-Rate`` and ``X-Bioamla-Channels``\nheaders say what came back.",
        "operationId": "audio_window_v1_workspaces__ws__audio__path__get",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "path",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Path"
            }
          },
          {
            "name": "start",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number",
              "minimum": 0,
              "description": "Window start, in seconds",
              "default": 0.0,
              "title": "Start"
            },
            "description": "Window start, in seconds"
          },
          {
            "name": "duration",
            "in": "query",
            "required": true,
            "schema": {
              "type": "number",
              "exclusiveMinimum": 0,
              "description": "Window length, in seconds",
              "title": "Duration"
            },
            "description": "Window length, in seconds"
          },
          {
            "name": "sample_rate",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer",
                  "maximum": 384000,
                  "exclusiveMinimum": 0
                },
                {
                  "type": "null"
                }
              ],
              "description": "Resample to this rate",
              "title": "Sample Rate"
            },
            "description": "Resample to this rate"
          },
          {
            "name": "keep_channels",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Keep the recording's channels instead of mixing to mono",
              "default": false,
              "title": "Keep Channels"
            },
            "description": "Keep the recording's channels instead of mixing to mono"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "audio/wav": {}
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/operations": {
      "get": {
        "tags": [
          "operations"
        ],
        "summary": "List Operations",
        "description": "Every operation this server runs: name, kind, summary, path fields and the\nrequest's JSON Schema; and the domains that aren't available (missing extras).",
        "operationId": "list_operations_v1_operations_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response List Operations V1 Operations Get"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.convert": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Convert an annotation file between formats.",
        "description": "Convert an annotation file between formats.",
        "operationId": "op_annotation_convert",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConvertRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Convert"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.filter": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Filter annotations by label or duration.",
        "description": "Filter annotations by label or duration.",
        "operationId": "op_annotation_filter",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Filter"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.generate-frame-labels": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Generate frame-level multi-hot labels from annotations.",
        "description": "Generate frame-level multi-hot labels from annotations.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_annotation_generate_frame_labels",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameLabelsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Generate Frame Labels"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.generate-labels": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Generate clip-level labels from annotations.",
        "description": "Generate clip-level labels from annotations.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_annotation_generate_labels",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClipLabelsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Generate Labels"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.remap": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Rename labels with a mapping CSV.",
        "description": "Rename labels with a mapping CSV.",
        "operationId": "op_annotation_remap",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemapRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Remap"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.summary": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Summarize an annotation file.",
        "description": "Summarize an annotation file.",
        "operationId": "op_annotation_summary",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SummaryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Summary"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/annotation.template": {
      "post": {
        "tags": [
          "annotation"
        ],
        "summary": "Write a starter annotation file for a recording.",
        "description": "Write a starter annotation file for a recording.",
        "operationId": "op_annotation_template",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Annotation Template"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.add-noise": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Add white noise to a file.",
        "description": "Add white noise to a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_add_noise",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioAddNoiseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Add Noise"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.convert": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Convert a file's format, sample rate or channel count.",
        "description": "Convert a file's format, sample rate or channel count.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_convert",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioConvertRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Convert"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.denoise": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Reduce stationary noise in a file.",
        "description": "Reduce stationary noise in a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_denoise",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioDenoiseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Denoise"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.features": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Compute frame-level descriptors and MFCCs of one file.",
        "description": "Compute frame-level descriptors and MFCCs of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_features",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioFeaturesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Features"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.filter": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Apply a frequency filter to a file.",
        "description": "Apply a frequency filter to a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_filter",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Filter"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.gain": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Apply a fixed gain to a file.",
        "description": "Apply a fixed gain to a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_gain",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioGainRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Gain"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.info": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Read a file's header (and optionally its recorder metadata) without decoding it.",
        "description": "Read a file's header (and optionally its recorder metadata) without decoding it.",
        "operationId": "op_audio_info",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioInfoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Info"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.list": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "List the audio files under a folder.",
        "description": "List the audio files under a folder.",
        "operationId": "op_audio_list",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioListRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio List"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.metadata": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Read a WAV file's recorder metadata, flattened and per standard.",
        "description": "Read a WAV file's recorder metadata, flattened and per standard.",
        "operationId": "op_audio_metadata",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioMetadataRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Metadata"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.normalize": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Normalize a file's level.",
        "description": "Normalize a file's level.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_normalize",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioNormalizeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Normalize"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.pitch-shift": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Shift a file's pitch.",
        "description": "Shift a file's pitch.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_pitch_shift",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioPitchShiftRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Pitch Shift"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.resample": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Resample a file.",
        "description": "Resample a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_resample",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioResampleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Resample"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.segment": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Cut a file into fixed-length clips.",
        "description": "Cut a file into fixed-length clips.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_segment",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioSegmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Segment"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.time-stretch": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Stretch a file in time.",
        "description": "Stretch a file in time.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_time_stretch",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioTimeStretchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Time Stretch"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.trim": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Keep part of a file.",
        "description": "Keep part of a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_trim",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioTrimRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Trim"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.video": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Render a spectrogram, waveform or trajectory video of a file.",
        "description": "Render a spectrogram, waveform or trajectory video of a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_video",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioVideoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Video"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/audio.visualize": {
      "post": {
        "tags": [
          "audio"
        ],
        "summary": "Draw a spectrogram, MFCC or waveform image of a file, with boxes outlined.",
        "description": "Draw a spectrogram, MFCC or waveform image of a file, with boxes outlined.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_audio_visualize",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AudioVisualizeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Audio Visualize"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.convert": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Convert every file's format, sample rate or channel count.",
        "description": "Convert every file's format, sample rate or channel count.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_convert",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchConvertRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Convert"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.denoise": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Reduce stationary noise in every file.",
        "description": "Reduce stationary noise in every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_denoise",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchDenoiseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Denoise"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.features": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Write a per-frame feature table for every file.",
        "description": "Write a per-frame feature table for every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_features",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchFeaturesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Features"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.filter": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Apply a frequency filter to every file.",
        "description": "Apply a frequency filter to every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_filter",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchFilterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Filter"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.info": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Read every file's header (duration, sample rate, channels, samples, format).",
        "description": "Read every file's header (duration, sample rate, channels, samples, format).\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_info",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Info"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.metadata": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Read every WAV's recorder metadata (GUANO, AudioMoth, WAMD, bext).",
        "description": "Read every WAV's recorder metadata (GUANO, AudioMoth, WAMD, bext).\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_metadata",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Metadata"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.normalize": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Normalize every file's level.",
        "description": "Normalize every file's level.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_normalize",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchNormalizeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Normalize"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.resample": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Resample every file.",
        "description": "Resample every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_resample",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchResampleRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Resample"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.segment": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Cut every file into fixed-length clips.",
        "description": "Cut every file into fixed-length clips.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_segment",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchSegmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Segment"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.trim": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Trim every file to a time range (keeping its channels), or trim its silence",
        "description": "Trim every file to a time range (keeping its channels), or trim its silence\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_trim",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchTrimRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Trim"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.validate": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Check that every WAV is well-formed (header only); invalid files are listed in",
        "description": "Check that every WAV is well-formed (header only); invalid files are listed in\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_validate",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Validate"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.audio.visualize": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Draw an image of every file in a folder.",
        "description": "Draw an image of every file in a folder.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_audio_visualize",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchVisualizeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Audio Visualize"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.cluster": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Cluster the embeddings of a batch.",
        "description": "Cluster the embeddings of a batch.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_cluster",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchClusterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Cluster"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.detect.accelerating": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Detect accelerating or decelerating call patterns in every file.",
        "description": "Detect accelerating or decelerating call patterns in every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_detect_accelerating",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchAcceleratingRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Detect Accelerating"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.detect.energy": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Detect sounds in every file with band-limited energy detection.",
        "description": "Detect sounds in every file with band-limited energy detection.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_detect_energy",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchEnergyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Detect Energy"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.detect.peaks": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Find peaks in every file with the continuous wavelet transform.",
        "description": "Find peaks in every file with the continuous wavelet transform.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_detect_peaks",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchPeaksRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Detect Peaks"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.detect.ribbit": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Detect periodic calls in every file with RIBBIT.",
        "description": "Detect periodic calls in every file with RIBBIT.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_detect_ribbit",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRibbitRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Detect Ribbit"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.index": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Compute acoustic indices for every file.",
        "description": "Compute acoustic indices for every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_index",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchIndexRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Index"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.models.embed": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Save an AST embedding for every file.",
        "description": "Save an AST embedding for every file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_models_embed",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchEmbedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Models Embed"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/batch.models.predict": {
      "post": {
        "tags": [
          "batch"
        ],
        "summary": "Classify every file with an AST model.",
        "description": "Classify every file with an AST model.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_batch_models_predict",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchPredictRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Batch Models Predict"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ebird.nearby": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Get recent eBird observations near a place.",
        "description": "Get recent eBird observations near a place.",
        "operationId": "op_catalogs_ebird_nearby",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NearbyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ebird Nearby"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ebird.search": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Fuzzy search the eBird taxonomy.",
        "description": "Fuzzy search the eBird taxonomy.",
        "operationId": "op_catalogs_ebird_search",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpeciesSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ebird Search"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ebird.species": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Look up a species in the eBird taxonomy.",
        "description": "Look up a species in the eBird taxonomy.",
        "operationId": "op_catalogs_ebird_species",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SpeciesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ebird Species"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ebird.validate": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Check whether a species is expected at a place.",
        "description": "Check whether a species is expected at a place.",
        "operationId": "op_catalogs_ebird_validate",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ebird Validate"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.hf.cache": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "List the local Hugging Face cache.",
        "description": "List the local Hugging Face cache.",
        "operationId": "op_catalogs_hf_cache",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CacheRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Hf Cache"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.hf.check-push-dataset": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Check a dataset push as ``catalogs.hf.push-dataset`` would, without pushing.",
        "description": "Check a dataset push as ``catalogs.hf.push-dataset`` would, without pushing.",
        "operationId": "op_catalogs_hf_check_push_dataset",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CheckPushDatasetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Hf Check Push Dataset"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.hf.pull-dataset": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Pull a Hugging Face audio dataset into label folders.",
        "description": "Pull a Hugging Face audio dataset into label folders.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_hf_pull_dataset",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PullDatasetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Hf Pull Dataset"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.hf.push-dataset": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Push a dataset folder to the Hugging Face Hub.",
        "description": "Push a dataset folder to the Hugging Face Hub.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_hf_push_dataset",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushDatasetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Hf Push Dataset"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.hf.push-model": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Push a model folder to the Hugging Face Hub.",
        "description": "Push a model folder to the Hugging Face Hub.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_hf_push_model",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PushModelRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Hf Push Model"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.inat.download": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Download iNaturalist observations' sounds.",
        "description": "Download iNaturalist observations' sounds.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_inat_download",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InatDownloadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Inat Download"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.inat.search": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Search iNaturalist for observations with sounds.",
        "description": "Search iNaturalist for observations with sounds.",
        "operationId": "op_catalogs_inat_search",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InatSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Inat Search"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.inat.stats": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Get an iNaturalist project's statistics.",
        "description": "Get an iNaturalist project's statistics.",
        "operationId": "op_catalogs_inat_stats",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InatStatsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Inat Stats"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ml.download": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Download Macaulay Library recordings.",
        "description": "Download Macaulay Library recordings.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_ml_download",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlDownloadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ml Download"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.ml.search": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Search the Macaulay Library.",
        "description": "Search the Macaulay Library.",
        "operationId": "op_catalogs_ml_search",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MlSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Ml Search"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.xc.download": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Download Xeno-canto recordings.",
        "description": "Download Xeno-canto recordings.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_catalogs_xc_download",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/XcDownloadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Xc Download"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/catalogs.xc.search": {
      "post": {
        "tags": [
          "catalogs"
        ],
        "summary": "Search Xeno-canto.",
        "description": "Search Xeno-canto.",
        "operationId": "op_catalogs_xc_search",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/XcSearchRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Catalogs Xc Search"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/cluster.analyze": {
      "post": {
        "tags": [
          "cluster"
        ],
        "summary": "Measure the quality of a clustering.",
        "description": "Measure the quality of a clustering.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_cluster_analyze",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AnalyzeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Cluster Analyze"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/cluster.fit": {
      "post": {
        "tags": [
          "cluster"
        ],
        "summary": "Cluster embeddings.",
        "description": "Cluster embeddings.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_cluster_fit",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FitRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Cluster Fit"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/cluster.novelty": {
      "post": {
        "tags": [
          "cluster"
        ],
        "summary": "Find novel samples among embeddings.",
        "description": "Find novel samples among embeddings.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_cluster_novelty",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoveltyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Cluster Novelty"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/cluster.reduce": {
      "post": {
        "tags": [
          "cluster"
        ],
        "summary": "Reduce embeddings to fewer dimensions.",
        "description": "Reduce embeddings to fewer dimensions.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_cluster_reduce",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReduceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Cluster Reduce"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.augment": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Write augmented copies of every audio file in a folder.",
        "description": "Write augmented copies of every audio file in a folder.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_augment",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AugmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Augment"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.build": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Build a training-ready dataset.",
        "description": "Build a training-ready dataset.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_build",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BuildRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Build"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.extract-clips": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Extract annotated regions into a labelled clip dataset.",
        "description": "Extract annotated regions into a labelled clip dataset.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_extract_clips",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExtractClipsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Extract Clips"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.license": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Write a dataset's license or attributions file.",
        "description": "Write a dataset's license or attributions file.",
        "operationId": "op_dataset_license",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LicenseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset License"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.manifest": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Write a dataset's manifest.",
        "description": "Write a dataset's manifest.",
        "operationId": "op_dataset_manifest",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ManifestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Manifest"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.merge": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Merge datasets into one.",
        "description": "Merge datasets into one.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_merge",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MergeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Merge"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.partition": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Split a dataset into train, validation and test.",
        "description": "Split a dataset into train, validation and test.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_partition",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PartitionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Partition"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.remix": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Build a derived dataset from a recipe and/or selections.",
        "description": "Build a derived dataset from a recipe and/or selections.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_dataset_remix",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemixRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Remix"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/dataset.stats": {
      "post": {
        "tags": [
          "dataset"
        ],
        "summary": "Summarize a dataset's metadata.",
        "description": "Summarize a dataset's metadata.",
        "operationId": "op_dataset_stats",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/StatsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Dataset Stats"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/detect.accelerating": {
      "post": {
        "tags": [
          "detect"
        ],
        "summary": "Detect accelerating or decelerating call patterns in one file.",
        "description": "Detect accelerating or decelerating call patterns in one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_detect_accelerating",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceleratingDetectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Detect Accelerating"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/detect.energy": {
      "post": {
        "tags": [
          "detect"
        ],
        "summary": "Detect sounds in one file with band-limited energy detection.",
        "description": "Detect sounds in one file with band-limited energy detection.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_detect_energy",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EnergyDetectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Detect Energy"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/detect.peaks": {
      "post": {
        "tags": [
          "detect"
        ],
        "summary": "Find peaks in one file with the continuous wavelet transform.",
        "description": "Find peaks in one file with the continuous wavelet transform.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_detect_peaks",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PeaksDetectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Detect Peaks"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/detect.ribbit": {
      "post": {
        "tags": [
          "detect"
        ],
        "summary": "Detect periodic calls in one file with RIBBIT.",
        "description": "Detect periodic calls in one file with RIBBIT.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_detect_ribbit",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RibbitDetectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Detect Ribbit"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.aci": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the Acoustic Complexity Index (ACI) of one file.",
        "description": "Compute the Acoustic Complexity Index (ACI) of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_aci",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndexBandRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Aci"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.adi": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the Acoustic Diversity Index (ADI) of one file.",
        "description": "Compute the Acoustic Diversity Index (ADI) of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_adi",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndexThresholdRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Adi"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.aei": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the Acoustic Evenness Index (AEI) of one file.",
        "description": "Compute the Acoustic Evenness Index (AEI) of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_aei",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndexThresholdRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Aei"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.bio": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the Bioacoustic Index (BIO) of one file.",
        "description": "Compute the Bioacoustic Index (BIO) of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_bio",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BioIndexRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Bio"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.compute": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute every acoustic index of one file.",
        "description": "Compute every acoustic index of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_compute",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndicesComputeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Compute"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.entropy": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the spectral and temporal entropy of one file.",
        "description": "Compute the spectral and temporal entropy of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_entropy",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndexRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Entropy"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.ndsi": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute the Normalized Difference Soundscape Index (NDSI) of one file.",
        "description": "Compute the Normalized Difference Soundscape Index (NDSI) of one file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_ndsi",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NdsiRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Ndsi"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/indices.temporal": {
      "post": {
        "tags": [
          "indices"
        ],
        "summary": "Compute acoustic indices of one file over consecutive windows.",
        "description": "Compute acoustic indices of one file over consecutive windows.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_indices_temporal",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IndicesTemporalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Indices Temporal"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.check-train": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Check a training request as ``models.ast.train`` would, without training.",
        "description": "Check a training request as ``models.ast.train`` would, without training.",
        "operationId": "op_models_ast_check_train",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrainRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Check Train"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.embed": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Extract one audio file's AST embeddings.",
        "description": "Extract one audio file's AST embeddings.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_models_ast_embed",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EmbedRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Embed"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.evaluate": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Evaluate an AST model against ground truth.",
        "description": "Evaluate an AST model against ground truth.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_models_ast_evaluate",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EvaluateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Evaluate"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.info": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Describe an AST model.",
        "description": "Describe an AST model.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_models_ast_info",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InfoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Info"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.init-config": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Write a documented AST training config file.",
        "description": "Write a documented AST training config file.",
        "operationId": "op_models_ast_init_config",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitConfigRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Init Config"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.predict": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Classify one audio file with an AST model.",
        "description": "Classify one audio file with an AST model.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_models_ast_predict",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PredictRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Predict"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/models.ast.train": {
      "post": {
        "tags": [
          "models"
        ],
        "summary": "Fine-tune an AST model.",
        "description": "Fine-tune an AST model.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_models_ast_train",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TrainRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Models Ast Train"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/system.deps": {
      "post": {
        "tags": [
          "system"
        ],
        "summary": "Check the system libraries bioamla uses (FFmpeg, libsndfile, PortAudio).",
        "description": "Check the system libraries bioamla uses (FFmpeg, libsndfile, PortAudio).",
        "operationId": "op_system_deps",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op System Deps"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/system.devices": {
      "post": {
        "tags": [
          "system"
        ],
        "summary": "Compute devices (CUDA, MPS, CPU).",
        "description": "Compute devices (CUDA, MPS, CPU).",
        "operationId": "op_system_devices",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op System Devices"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/system.export-schemas": {
      "post": {
        "tags": [
          "system"
        ],
        "summary": "Write every config's JSON Schema to a folder.",
        "description": "Write every config's JSON Schema to a folder.",
        "operationId": "op_system_export_schemas",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ExportSchemasRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op System Export Schemas"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/system.schema": {
      "post": {
        "tags": [
          "system"
        ],
        "summary": "A config's JSON Schema, or the list of configs.",
        "description": "A config's JSON Schema, or the list of configs.",
        "operationId": "op_system_schema",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SchemaRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op System Schema"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/system.version": {
      "post": {
        "tags": [
          "system"
        ],
        "summary": "bioamla, Python, platform, PyTorch and CUDA versions.",
        "description": "bioamla, Python, platform, PyTorch and CUDA versions.",
        "operationId": "op_system_version",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op System Version"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/util.unzip": {
      "post": {
        "tags": [
          "util"
        ],
        "summary": "Extract a ZIP archive.",
        "description": "Extract a ZIP archive.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_util_unzip",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnzipRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Util Unzip"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/util.zip": {
      "post": {
        "tags": [
          "util"
        ],
        "summary": "Zip a folder or a file.",
        "description": "Zip a folder or a file.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_util_zip",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ZipRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Util Zip"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.add": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Link files or folders into a workspace, leaving them where they are.",
        "description": "Link files or folders into a workspace, leaving them where they are.",
        "operationId": "op_workspace_add",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace Add"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.history": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "The commands run in a workspace.",
        "description": "The commands run in a workspace.",
        "operationId": "op_workspace_history",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HistoryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace History"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.import": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Copy files or folders into a workspace.",
        "description": "Copy files or folders into a workspace.\n\nRuns as a job: answers with a job id.",
        "operationId": "op_workspace_import",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace Import"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.init": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Make a folder a workspace.",
        "description": "Make a folder a workspace.",
        "operationId": "op_workspace_init",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InitRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace Init"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.list": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "List a workspace's artifacts and whether each is still there.",
        "description": "List a workspace's artifacts and whether each is still there.",
        "operationId": "op_workspace_list",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ListRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace List"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.remove": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "Forget an artifact (linked files are never touched).",
        "description": "Forget an artifact (linked files are never touched).",
        "operationId": "op_workspace_remove",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace Remove"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/workspaces/{ws}/operations/workspace.status": {
      "post": {
        "tags": [
          "workspace"
        ],
        "summary": "A workspace's name, location, artifact counts and last runs.",
        "description": "A workspace's name, location, artifact counts and last runs.",
        "operationId": "op_workspace_status",
        "security": [
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "ws",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Ws"
            }
          },
          {
            "name": "wire",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "description": "Also answer with the typed result (`wire`)",
              "default": false,
              "title": "Wire"
            },
            "description": "Also answer with the typed result (`wire`)"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WorkspaceRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "title": "Response Op Workspace Status"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        }
      }
    },
    "/v1/version": {
      "get": {
        "tags": [
          "service"
        ],
        "summary": "Version",
        "description": "bioamla and API versions.",
        "operationId": "version_v1_version_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": true,
                  "type": "object",
                  "title": "Response Version V1 Version Get"
                }
              }
            }
          }
        },
        "security": [
          {
            "HTTPBearer": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AcceleratingDetectRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "min_pulses": {
            "type": "integer",
            "title": "Min Pulses",
            "default": 5
          },
          "acceleration": {
            "type": "number",
            "title": "Acceleration",
            "default": 1.5
          },
          "deceleration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deceleration"
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "window": {
            "type": "number",
            "title": "Window",
            "default": 3.0
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "AcceleratingDetectRequest",
        "description": "Accelerating or decelerating call-pattern detection on one file.\n\nAttributes:\n    file: The audio file.\n    min_pulses: Minimum pulses in a pattern.\n    acceleration: Acceleration threshold (final rate / initial rate).\n    deceleration: Deceleration threshold, or ``None`` to find only accelerating\n        patterns.\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    window: Analysis window (s).\n    output: Where to save the detections (``.json`` for JSON, otherwise CSV)."
      },
      "AddRequest": {
        "properties": {
          "paths": {
            "items": {
              "type": "string",
              "format": "path"
            },
            "type": "array",
            "title": "Paths"
          },
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          },
          "kind": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "audio_file",
                  "folder",
                  "dataset",
                  "model",
                  "file"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Kind"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "paths"
        ],
        "title": "AddRequest",
        "description": "Add files or folders to a workspace.\n\nAttributes:\n    directory: Where to start looking for the workspace.\n    paths: The files or folders.\n    kind: Artifact kind (default: guessed).\n    name: Display name (only with a single path)."
      },
      "AnalyzeRequest": {
        "properties": {
          "embeddings_file": {
            "type": "string",
            "format": "path",
            "title": "Embeddings File"
          },
          "labels_file": {
            "type": "string",
            "format": "path",
            "title": "Labels File"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "embeddings_file",
          "labels_file"
        ],
        "title": "AnalyzeRequest",
        "description": "Measure the quality of a clustering.\n\nAttributes:\n    embeddings_file: The embeddings (``.npy``, 2-D).\n    labels_file: The labels (``.npy``, 1-D).\n    output: A JSON file to save the analysis to."
      },
      "AudioAddNoiseRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "snr_db": {
            "type": "number",
            "title": "Snr Db"
          },
          "seed": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Seed"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output",
          "snr_db"
        ],
        "title": "AudioAddNoiseRequest",
        "description": "Add white noise at a target signal-to-noise ratio.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    snr_db: Target SNR (dB; lower is noisier).\n    seed: Random seed, for repeatable noise."
      },
      "AudioConvertRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "sample_rate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Rate"
          },
          "channels": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channels"
          },
          "bit_depth": {
            "anyOf": [
              {
                "type": "integer",
                "enum": [
                  8,
                  16,
                  24,
                  32
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Bit Depth"
          },
          "format": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "wav",
                  "mp3",
                  "flac",
                  "ogg"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Format"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioConvertRequest",
        "description": "Convert a file's format, sample rate or channel count.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    sample_rate: Target sample rate (Hz).\n    channels: Target channel count (1 or 2; default: keep the file's own).\n    bit_depth: Bits per sample (WAV: 8, 16, 24, 32; FLAC: 8, 16, 24); by default the\n        source's when the output holds it, else 16.\n    format: Output format; by default, from ``output``'s extension."
      },
      "AudioDenoiseRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "strength": {
            "type": "number",
            "title": "Strength",
            "default": 1.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioDenoiseRequest",
        "description": "Spectral noise reduction.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    strength: Reduction strength, 0 to 2."
      },
      "AudioFeaturesRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "config": {
            "$ref": "#/components/schemas/FrameFeatureConfig"
          },
          "trajectory": {
            "type": "boolean",
            "title": "Trajectory",
            "default": false
          },
          "gate_db": {
            "type": "number",
            "title": "Gate Db",
            "default": 38.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "AudioFeaturesRequest",
        "description": "Frame-level descriptors and MFCCs of one file.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the per-frame table (``.csv`` or ``.parquet``).\n    config: Analysis settings.\n    trajectory: Add the MFCC-PCA timbre trajectory (``pc1``..``pc3``).\n    gate_db: Trajectory gate: frames this far below the loudest are left out."
      },
      "AudioFilterRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "lowpass": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lowpass"
          },
          "highpass": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Highpass"
          },
          "bandpass_low": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bandpass Low"
          },
          "bandpass_high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bandpass High"
          },
          "order": {
            "type": "integer",
            "title": "Order",
            "default": 5
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioFilterRequest",
        "description": "Apply one frequency filter to a file (band-pass, else low-pass, else high-pass).\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    lowpass: Low-pass cutoff (Hz).\n    highpass: High-pass cutoff (Hz).\n    bandpass_low: Band-pass lower edge (Hz).\n    bandpass_high: Band-pass upper edge (Hz).\n    order: Filter order."
      },
      "AudioGainRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "gain_db": {
            "type": "number",
            "title": "Gain Db"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output",
          "gain_db"
        ],
        "title": "AudioGainRequest",
        "description": "Apply a fixed gain.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    gain_db: Gain (dB; positive amplifies)."
      },
      "AudioInfoRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "metadata": {
            "type": "boolean",
            "title": "Metadata",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "AudioInfoRequest",
        "description": "A file's header information.\n\nAttributes:\n    file: The audio file.\n    metadata: Also read recorder metadata (GUANO, AudioMoth, WAMD, bext)."
      },
      "AudioListRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path"
        ],
        "title": "AudioListRequest",
        "description": "The audio files under a folder.\n\nAttributes:\n    path: The folder.\n    recursive: Search subfolders."
      },
      "AudioMetadataRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "AudioMetadataRequest",
        "description": "A WAV file's recorder metadata.\n\nAttributes:\n    file: The WAV file."
      },
      "AudioNormalizeRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "target_db": {
            "type": "number",
            "title": "Target Db",
            "default": -3.0
          },
          "method": {
            "type": "string",
            "enum": [
              "peak",
              "rms"
            ],
            "title": "Method",
            "default": "peak"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioNormalizeRequest",
        "description": "Normalize a file's level.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    target_db: Target peak (``peak``) or loudness (``rms``) in dB.\n    method: ``peak`` or ``rms``."
      },
      "AudioPitchShiftRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "steps": {
            "type": "number",
            "title": "Steps"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output",
          "steps"
        ],
        "title": "AudioPitchShiftRequest",
        "description": "Shift pitch, keeping duration.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    steps: Semitones (positive raises the pitch)."
      },
      "AudioResampleRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "sample_rate": {
            "type": "integer",
            "title": "Sample Rate"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output",
          "sample_rate"
        ],
        "title": "AudioResampleRequest",
        "description": "Resample a file.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    sample_rate: Target sample rate (Hz)."
      },
      "AudioSegmentRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "duration": {
            "type": "number",
            "title": "Duration",
            "default": 3.0
          },
          "overlap": {
            "type": "number",
            "title": "Overlap",
            "default": 0.0
          },
          "format": {
            "type": "string",
            "enum": [
              "wav",
              "mp3",
              "flac",
              "ogg"
            ],
            "title": "Format",
            "default": "wav"
          },
          "prefix": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Prefix"
          },
          "include_partial": {
            "type": "boolean",
            "title": "Include Partial",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output_dir"
        ],
        "title": "AudioSegmentRequest",
        "description": "Cut a file into fixed-length clips, ``<prefix>_seg0000.<format>``, ...\n\nAttributes:\n    file: The audio file.\n    output_dir: The folder to write the clips to.\n    duration: Clip length (s).\n    overlap: Overlap between clips (s).\n    format: Clip format.\n    prefix: Clip name prefix (default: the file's name without extension).\n    include_partial: Keep the last clip when it is shorter than ``duration``\n        (left out by default)."
      },
      "AudioTimeStretchRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "rate": {
            "type": "number",
            "title": "Rate"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output",
          "rate"
        ],
        "title": "AudioTimeStretchRequest",
        "description": "Stretch in time, keeping pitch.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    rate: Stretch factor (>1 faster, <1 slower)."
      },
      "AudioTrimRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "start": {
            "type": "number",
            "title": "Start",
            "default": 0.0
          },
          "end": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Duration"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioTrimRequest",
        "description": "Keep part of a file.\n\nAttributes:\n    file: The audio file.\n    output: Where to save the result.\n    start: Start time (s).\n    end: End time (s); default the end of the file.\n    duration: Length (s), instead of ``end``."
      },
      "AudioVideoRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "viz_type": {
            "type": "string",
            "enum": [
              "mel",
              "stft",
              "waveform",
              "trajectory"
            ],
            "title": "Viz Type",
            "default": "mel"
          },
          "motion": {
            "type": "string",
            "enum": [
              "scroll",
              "page"
            ],
            "title": "Motion",
            "default": "scroll"
          },
          "start": {
            "type": "number",
            "title": "Start",
            "default": 0.0
          },
          "end": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "fps": {
            "type": "integer",
            "title": "Fps",
            "default": 30
          },
          "window": {
            "type": "number",
            "title": "Window",
            "default": 4.0
          },
          "width": {
            "type": "integer",
            "title": "Width",
            "default": 1280
          },
          "height": {
            "type": "integer",
            "title": "Height",
            "default": 720
          },
          "cmap": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cmap"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 2048
          },
          "hop_length": {
            "type": "integer",
            "title": "Hop Length",
            "default": 512
          },
          "n_mels": {
            "type": "integer",
            "title": "N Mels",
            "default": 128
          },
          "fmax": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Fmax"
          },
          "db_range": {
            "type": "number",
            "title": "Db Range",
            "default": 80.0
          },
          "playhead": {
            "type": "number",
            "title": "Playhead",
            "default": 0.5
          },
          "waveform": {
            "type": "boolean",
            "title": "Waveform",
            "default": true
          },
          "axes": {
            "type": "boolean",
            "title": "Axes",
            "default": true
          },
          "include_audio": {
            "type": "boolean",
            "title": "Include Audio",
            "default": true
          },
          "trail": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Trail"
          },
          "orbit": {
            "type": "boolean",
            "title": "Orbit",
            "default": true
          },
          "spectrogram": {
            "type": "boolean",
            "title": "Spectrogram",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioVideoRequest",
        "description": "A spectrogram, waveform or timbre-trajectory video of a file, with its audio.\n\nSpectrogram options (``motion``, ``n_fft``, ``hop_length``, ``n_mels``, ``fmax``,\n``db_range``, ``playhead``, ``waveform``) apply to ``mel``, ``stft`` and\n``waveform``; ``trail``, ``orbit`` and ``spectrogram`` to ``trajectory``.\n\nAttributes:\n    file: The audio file.\n    output: The video file to write.\n    viz_type: ``mel``, ``stft``, ``waveform`` or ``trajectory``.\n    motion: ``scroll`` (picture moves) or ``page`` (playhead moves).\n    start: Start (s).\n    end: End (s); default the end of the file.\n    fps: Frames per second.\n    window: Seconds across the frame (0: the whole recording, page mode); for a\n        trajectory, the spectrogram strip's span (must be positive).\n    width: Frame width (px).\n    height: Frame height (px).\n    cmap: Colormap; by default the renderer's (``magma``, or ``plasma`` for a\n        trajectory).\n    n_fft: FFT window size.\n    hop_length: Hop length.\n    n_mels: Mel bands.\n    fmax: Highest frequency shown (Hz); default Nyquist.\n    db_range: Dynamic range (dB).\n    playhead: Playhead position across the frame, 0 to 1.\n    waveform: Scrolling waveform strip.\n    axes: Frequency ticks and time readout.\n    include_audio: Mux the audio track.\n    trail: Trajectory: fade path older than this many seconds.\n    orbit: Trajectory: turn the view slowly.\n    spectrogram: Trajectory: mel spectrogram strip along the bottom."
      },
      "AudioVisualizeRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "viz_type": {
            "type": "string",
            "enum": [
              "mel",
              "stft",
              "mfcc",
              "waveform"
            ],
            "title": "Viz Type",
            "default": "mel"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 2048
          },
          "hop_length": {
            "type": "integer",
            "title": "Hop Length",
            "default": 512
          },
          "n_mels": {
            "type": "integer",
            "title": "N Mels",
            "default": 128
          },
          "n_mfcc": {
            "type": "integer",
            "title": "N Mfcc",
            "default": 40
          },
          "cmap": {
            "type": "string",
            "title": "Cmap",
            "default": "magma"
          },
          "dpi": {
            "type": "integer",
            "title": "Dpi",
            "default": 150
          },
          "legend": {
            "type": "boolean",
            "title": "Legend",
            "default": true
          },
          "backend": {
            "type": "string",
            "enum": [
              "auto",
              "librosa",
              "torch"
            ],
            "title": "Backend",
            "default": "auto"
          },
          "boxes": {
            "items": {
              "$ref": "#/components/schemas/VisualizeBox"
            },
            "type": "array",
            "title": "Boxes"
          },
          "annotations": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Annotations"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "output"
        ],
        "title": "AudioVisualizeRequest",
        "description": "A spectrogram, MFCC or waveform image of a file.\n\nAttributes:\n    file: The audio file.\n    output: The image file to write.\n    viz_type: ``mel``, ``stft``, ``mfcc`` or ``waveform``.\n    n_fft: FFT window size.\n    hop_length: Hop length.\n    n_mels: Mel bands.\n    n_mfcc: MFCCs.\n    cmap: Colormap name.\n    dpi: Image DPI.\n    legend: Show axes, title and colorbar.\n    backend: Spectrogram compute backend: ``auto``, ``librosa`` or ``torch``.\n    boxes: Regions to outline (seconds, Hz).\n    annotations: An annotation file (any format bioamla reads) whose\n        annotations are outlined too, labelled."
      },
      "AugmentRequest": {
        "properties": {
          "input_dir": {
            "type": "string",
            "format": "path",
            "title": "Input Dir"
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "add_noise": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 2,
                "minItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Add Noise"
          },
          "time_stretch": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 2,
                "minItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Time Stretch"
          },
          "pitch_shift": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 2,
                "minItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Pitch Shift"
          },
          "gain": {
            "anyOf": [
              {
                "prefixItems": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "number"
                  }
                ],
                "type": "array",
                "maxItems": 2,
                "minItems": 2
              },
              {
                "type": "null"
              }
            ],
            "title": "Gain"
          },
          "multiply": {
            "type": "integer",
            "title": "Multiply",
            "default": 1
          },
          "sample_rate": {
            "type": "integer",
            "title": "Sample Rate",
            "default": 16000
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "input_dir",
          "output_dir"
        ],
        "title": "AugmentRequest",
        "description": "Augmented copies of every audio file in a folder.\n\nAttributes:\n    input_dir: The folder.\n    output_dir: Where the copies go.\n    add_noise: Noise SNR range (dB), ``[min, max]``.\n    time_stretch: Time-stretch rate range.\n    pitch_shift: Pitch-shift range (semitones).\n    gain: Gain range (dB).\n    multiply: Copies per file.\n    sample_rate: Output sample rate.\n    recursive: Search subfolders.\n    verbose: Log progress."
      },
      "BatchAcceleratingRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "min_pulses": {
            "type": "integer",
            "title": "Min Pulses",
            "default": 5
          },
          "accel_threshold": {
            "type": "number",
            "title": "Accel Threshold",
            "default": 1.5
          },
          "decel_threshold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Decel Threshold"
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "window_duration": {
            "type": "number",
            "title": "Window Duration",
            "default": 3.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchAcceleratingRequest",
        "description": "Accelerating or decelerating call-pattern detection over a batch.\n\nAttributes:\n    min_pulses: Minimum pulses in a pattern.\n    accel_threshold: Acceleration threshold.\n    decel_threshold: Deceleration threshold, or ``None``.\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    window_duration: Analysis window (s)."
      },
      "BatchClusterRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "method": {
            "type": "string",
            "enum": [
              "hdbscan",
              "kmeans",
              "dbscan",
              "agglomerative"
            ],
            "title": "Method",
            "default": "hdbscan"
          },
          "n_clusters": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N Clusters"
          },
          "min_cluster_size": {
            "type": "integer",
            "title": "Min Cluster Size",
            "default": 5
          },
          "min_samples": {
            "type": "integer",
            "title": "Min Samples",
            "default": 3
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchClusterRequest",
        "description": "Cluster a batch of embeddings (a folder, or a CSV from ``batch models embed``).\n\nAttributes:\n    method: ``hdbscan``, ``kmeans``, ``dbscan`` or ``agglomerative``.\n    n_clusters: Number of clusters (k-means, agglomerative).\n    min_cluster_size: Minimum cluster size (HDBSCAN).\n    min_samples: Minimum samples per cluster."
      },
      "BatchConvertRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "target_format": {
            "type": "string",
            "enum": [
              "wav",
              "mp3",
              "flac",
              "ogg"
            ],
            "title": "Target Format",
            "default": "wav"
          },
          "sample_rate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Rate"
          },
          "channels": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Channels"
          },
          "bit_depth": {
            "anyOf": [
              {
                "type": "integer",
                "enum": [
                  8,
                  16,
                  24,
                  32
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Bit Depth"
          },
          "delete_original": {
            "type": "boolean",
            "title": "Delete Original",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchConvertRequest",
        "description": "Convert every file's format, sample rate or channel count.\n\nAttributes:\n    target_format: Output format.\n    sample_rate: Target sample rate (Hz).\n    channels: Target channel count (1 or 2; default: keep the file's own).\n    bit_depth: Bits per sample (WAV: 8, 16, 24, 32; FLAC: 8, 16, 24); by default the\n        source's when the output holds it, else 16.\n    delete_original: Delete each source file after it converts."
      },
      "BatchDenoiseRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "strength": {
            "type": "number",
            "title": "Strength",
            "default": 1.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchDenoiseRequest",
        "description": "Spectral noise reduction on every file.\n\nAttributes:\n    strength: Reduction strength, 0 to 2."
      },
      "BatchEmbedRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "model": {
            "type": "string",
            "title": "Model",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchEmbedRequest",
        "description": "AST embeddings over a batch.\n\nAttributes:\n    model: Model (Hugging Face ID or local path)."
      },
      "BatchEnergyRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "threshold_db": {
            "type": "number",
            "title": "Threshold Db",
            "default": -20.0
          },
          "min_duration": {
            "type": "number",
            "title": "Min Duration",
            "default": 0.05
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchEnergyRequest",
        "description": "Band-limited energy detection over a batch.\n\nAttributes:\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    threshold_db: Detection threshold (dB).\n    min_duration: Minimum detection duration (s)."
      },
      "BatchFeaturesRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "config": {
            "$ref": "#/components/schemas/FrameFeatureConfig"
          },
          "trajectory": {
            "type": "boolean",
            "title": "Trajectory",
            "default": false
          },
          "gate_db": {
            "type": "number",
            "title": "Gate Db",
            "default": 38.0
          },
          "file_format": {
            "type": "string",
            "enum": [
              "csv",
              "parquet"
            ],
            "title": "File Format",
            "default": "csv"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchFeaturesRequest",
        "description": "Per-frame feature tables for a batch.\n\nAttributes:\n    config: Analysis settings.\n    trajectory: Add the MFCC-PCA timbre trajectory.\n    gate_db: Trajectory gate (dB below the loudest frame).\n    file_format: Table format, ``csv`` or ``parquet``."
      },
      "BatchFilterRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "lowpass": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lowpass"
          },
          "highpass": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Highpass"
          },
          "bandpass_low": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bandpass Low"
          },
          "bandpass_high": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bandpass High"
          },
          "order": {
            "type": "integer",
            "title": "Order",
            "default": 5
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchFilterRequest",
        "description": "Apply one frequency filter to every file (band-pass, else low-pass, else high-pass).\n\nAttributes:\n    lowpass: Low-pass cutoff (Hz).\n    highpass: High-pass cutoff (Hz).\n    bandpass_low: Band-pass lower edge (Hz).\n    bandpass_high: Band-pass upper edge (Hz).\n    order: Filter order."
      },
      "BatchIndexRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "indices": {
            "items": {
              "type": "string"
            },
            "type": "array",
            "title": "Indices"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchIndexRequest",
        "description": "Acoustic indices over a batch.\n\nAttributes:\n    indices: Index names (add ``h_spectral`` and ``h_temporal`` for entropy)."
      },
      "BatchNormalizeRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "target_db": {
            "type": "number",
            "title": "Target Db",
            "default": -20.0
          },
          "peak": {
            "type": "boolean",
            "title": "Peak",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchNormalizeRequest",
        "description": "Normalize every file's level.\n\nAttributes:\n    target_db: Target RMS loudness (dB).\n    peak: Peak-normalize instead."
      },
      "BatchPeaksRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "snr_threshold": {
            "type": "number",
            "title": "Snr Threshold",
            "default": 2.0
          },
          "min_peak_distance": {
            "type": "number",
            "title": "Min Peak Distance",
            "default": 0.01
          },
          "low_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low Freq"
          },
          "high_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "High Freq"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchPeaksRequest",
        "description": "CWT peak detection over a batch.\n\nAttributes:\n    snr_threshold: Signal-to-noise ratio threshold.\n    min_peak_distance: Minimum distance between peaks (s).\n    low_freq: Low frequency bound (Hz), or ``None``.\n    high_freq: High frequency bound (Hz), or ``None``."
      },
      "BatchPredictRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "model": {
            "type": "string",
            "title": "Model",
            "default": ""
          },
          "top_k": {
            "type": "integer",
            "title": "Top K",
            "default": 0
          },
          "min_confidence": {
            "type": "number",
            "title": "Min Confidence",
            "default": 0.0
          },
          "threshold": {
            "type": "number",
            "title": "Threshold",
            "default": 0.5
          },
          "segment_duration": {
            "type": "integer",
            "title": "Segment Duration",
            "default": 0
          },
          "overlap": {
            "type": "integer",
            "title": "Overlap",
            "default": 0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchPredictRequest",
        "description": "AST classification over a batch, whole files or in segments.\n\nAttributes:\n    model: Model (Hugging Face ID or local path).\n    top_k: Rank each prediction's ``top_k`` most likely labels (``top`` and\n        ``margin``; 0 leaves them out).\n    min_confidence: Leave out predictions below this confidence.\n    threshold: For a multi-label model, the score a label needs to be reported.\n    segment_duration: Classify N-second segments (0: whole files).\n    overlap: Overlap between segments (s)."
      },
      "BatchRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchRequest",
        "description": "The input and output every batch operation takes (see :mod:`bioamla.operations`).\n\nExactly one of ``input_dir`` (directory mode) and ``input_file`` (a metadata CSV\nwith a ``file_name`` column) is given.\n\nAttributes:\n    input_dir: Folder of audio files.\n    input_file: Metadata CSV listing the files.\n    output_dir: Where results go (in CSV mode, the updated CSV too; without it,\n        CSV-mode outputs go next to their inputs).\n    recursive: Search subfolders (directory mode).\n    max_workers: Parallel workers.\n    continue_on_error: Keep going after a file fails."
      },
      "BatchResampleRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "sample_rate": {
            "type": "integer",
            "title": "Sample Rate",
            "default": 16000
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchResampleRequest",
        "description": "Resample every file.\n\nAttributes:\n    sample_rate: Target sample rate (Hz)."
      },
      "BatchRibbitRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "pulse_rate": {
            "type": "number",
            "title": "Pulse Rate",
            "default": 10.0
          },
          "pulse_tolerance": {
            "type": "number",
            "title": "Pulse Tolerance",
            "default": 0.2
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "window_duration": {
            "type": "number",
            "title": "Window Duration",
            "default": 2.0
          },
          "min_score": {
            "type": "number",
            "title": "Min Score",
            "default": 0.3
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchRibbitRequest",
        "description": "RIBBIT periodic-call detection over a batch.\n\nAttributes:\n    pulse_rate: Expected pulse rate (Hz).\n    pulse_tolerance: Tolerance around the pulse rate, as a fraction.\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    window_duration: Analysis window (s).\n    min_score: Minimum detection score."
      },
      "BatchSegmentRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "duration": {
            "type": "number",
            "title": "Duration",
            "default": 3.0
          },
          "overlap": {
            "type": "number",
            "title": "Overlap",
            "default": 0.0
          },
          "format": {
            "type": "string",
            "enum": [
              "wav",
              "mp3",
              "flac",
              "ogg"
            ],
            "title": "Format",
            "default": "wav"
          },
          "include_partial": {
            "type": "boolean",
            "title": "Include Partial",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchSegmentRequest",
        "description": "Cut every file into fixed-length clips, ``<stem>_seg0000.<format>``, ...\n\nAttributes:\n    duration: Clip length (s).\n    overlap: Overlap between clips (s).\n    format: Clip format.\n    include_partial: Keep each file's last clip when it is shorter than\n        ``duration`` (left out by default)."
      },
      "BatchTrimRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "start": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start"
          },
          "end": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "End"
          },
          "trim_silence": {
            "type": "boolean",
            "title": "Trim Silence",
            "default": false
          },
          "silence_threshold_db": {
            "type": "number",
            "title": "Silence Threshold Db",
            "default": -40.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchTrimRequest",
        "description": "Trim every file to a time range, or trim its silence.\n\nAttributes:\n    start: Start time (s).\n    end: End time (s).\n    trim_silence: Trim leading and trailing silence instead of a range.\n    silence_threshold_db: Silence threshold (dB), with ``trim_silence``."
      },
      "BatchVisualizeRequest": {
        "properties": {
          "input_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input Dir"
          },
          "input_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Input File"
          },
          "output_dir": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output Dir"
          },
          "recursive": {
            "type": "boolean",
            "title": "Recursive",
            "default": true
          },
          "max_workers": {
            "type": "integer",
            "title": "Max Workers",
            "default": 1
          },
          "continue_on_error": {
            "type": "boolean",
            "title": "Continue On Error",
            "default": true
          },
          "plot_type": {
            "type": "string",
            "enum": [
              "mel",
              "stft",
              "mfcc",
              "waveform"
            ],
            "title": "Plot Type",
            "default": "mel"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 2048
          },
          "hop_length": {
            "type": "integer",
            "title": "Hop Length",
            "default": 512
          },
          "n_mels": {
            "type": "integer",
            "title": "N Mels",
            "default": 128
          },
          "n_mfcc": {
            "type": "integer",
            "title": "N Mfcc",
            "default": 40
          },
          "cmap": {
            "type": "string",
            "title": "Cmap",
            "default": "magma"
          },
          "dpi": {
            "type": "integer",
            "title": "Dpi",
            "default": 150
          },
          "legend": {
            "type": "boolean",
            "title": "Legend",
            "default": true
          },
          "backend": {
            "type": "string",
            "enum": [
              "auto",
              "librosa",
              "torch"
            ],
            "title": "Backend",
            "default": "auto"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "BatchVisualizeRequest",
        "description": "A spectrogram, MFCC or waveform image of every file (directory mode).\n\nThe drawing settings and their defaults are ``audio.visualize``'s, so both draw\nthe same picture of a file (as PNG; boxes and annotations are single-file only).\n\nAttributes:\n    plot_type: ``mel``, ``stft``, ``mfcc`` or ``waveform``.\n    n_fft: FFT window size.\n    hop_length: Hop length.\n    n_mels: Mel bands.\n    n_mfcc: MFCCs.\n    cmap: Colormap name.\n    dpi: Image DPI.\n    legend: Show axes, title and colorbar.\n    backend: Spectrogram compute backend: ``auto``, ``librosa`` or ``torch``.\n    verbose: Log each file at INFO level."
      },
      "BioIndexRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "min_freq": {
            "type": "number",
            "title": "Min Freq",
            "default": 2000.0
          },
          "max_freq": {
            "type": "number",
            "title": "Max Freq",
            "default": 8000.0
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "BioIndexRequest",
        "description": "The Bioacoustic Index (BIO) of one file.\n\nAttributes:\n    file: The audio file.\n    min_freq: Low-frequency bound (Hz).\n    max_freq: High-frequency bound (Hz).\n    n_fft: FFT window size."
      },
      "Body_create_v1_workspaces_post": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Its folder name under the root"
          },
          "title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Title",
            "description": "Its display name"
          }
        },
        "type": "object",
        "required": [
          "name"
        ],
        "title": "Body_create_v1_workspaces_post"
      },
      "Body_set_config_v1_workspaces__ws__config__key__put": {
        "properties": {
          "value": {
            "title": "Value",
            "description": "A string, number, boolean or list"
          }
        },
        "type": "object",
        "required": [
          "value"
        ],
        "title": "Body_set_config_v1_workspaces__ws__config__key__put"
      },
      "BuildRequest": {
        "properties": {
          "source": {
            "type": "string",
            "format": "path",
            "title": "Source"
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "annotations": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Annotations"
          },
          "padding_ms": {
            "type": "number",
            "title": "Padding Ms",
            "default": 0.0
          },
          "bandpass": {
            "type": "boolean",
            "title": "Bandpass",
            "default": false
          },
          "sample_rate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Rate"
          },
          "include": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Include"
          },
          "exclude": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclude"
          },
          "min_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Duration"
          },
          "train": {
            "type": "number",
            "title": "Train",
            "default": 0.7
          },
          "val": {
            "type": "number",
            "title": "Val",
            "default": 0.15
          },
          "test": {
            "type": "number",
            "title": "Test",
            "default": 0.15
          },
          "seed": {
            "type": "integer",
            "title": "Seed",
            "default": 0
          },
          "partition": {
            "type": "boolean",
            "title": "Partition",
            "default": true
          },
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "source_metadata": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Metadata"
          },
          "attributions": {
            "type": "boolean",
            "title": "Attributions",
            "default": true
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "source",
          "output_dir"
        ],
        "title": "BuildRequest",
        "description": "Build a training-ready dataset: extract clips, partition, write a manifest.\n\nAttributes:\n    source: An annotated recording, or a folder of them.\n    output_dir: The dataset folder to create.\n    annotations: The annotation file when ``source`` is one recording.\n    padding_ms: Padding around each clip (ms).\n    bandpass: Band-pass each clip to its annotation's band.\n    sample_rate: Resample clips to this rate.\n    include: Keep only these labels.\n    exclude: Drop these labels.\n    min_duration: Drop clips shorter than this (s).\n    train: Train fraction.\n    val: Validation fraction.\n    test: Test fraction.\n    seed: Shuffle seed.\n    partition: Split into train/val/test.\n    name: Dataset name for the manifest.\n    source_metadata: Catalog metadata.csv to join license and attribution from.\n    attributions: Write ATTRIBUTIONS.md.\n    verbose: Log progress."
      },
      "CacheRequest": {
        "properties": {
          "models": {
            "type": "boolean",
            "title": "Models",
            "default": true
          },
          "datasets": {
            "type": "boolean",
            "title": "Datasets",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "CacheRequest",
        "description": "The local Hugging Face cache.\n\nAttributes:\n    models: Include cached models.\n    datasets: Include cached datasets."
      },
      "CheckPushDatasetRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "repo_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Repo Id"
          },
          "card": {
            "type": "boolean",
            "title": "Card",
            "default": true
          },
          "coordinates": {
            "type": "string",
            "enum": [
              "keep",
              "round",
              "strip"
            ],
            "title": "Coordinates",
            "default": "keep"
          },
          "coordinate_decimals": {
            "type": "integer",
            "title": "Coordinate Decimals",
            "default": 2
          },
          "unredacted": {
            "type": "string",
            "enum": [
              "refuse",
              "skip",
              "publish"
            ],
            "title": "Unredacted",
            "default": "refuse"
          },
          "license": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path"
        ],
        "title": "CheckPushDatasetRequest",
        "description": "Check a dataset push without pushing: what would be redacted, refused or left out.\n\nAttributes:\n    path: The dataset folder.\n    repo_id: The Hub repository (optional; nothing is sent to it).\n    card: A README.md dataset card would be written first.\n    coordinates: Per-file locations in what is uploaded: ``keep``, ``round``,\n        ``strip``.\n    coordinate_decimals: Decimal places ``round`` keeps (0-6).\n    unredacted: With ``round`` or ``strip``, files the push can't vouch for:\n        ``refuse`` the push, ``skip`` them, or ``publish`` them as they are.\n    license: The dataset's license, a Hub license id (e.g. ``cc-by-nc-4.0``)."
      },
      "ClipLabelsRequest": {
        "properties": {
          "annotation_file": {
            "type": "string",
            "format": "path",
            "title": "Annotation File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "clip_duration": {
            "type": "number",
            "title": "Clip Duration"
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration"
          },
          "hop_length": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hop Length"
          },
          "min_overlap": {
            "type": "number",
            "title": "Min Overlap",
            "default": 0.0
          },
          "multi_label": {
            "type": "boolean",
            "title": "Multi Label",
            "default": true
          },
          "output_format": {
            "type": "string",
            "enum": [
              "csv",
              "numpy"
            ],
            "title": "Output Format",
            "default": "csv"
          },
          "recording": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "annotation_file",
          "output",
          "clip_duration"
        ],
        "title": "ClipLabelsRequest",
        "description": "Clip-level labels from an annotation file.\n\nAttributes:\n    annotation_file: The annotation file.\n    output: The labels file to write.\n    clip_duration: Clip length (s).\n    audio_duration: The recording's length (s); by default from the file.\n    hop_length: Step between clips (s); default the clip length.\n    min_overlap: Overlap ratio needed to set a label (0\u20131).\n    multi_label: Several labels per clip.\n    output_format: ``csv`` or ``numpy``.\n    recording: For a file covering several recordings: the one to label."
      },
      "ConvertRequest": {
        "properties": {
          "input": {
            "type": "string",
            "format": "path",
            "title": "Input"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "from_format": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "raven",
                  "csv",
                  "bioamla",
                  "arbimon"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "From Format"
          },
          "to_format": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "raven",
                  "csv",
                  "bioamla",
                  "arbimon"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "To Format"
          },
          "label_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Column"
          },
          "recording": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "input",
          "output"
        ],
        "title": "ConvertRequest",
        "description": "Convert an annotation file between formats.\n\nAttributes:\n    input: The source file.\n    output: The file to write.\n    from_format: Source format; by default from its name or header.\n    to_format: Output format; by default from its name.\n    label_column: The source column holding labels.\n    recording: arbimon output only: the recording name for rows without one."
      },
      "EmbedRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "model_path": {
            "type": "string",
            "title": "Model Path"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "layer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Layer"
          },
          "sample_rate": {
            "type": "integer",
            "title": "Sample Rate",
            "default": 16000
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file",
          "model_path",
          "output"
        ],
        "title": "EmbedRequest",
        "description": "AST embeddings of one audio file, saved as ``.npy``.\n\nAttributes:\n    file: The audio file.\n    model_path: The model (Hugging Face ID or local path).\n    output: The ``.npy`` to write.\n    layer: The layer to take embeddings from.\n    sample_rate: The model's sample rate."
      },
      "EnergyDetectRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "threshold_db": {
            "type": "number",
            "title": "Threshold Db",
            "default": -20.0
          },
          "min_duration": {
            "type": "number",
            "title": "Min Duration",
            "default": 0.05
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "EnergyDetectRequest",
        "description": "Band-limited energy detection on one file.\n\nAttributes:\n    file: The audio file.\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    threshold_db: Detection threshold (dB relative to the loudest frame).\n    min_duration: Minimum detection duration (s).\n    output: Where to save the detections (``.json`` for JSON, otherwise CSV)."
      },
      "EvaluateRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "ground_truth": {
            "type": "string",
            "format": "path",
            "title": "Ground Truth"
          },
          "model_path": {
            "type": "string",
            "title": "Model Path",
            "default": "bioamla/scp-frogs"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "output_format": {
            "type": "string",
            "enum": [
              "json",
              "csv",
              "txt"
            ],
            "title": "Output Format",
            "default": "txt"
          },
          "file_column": {
            "type": "string",
            "title": "File Column",
            "default": "file_name"
          },
          "label_column": {
            "type": "string",
            "title": "Label Column",
            "default": "label"
          },
          "resample_freq": {
            "type": "integer",
            "title": "Resample Freq",
            "default": 16000
          },
          "batch_size": {
            "type": "integer",
            "title": "Batch Size",
            "default": 8
          },
          "fp16": {
            "type": "boolean",
            "title": "Fp16",
            "default": false
          },
          "threshold": {
            "type": "number",
            "title": "Threshold",
            "default": 0.5
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path",
          "ground_truth"
        ],
        "title": "EvaluateRequest",
        "description": "Evaluate an AST model on a folder of audio.\n\nAttributes:\n    path: The audio folder.\n    ground_truth: CSV of file names and true labels.\n    model_path: The model (Hugging Face ID or local path).\n    output: Where to save the report.\n    output_format: ``txt``, ``json`` or ``csv``.\n    file_column: The ground truth's file-name column.\n    label_column: Its label column.\n    resample_freq: The model's sample rate.\n    batch_size: Inference batch size.\n    fp16: Half-precision inference.\n    threshold: For a multi-label model, the score at which a class counts as\n        predicted for the F1 scores."
      },
      "ExportSchemasRequest": {
        "properties": {
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "output_dir"
        ],
        "title": "ExportSchemasRequest",
        "description": "Every config's JSON Schema, written to a folder.\n\nAttributes:\n    output_dir: The folder."
      },
      "ExtractClipsRequest": {
        "properties": {
          "source": {
            "type": "string",
            "format": "path",
            "title": "Source"
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "annotations": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Annotations"
          },
          "layout": {
            "type": "string",
            "enum": [
              "both",
              "audiofolder",
              "flat"
            ],
            "title": "Layout",
            "default": "both"
          },
          "padding_ms": {
            "type": "number",
            "title": "Padding Ms",
            "default": 0.0
          },
          "bandpass": {
            "type": "boolean",
            "title": "Bandpass",
            "default": false
          },
          "audio_format": {
            "type": "string",
            "title": "Audio Format",
            "default": "wav"
          },
          "sample_rate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Rate"
          },
          "include": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Include"
          },
          "exclude": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclude"
          },
          "min_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Duration"
          },
          "source_metadata": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source Metadata"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "source",
          "output_dir"
        ],
        "title": "ExtractClipsRequest",
        "description": "Extract annotated regions into a labelled clip dataset.\n\nAttributes:\n    source: An annotated recording, or a folder of them.\n    output_dir: The dataset folder to write.\n    annotations: The annotation file when ``source`` is one recording.\n    layout: ``both`` (label folders and metadata.csv), ``audiofolder`` or ``flat``.\n    padding_ms: Padding around each clip (ms).\n    bandpass: Band-pass each clip to its annotation's band.\n    audio_format: Clip format.\n    sample_rate: Resample clips to this rate.\n    include: Keep only these labels.\n    exclude: Drop these labels.\n    min_duration: Drop clips shorter than this (s).\n    source_metadata: Catalog metadata.csv to join license and attribution from.\n    verbose: Log progress."
      },
      "FilterRequest": {
        "properties": {
          "input": {
            "type": "string",
            "format": "path",
            "title": "Input"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "include": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Include"
          },
          "exclude": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exclude"
          },
          "min_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Min Duration"
          },
          "max_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Duration"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "input",
          "output"
        ],
        "title": "FilterRequest",
        "description": "Keep the rows that pass label and duration filters.\n\nAttributes:\n    input: The source file.\n    output: The file to write.\n    include: Keep only these labels.\n    exclude: Drop these labels.\n    min_duration: Drop rows shorter than this (s).\n    max_duration: Drop rows longer than this (s)."
      },
      "FitRequest": {
        "properties": {
          "embeddings_file": {
            "type": "string",
            "format": "path",
            "title": "Embeddings File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "method": {
            "type": "string",
            "enum": [
              "hdbscan",
              "kmeans",
              "dbscan",
              "agglomerative"
            ],
            "title": "Method",
            "default": "hdbscan"
          },
          "n_clusters": {
            "type": "integer",
            "title": "N Clusters",
            "default": 10
          },
          "min_cluster_size": {
            "type": "integer",
            "title": "Min Cluster Size",
            "default": 5
          },
          "eps": {
            "type": "number",
            "title": "Eps",
            "default": 0.5
          },
          "min_samples": {
            "type": "integer",
            "title": "Min Samples",
            "default": 5
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "embeddings_file",
          "output"
        ],
        "title": "FitRequest",
        "description": "Cluster embeddings.\n\nAttributes:\n    embeddings_file: The embeddings (``.npy``, 2-D).\n    output: Where to save the labels.\n    method: ``hdbscan``, ``kmeans``, ``dbscan`` or ``agglomerative``.\n    n_clusters: Number of clusters (k-means, agglomerative).\n    min_cluster_size: Minimum cluster size (HDBSCAN).\n    eps: DBSCAN neighbourhood radius.\n    min_samples: Minimum samples per cluster."
      },
      "FrameFeatureConfig": {
        "properties": {
          "n_fft": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "N Fft"
          },
          "hop": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hop"
          },
          "n_mels": {
            "type": "integer",
            "title": "N Mels",
            "default": 40
          },
          "n_mfcc": {
            "type": "integer",
            "title": "N Mfcc",
            "default": 13
          },
          "f_min": {
            "type": "number",
            "title": "F Min",
            "default": 250.0
          },
          "f_max": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "F Max"
          },
          "denoise": {
            "type": "boolean",
            "title": "Denoise",
            "default": true
          },
          "noise_percentile": {
            "type": "number",
            "title": "Noise Percentile",
            "default": 0.2
          },
          "noise_scale": {
            "type": "number",
            "title": "Noise Scale",
            "default": 1.8
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "FrameFeatureConfig",
        "description": "Settings for :func:`frame_features`.\n\n``n_fft``, ``hop`` and ``f_max`` default to values derived from the sample rate:\n``n_fft`` 1024 (2048 above 60 kHz), ``hop`` ``n_fft // 4``, and ``f_max`` the\nlower of 92% of Nyquist and 16 kHz.\n\nAttributes:\n    n_fft: FFT size in samples.\n    hop: Samples between frame starts.\n    n_mels: Number of mel bands.\n    n_mfcc: Number of MFCCs, including c0.\n    f_min: Lower edge of the analysis band in Hz.\n    f_max: Upper edge of the analysis band in Hz.\n    denoise: Subtract the stationary noise floor before measuring.\n    noise_percentile: Percentile (0-1) of each bin's magnitude taken as its noise floor.\n    noise_scale: Factor applied to that percentile before subtracting."
      },
      "FrameLabelsRequest": {
        "properties": {
          "annotation_file": {
            "type": "string",
            "format": "path",
            "title": "Annotation File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "frame_size": {
            "type": "number",
            "title": "Frame Size"
          },
          "hop_length": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hop Length"
          },
          "audio_duration": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Duration"
          },
          "output_format": {
            "type": "string",
            "enum": [
              "csv",
              "numpy"
            ],
            "title": "Output Format",
            "default": "csv"
          },
          "recording": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recording"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "annotation_file",
          "output",
          "frame_size"
        ],
        "title": "FrameLabelsRequest",
        "description": "Frame-level multi-hot labels from an annotation file.\n\nAttributes:\n    annotation_file: The annotation file.\n    output: The labels file to write.\n    frame_size: Frame length (s).\n    hop_length: Step between frames (s); default the frame size.\n    audio_duration: The recording's length (s); by default from the file.\n    output_format: ``csv`` or ``numpy``.\n    recording: For a file covering several recordings: the one to label."
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "HistoryRequest": {
        "properties": {
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          },
          "limit": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Limit",
            "default": 20
          },
          "failed": {
            "type": "boolean",
            "title": "Failed",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "HistoryRequest",
        "description": "A workspace's run history.\n\nAttributes:\n    directory: Where to start looking for the workspace.\n    limit: The last N runs (``None``: all).\n    failed: Only runs that failed."
      },
      "InatDownloadRequest": {
        "properties": {
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "taxon_ids": {
            "anyOf": [
              {
                "items": {
                  "type": "integer"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Taxon Ids"
          },
          "taxon_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Taxon Name"
          },
          "place_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Id"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "quality_grade": {
            "type": "string",
            "enum": [
              "research",
              "needs_id",
              "casual",
              "any"
            ],
            "title": "Quality Grade",
            "default": "research"
          },
          "licenses": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Licenses"
          },
          "start_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Start Date"
          },
          "end_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "End Date"
          },
          "obs_per_taxon": {
            "type": "integer",
            "title": "Obs Per Taxon",
            "default": 10
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "output_dir"
        ],
        "title": "InatDownloadRequest",
        "description": "Download iNaturalist observations' sounds.\n\nAttributes:\n    output_dir: Where to save them.\n    taxon_ids: Taxon IDs.\n    taxon_name: Taxon name.\n    place_id: Place ID.\n    project_id: Project slug or ID.\n    quality_grade: ``research``, ``needs_id``, ``casual`` or ``any``.\n    licenses: Sound licenses to accept (``cc0``, ``cc-by``, ...).\n    start_date: First observation date (YYYY-MM-DD).\n    end_date: Last observation date.\n    obs_per_taxon: Maximum observations per taxon."
      },
      "InatSearchRequest": {
        "properties": {
          "species": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species"
          },
          "taxon_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Taxon Id"
          },
          "place_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Place Id"
          },
          "project_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Project Id"
          },
          "quality_grade": {
            "type": "string",
            "enum": [
              "research",
              "needs_id",
              "casual"
            ],
            "title": "Quality Grade",
            "default": "research"
          },
          "limit": {
            "type": "integer",
            "title": "Limit",
            "default": 20
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "InatSearchRequest",
        "description": "iNaturalist observations with sounds.\n\nAttributes:\n    species: Scientific name.\n    taxon_id: iNaturalist taxon ID.\n    place_id: iNaturalist place ID.\n    project_id: Project slug or ID.\n    quality_grade: ``research``, ``needs_id`` or ``casual``.\n    limit: Maximum observations.\n    output: A CSV to save them to."
      },
      "InatStatsRequest": {
        "properties": {
          "project_id": {
            "type": "string",
            "title": "Project Id"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "project_id"
        ],
        "title": "InatStatsRequest",
        "description": "An iNaturalist project's statistics.\n\nAttributes:\n    project_id: Project slug or ID.\n    output: A JSON file to save them to."
      },
      "IndexBandRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "min_freq": {
            "type": "number",
            "title": "Min Freq",
            "default": 0.0
          },
          "max_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Max Freq"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "IndexBandRequest",
        "description": "One frequency-banded index (ACI or BIO) of one file.\n\nAttributes:\n    file: The audio file.\n    min_freq: Low-frequency bound (Hz).\n    max_freq: High-frequency bound (Hz), or ``None`` for the Nyquist frequency.\n    n_fft: FFT window size."
      },
      "IndexRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "IndexRequest",
        "description": "An index of one file that only takes the FFT size (entropy).\n\nAttributes:\n    file: The audio file.\n    n_fft: FFT window size."
      },
      "IndexThresholdRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "db_threshold": {
            "type": "number",
            "title": "Db Threshold",
            "default": -50.0
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "IndexThresholdRequest",
        "description": "One threshold index (ADI or AEI) of one file.\n\nAttributes:\n    file: The audio file.\n    db_threshold: dB threshold.\n    n_fft: FFT window size."
      },
      "IndicesComputeRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          },
          "aci_min_freq": {
            "type": "number",
            "title": "Aci Min Freq",
            "default": 0.0
          },
          "aci_max_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Aci Max Freq"
          },
          "bio_min_freq": {
            "type": "number",
            "title": "Bio Min Freq",
            "default": 2000.0
          },
          "bio_max_freq": {
            "type": "number",
            "title": "Bio Max Freq",
            "default": 8000.0
          },
          "db_threshold": {
            "type": "number",
            "title": "Db Threshold",
            "default": -50.0
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "IndicesComputeRequest",
        "description": "Every acoustic index of one file.\n\nAttributes:\n    file: The audio file.\n    n_fft: FFT window size.\n    aci_min_freq: ACI low-frequency bound (Hz).\n    aci_max_freq: ACI high-frequency bound (Hz), or ``None`` for the Nyquist frequency.\n    bio_min_freq: BIO low-frequency bound (Hz).\n    bio_max_freq: BIO high-frequency bound (Hz).\n    db_threshold: dB threshold for ADI and AEI.\n    output: A JSON file to save the indices to."
      },
      "IndicesTemporalRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "window_duration": {
            "type": "number",
            "title": "Window Duration",
            "default": 60.0
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 512
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "IndicesTemporalRequest",
        "description": "Acoustic indices of one file over consecutive windows.\n\nAttributes:\n    file: The audio file.\n    window_duration: Window length (s).\n    n_fft: FFT window size.\n    output: A JSON file to save the segment rows to."
      },
      "InfoRequest": {
        "properties": {
          "model_path": {
            "type": "string",
            "title": "Model Path"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "model_path"
        ],
        "title": "InfoRequest",
        "description": "An AST model's type, classes and size.\n\nAttributes:\n    model_path: The model (Hugging Face ID or local path)."
      },
      "InitConfigRequest": {
        "properties": {
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output",
            "default": "ast_training.toml"
          },
          "force": {
            "type": "boolean",
            "title": "Force",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "InitConfigRequest",
        "description": "A documented training config file to edit.\n\nAttributes:\n    output: The file to write.\n    force: Overwrite an existing file."
      },
      "InitRequest": {
        "properties": {
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "InitRequest",
        "description": "Make a folder a workspace.\n\nAttributes:\n    directory: The folder.\n    name: Workspace name (default: the folder's name)."
      },
      "LicenseRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "template": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template"
          },
          "output": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "format": {
            "type": "string",
            "enum": [
              "text",
              "md"
            ],
            "title": "Format",
            "default": "text"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          },
          "batch": {
            "type": "boolean",
            "title": "Batch",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path"
        ],
        "title": "LicenseRequest",
        "description": "A LICENSE or ATTRIBUTIONS.md from a dataset's metadata.\n\nAttributes:\n    path: The dataset folder, or (with ``batch``) a folder of datasets.\n    template: A file to put at the top.\n    output: The file name.\n    format: ``text`` (LICENSE) or ``md`` (ATTRIBUTIONS.md).\n    metadata_filename: The metadata CSV's name.\n    batch: Every dataset under ``path``."
      },
      "ListRequest": {
        "properties": {
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          },
          "kind": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "audio_file",
                  "folder",
                  "dataset",
                  "model",
                  "file"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Kind"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "ListRequest",
        "description": "A workspace's artifacts.\n\nAttributes:\n    directory: Where to start looking for the workspace.\n    kind: Only this kind."
      },
      "ManifestRequest": {
        "properties": {
          "dataset_dir": {
            "type": "string",
            "format": "path",
            "title": "Dataset Dir"
          },
          "name": {
            "type": "string",
            "title": "Name",
            "default": ""
          },
          "kind": {
            "type": "string",
            "enum": [
              "labeled",
              "partitioned"
            ],
            "title": "Kind",
            "default": "labeled"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          },
          "sample_rate": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sample Rate"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "dataset_dir"
        ],
        "title": "ManifestRequest",
        "description": "A ``dataset.json`` manifest from a dataset's metadata CSV.\n\nAttributes:\n    dataset_dir: The dataset folder.\n    name: Dataset name (default: the folder's name).\n    kind: ``labeled`` or ``partitioned``.\n    output: Where to write it (default: ``<dataset_dir>/dataset.json``).\n    metadata_filename: The metadata CSV's name.\n    sample_rate: Sample rate to record."
      },
      "MergeRequest": {
        "properties": {
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "dataset_paths": {
            "items": {
              "type": "string",
              "format": "path"
            },
            "type": "array",
            "title": "Dataset Paths"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          },
          "overwrite": {
            "type": "boolean",
            "title": "Overwrite",
            "default": false
          },
          "organize": {
            "type": "boolean",
            "title": "Organize",
            "default": true
          },
          "target_format": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Target Format"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "output_dir",
          "dataset_paths"
        ],
        "title": "MergeRequest",
        "description": "Merge datasets into one.\n\nAttributes:\n    output_dir: The merged dataset's folder.\n    dataset_paths: The datasets to merge.\n    metadata_filename: Each dataset's metadata CSV name.\n    overwrite: Overwrite existing files instead of skipping them.\n    organize: Organize files by category (else keep each dataset's layout).\n    target_format: Convert all audio to this format.\n    verbose: Log progress."
      },
      "MlDownloadRequest": {
        "properties": {
          "species_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species Code"
          },
          "scientific_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scientific Name"
          },
          "common_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Common Name"
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "taxon_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Taxon Code"
          },
          "hotspot_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hotspot Code"
          },
          "min_rating": {
            "type": "integer",
            "title": "Min Rating",
            "default": 3
          },
          "max_results": {
            "type": "integer",
            "title": "Max Results",
            "default": 10
          },
          "max_recordings": {
            "type": "integer",
            "title": "Max Recordings",
            "default": 10
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir",
            "default": "./ml_recordings"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "MlDownloadRequest",
        "description": "Download Macaulay Library recordings (at least one filter).\n\nAttributes:\n    output_dir: Where to save them.\n    max_recordings: Maximum recordings."
      },
      "MlSearchRequest": {
        "properties": {
          "species_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species Code"
          },
          "scientific_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Scientific Name"
          },
          "common_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Common Name"
          },
          "region": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Region"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "taxon_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Taxon Code"
          },
          "hotspot_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hotspot Code"
          },
          "min_rating": {
            "type": "integer",
            "title": "Min Rating",
            "default": 0
          },
          "max_results": {
            "type": "integer",
            "title": "Max Results",
            "default": 10
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "MlSearchRequest",
        "description": "Macaulay Library recordings (at least one filter).\n\nAttributes:\n    species_code: eBird species code.\n    scientific_name: Scientific name.\n    common_name: Common name.\n    region: Region code (e.g. US-NY).\n    country: Country code.\n    taxon_code: eBird taxon code.\n    hotspot_code: eBird hotspot code.\n    min_rating: Minimum rating (1-5).\n    max_results: Maximum results."
      },
      "NdsiRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "n_fft": {
            "type": "integer",
            "title": "N Fft",
            "default": 1024
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "NdsiRequest",
        "description": "The Normalized Difference Soundscape Index (NDSI) of one file.\n\nAttributes:\n    file: The audio file.\n    n_fft: FFT window size."
      },
      "NearbyRequest": {
        "properties": {
          "lat": {
            "type": "number",
            "title": "Lat"
          },
          "lng": {
            "type": "number",
            "title": "Lng"
          },
          "distance": {
            "type": "number",
            "title": "Distance",
            "default": 25
          },
          "days": {
            "type": "integer",
            "title": "Days",
            "default": 14
          },
          "limit": {
            "type": "integer",
            "title": "Limit",
            "default": 20
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "lat",
          "lng"
        ],
        "title": "NearbyRequest",
        "description": "Recent eBird observations near a place.\n\nAttributes:\n    lat: Latitude.\n    lng: Longitude.\n    distance: Search radius (km).\n    days: Days back.\n    limit: Maximum observations.\n    output: A CSV to save them to."
      },
      "NoRequest": {
        "properties": {},
        "additionalProperties": false,
        "type": "object",
        "title": "NoRequest",
        "description": "No arguments."
      },
      "NoveltyRequest": {
        "properties": {
          "embeddings_file": {
            "type": "string",
            "format": "path",
            "title": "Embeddings File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "method": {
            "type": "string",
            "enum": [
              "distance",
              "isolation_forest",
              "lof"
            ],
            "title": "Method",
            "default": "distance"
          },
          "threshold": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Threshold"
          },
          "labels_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Labels File"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "embeddings_file",
          "output"
        ],
        "title": "NoveltyRequest",
        "description": "Find novel samples among embeddings.\n\nAttributes:\n    embeddings_file: The embeddings (``.npy``, 2-D).\n    output: Where to save is-novel flags and scores.\n    method: ``distance``, ``isolation_forest`` or ``lof``.\n    threshold: Novelty threshold.\n    labels_file: Known cluster labels (``.npy``, 1-D)."
      },
      "PartitionRequest": {
        "properties": {
          "dataset_dir": {
            "type": "string",
            "format": "path",
            "title": "Dataset Dir"
          },
          "train": {
            "type": "number",
            "title": "Train",
            "default": 0.7
          },
          "val": {
            "type": "number",
            "title": "Val",
            "default": 0.15
          },
          "test": {
            "type": "number",
            "title": "Test",
            "default": 0.15
          },
          "seed": {
            "type": "integer",
            "title": "Seed",
            "default": 0
          },
          "stratify": {
            "type": "boolean",
            "title": "Stratify",
            "default": true
          },
          "mode": {
            "type": "string",
            "enum": [
              "subdirs",
              "column"
            ],
            "title": "Mode",
            "default": "subdirs"
          },
          "group_by": {
            "type": "string",
            "title": "Group By",
            "default": "source_file"
          },
          "background_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Background Label"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "dataset_dir"
        ],
        "title": "PartitionRequest",
        "description": "Split a dataset into train, validation and test.\n\nAttributes:\n    dataset_dir: The dataset folder, or its metadata CSV.\n    train: Train fraction.\n    val: Validation fraction.\n    test: Test fraction.\n    seed: Shuffle seed.\n    stratify: Balance labels across splits.\n    mode: ``subdirs`` (move files into split folders) or ``column``.\n    group_by: Keep rows sharing this column's value in one split (``\"\"``: none).\n    background_label: Partition this label as its own stratum.\n    metadata_filename: The metadata CSV's name.\n    verbose: Log progress."
      },
      "PeaksDetectRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "snr": {
            "type": "number",
            "title": "Snr",
            "default": 2.0
          },
          "min_distance": {
            "type": "number",
            "title": "Min Distance",
            "default": 0.01
          },
          "low_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low Freq"
          },
          "high_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "High Freq"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "PeaksDetectRequest",
        "description": "CWT peak detection on one file.\n\nAttributes:\n    file: The audio file.\n    snr: Signal-to-noise ratio threshold.\n    min_distance: Minimum distance between peaks (s).\n    low_freq: Low frequency bound (Hz), or ``None`` for no bound.\n    high_freq: High frequency bound (Hz), or ``None`` for no bound.\n    output: Where to save the peaks (``.json`` for JSON, otherwise CSV)."
      },
      "PredictRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "model_path": {
            "type": "string",
            "title": "Model Path",
            "default": "bioamla/scp-frogs"
          },
          "segment_duration": {
            "type": "integer",
            "title": "Segment Duration",
            "default": 0
          },
          "overlap": {
            "type": "integer",
            "title": "Overlap",
            "default": 0
          },
          "min_confidence": {
            "type": "number",
            "title": "Min Confidence",
            "default": 0.0
          },
          "threshold": {
            "type": "number",
            "maximum": 1.0,
            "minimum": 0.0,
            "title": "Threshold",
            "default": 0.5
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          },
          "resample_freq": {
            "type": "integer",
            "title": "Resample Freq",
            "default": 16000
          },
          "top_k": {
            "type": "integer",
            "minimum": 0.0,
            "title": "Top K",
            "default": 0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "PredictRequest",
        "description": "Classify one audio file with an AST model.\n\nAttributes:\n    file: The audio file.\n    model_path: The model (Hugging Face ID or local path).\n    segment_duration: Classify N-second segments (0: the whole file).\n    overlap: Overlap between segments (s).\n    min_confidence: Leave out predictions below this.\n    threshold: For a multi-label model, the score a label needs to be reported.\n    output: A CSV to save the predictions to.\n    resample_freq: The model's sample rate.\n    top_k: Also rank each prediction's ``top_k`` most likely labels, with the\n        margin between the first two (0: don't)."
      },
      "PullDatasetRequest": {
        "properties": {
          "repo_id": {
            "type": "string",
            "title": "Repo Id"
          },
          "dest": {
            "type": "string",
            "format": "path",
            "title": "Dest"
          },
          "split": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Split"
          },
          "config": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Config"
          },
          "audio_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Audio Column"
          },
          "label_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Column"
          },
          "sample_rate": {
            "type": "integer",
            "title": "Sample Rate",
            "default": 16000
          },
          "layout": {
            "type": "string",
            "enum": [
              "both",
              "audiofolder",
              "flat"
            ],
            "title": "Layout",
            "default": "both"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "repo_id",
          "dest"
        ],
        "title": "PullDatasetRequest",
        "description": "Pull a Hugging Face audio dataset into label folders and a metadata.csv.\n\nAttributes:\n    repo_id: The Hub dataset.\n    dest: Where to write it.\n    split: One split (default: all).\n    config: Dataset config or subset name.\n    audio_column: The audio column (default: detected).\n    label_column: The label column (default: detected).\n    sample_rate: Resample to this rate (0: keep).\n    layout: ``both``, ``audiofolder`` or ``flat``.\n    verbose: Log progress."
      },
      "PushDatasetRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "repo_id": {
            "type": "string",
            "title": "Repo Id"
          },
          "private": {
            "type": "boolean",
            "title": "Private",
            "default": false
          },
          "commit_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commit Message"
          },
          "card": {
            "type": "boolean",
            "title": "Card",
            "default": true
          },
          "coordinates": {
            "type": "string",
            "enum": [
              "keep",
              "round",
              "strip"
            ],
            "title": "Coordinates",
            "default": "keep"
          },
          "coordinate_decimals": {
            "type": "integer",
            "title": "Coordinate Decimals",
            "default": 2
          },
          "unredacted": {
            "type": "string",
            "enum": [
              "refuse",
              "skip",
              "publish"
            ],
            "title": "Unredacted",
            "default": "refuse"
          },
          "license": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "License"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path",
          "repo_id"
        ],
        "title": "PushDatasetRequest",
        "description": "Push a dataset folder to the Hugging Face Hub, writing its card first.\n\nAttributes:\n    path: The dataset folder.\n    repo_id: The Hub repository.\n    private: Create it private.\n    commit_message: The commit message.\n    card: Write a README.md dataset card first.\n    coordinates: Per-file locations in what is uploaded: ``keep``, ``round``,\n        ``strip``.\n    coordinate_decimals: Decimal places ``round`` keeps (0-6).\n    unredacted: With ``round`` or ``strip``, files the push can't vouch for\n        (neither redacted nor known to carry no location): ``refuse`` the push,\n        ``skip`` them, or ``publish`` them as they are.\n    license: The dataset's license, a Hub license id (e.g. ``cc-by-nc-4.0``),\n        written to the card."
      },
      "PushModelRequest": {
        "properties": {
          "path": {
            "type": "string",
            "format": "path",
            "title": "Path"
          },
          "repo_id": {
            "type": "string",
            "title": "Repo Id"
          },
          "private": {
            "type": "boolean",
            "title": "Private",
            "default": false
          },
          "commit_message": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Commit Message"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "path",
          "repo_id"
        ],
        "title": "PushModelRequest",
        "description": "Push a model folder to the Hugging Face Hub.\n\nAttributes:\n    path: The model folder.\n    repo_id: The Hub repository.\n    private: Create it private.\n    commit_message: The commit message."
      },
      "ReduceRequest": {
        "properties": {
          "embeddings_file": {
            "type": "string",
            "format": "path",
            "title": "Embeddings File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "method": {
            "type": "string",
            "enum": [
              "umap",
              "tsne",
              "pca"
            ],
            "title": "Method",
            "default": "pca"
          },
          "n_components": {
            "type": "integer",
            "title": "N Components",
            "default": 2
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "embeddings_file",
          "output"
        ],
        "title": "ReduceRequest",
        "description": "Reduce embeddings to fewer dimensions.\n\nAttributes:\n    embeddings_file: The embeddings (``.npy``, 2-D).\n    output: Where to save the reduced embeddings.\n    method: ``pca``, ``umap`` or ``tsne``.\n    n_components: Output dimensions."
      },
      "RemapRequest": {
        "properties": {
          "input": {
            "type": "string",
            "format": "path",
            "title": "Input"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "mapping": {
            "type": "string",
            "format": "path",
            "title": "Mapping"
          },
          "keep_unmapped": {
            "type": "boolean",
            "title": "Keep Unmapped",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "input",
          "output",
          "mapping"
        ],
        "title": "RemapRequest",
        "description": "Rename labels with a mapping CSV (``source``, ``target``).\n\nAttributes:\n    input: The source file.\n    output: The file to write.\n    mapping: The mapping CSV.\n    keep_unmapped: Keep rows whose label isn't mapped."
      },
      "RemixRequest": {
        "properties": {
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir"
          },
          "recipe": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Recipe"
          },
          "source": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Source"
          },
          "keep": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Keep"
          },
          "drop": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "title": "Drop"
          },
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "label_column": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Label Column"
          },
          "template": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          },
          "verbose": {
            "type": "boolean",
            "title": "Verbose",
            "default": true
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "output_dir"
        ],
        "title": "RemixRequest",
        "description": "A derived dataset from a recipe and/or selections.\n\nAttributes:\n    output_dir: The new dataset's folder.\n    recipe: A TOML recipe.\n    source: Source dataset folder (overrides the recipe's).\n    keep: Keep only these labels.\n    drop: Drop these labels.\n    name: Dataset name.\n    label_column: The column holding labels.\n    template: A file to put at the top of the generated LICENSE.\n    metadata_filename: The metadata CSV's name.\n    verbose: Log progress."
      },
      "RemoveRequest": {
        "properties": {
          "artifact_id": {
            "type": "string",
            "title": "Artifact Id"
          },
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          },
          "delete_import": {
            "type": "boolean",
            "title": "Delete Import",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "artifact_id"
        ],
        "title": "RemoveRequest",
        "description": "Forget an artifact.\n\nAttributes:\n    artifact_id: The artifact.\n    directory: Where to start looking for the workspace.\n    delete_import: Also delete an imported artifact's copy."
      },
      "RibbitDetectRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "pulse_rate": {
            "type": "number",
            "title": "Pulse Rate",
            "default": 10.0
          },
          "tolerance": {
            "type": "number",
            "title": "Tolerance",
            "default": 0.2
          },
          "low_freq": {
            "type": "number",
            "title": "Low Freq",
            "default": 500.0
          },
          "high_freq": {
            "type": "number",
            "title": "High Freq",
            "default": 5000.0
          },
          "window": {
            "type": "number",
            "title": "Window",
            "default": 2.0
          },
          "min_score": {
            "type": "number",
            "title": "Min Score",
            "default": 0.3
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "RibbitDetectRequest",
        "description": "RIBBIT periodic-call detection on one file.\n\nAttributes:\n    file: The audio file.\n    pulse_rate: Expected pulse rate (pulses per second).\n    tolerance: Tolerance around the pulse rate, as a fraction.\n    low_freq: Low frequency bound (Hz).\n    high_freq: High frequency bound (Hz).\n    window: Analysis window (s).\n    min_score: Minimum detection score.\n    output: Where to save the detections (``.json`` for JSON, otherwise CSV)."
      },
      "SchemaRequest": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          },
          "output": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "SchemaRequest",
        "description": "A config's JSON Schema, or (without ``name``) the configs that have one.\n\nAttributes:\n    name: The config (see ``configs``).\n    output: A file to write the schema to."
      },
      "SpeciesRequest": {
        "properties": {
          "name": {
            "type": "string",
            "title": "Name"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "name"
        ],
        "title": "SpeciesRequest",
        "description": "A species in the eBird taxonomy.\n\nAttributes:\n    name: Common name, scientific name or species code."
      },
      "SpeciesSearchRequest": {
        "properties": {
          "query": {
            "type": "string",
            "title": "Query"
          },
          "limit": {
            "type": "integer",
            "title": "Limit",
            "default": 10
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "query"
        ],
        "title": "SpeciesSearchRequest",
        "description": "Fuzzy search of the eBird taxonomy.\n\nAttributes:\n    query: What to look for.\n    limit: Maximum results."
      },
      "StatsRequest": {
        "properties": {
          "dataset_dir": {
            "type": "string",
            "format": "path",
            "title": "Dataset Dir"
          },
          "metadata_filename": {
            "type": "string",
            "title": "Metadata Filename",
            "default": "metadata.csv"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "dataset_dir"
        ],
        "title": "StatsRequest",
        "description": "Summary statistics of a dataset's metadata CSV.\n\nAttributes:\n    dataset_dir: The dataset folder, or its metadata CSV.\n    metadata_filename: The metadata CSV's name."
      },
      "SummaryRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "format": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "raven",
                  "csv",
                  "bioamla",
                  "arbimon"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Format"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "SummaryRequest",
        "description": "Summary statistics of an annotation file.\n\nAttributes:\n    file: The annotation file.\n    format: Its format; by default from its name or header."
      },
      "TemplateRequest": {
        "properties": {
          "audio_file": {
            "type": "string",
            "format": "path",
            "title": "Audio File"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          },
          "format": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "raven",
                  "csv",
                  "bioamla",
                  "arbimon"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Format"
          },
          "label": {
            "type": "string",
            "title": "Label",
            "default": ""
          },
          "empty": {
            "type": "boolean",
            "title": "Empty",
            "default": false
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "audio_file",
          "output"
        ],
        "title": "TemplateRequest",
        "description": "A starter annotation file for a recording.\n\nAttributes:\n    audio_file: The recording.\n    output: The annotation file to write.\n    format: Its format; by default from its name.\n    label: Label of the placeholder row.\n    empty: Write no placeholder row."
      },
      "TrainRequest": {
        "properties": {
          "train_dataset": {
            "type": "string",
            "title": "Train Dataset"
          },
          "config_path": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Config Path"
          },
          "training_dir": {
            "type": "string",
            "format": "path",
            "title": "Training Dir",
            "default": "."
          },
          "options": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Options"
          },
          "metrics_file": {
            "anyOf": [
              {
                "type": "string",
                "format": "path"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metrics File"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "train_dataset"
        ],
        "title": "TrainRequest",
        "description": "Fine-tune an AST model.\n\nAttributes:\n    train_dataset: A Hugging Face dataset ID, a metadata CSV, a folder with one\n        subfolder per class, or Parquet files (a file or a folder of them).\n    config_path: A training config file (``models.ast.init-config``).\n    training_dir: Where training writes its outputs and the model.\n    options: Training options set explicitly; anything else comes from the config\n        file, then the defaults (see :data:`bioamla.ml.AST_TRAIN_DEFAULTS`).\n    metrics_file: A JSON Lines file to record the run in (params, every logged\n        metric, the outcome), through a :class:`~bioamla.ml.JsonlTracker`. It must\n        not exist yet."
      },
      "UnzipRequest": {
        "properties": {
          "file": {
            "type": "string",
            "format": "path",
            "title": "File"
          },
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir",
            "default": "."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "file"
        ],
        "title": "UnzipRequest",
        "description": "Extract a ZIP archive.\n\nAttributes:\n    file: The archive.\n    output_dir: Where to extract it."
      },
      "ValidateRequest": {
        "properties": {
          "species_code": {
            "type": "string",
            "title": "Species Code"
          },
          "lat": {
            "type": "number",
            "title": "Lat"
          },
          "lng": {
            "type": "number",
            "title": "Lng"
          },
          "distance": {
            "type": "number",
            "title": "Distance",
            "default": 50
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "species_code",
          "lat",
          "lng"
        ],
        "title": "ValidateRequest",
        "description": "Is a species expected at a place (recent eBird observations)?\n\nAttributes:\n    species_code: eBird species code.\n    lat: Latitude.\n    lng: Longitude.\n    distance: Search radius (km)."
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      },
      "VisualizeBox": {
        "properties": {
          "start": {
            "type": "number",
            "title": "Start"
          },
          "end": {
            "type": "number",
            "title": "End"
          },
          "low_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "Low Freq"
          },
          "high_freq": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "title": "High Freq"
          },
          "label": {
            "type": "string",
            "title": "Label",
            "default": ""
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "start",
          "end"
        ],
        "title": "VisualizeBox",
        "description": "A region to outline on a picture (see :class:`bioamla.viz.SpectrogramBox`).\n\nAttributes:\n    start: Start (s).\n    end: End (s).\n    low_freq: Lower edge (Hz); leave both edges out for the full height.\n    high_freq: Upper edge (Hz).\n    label: Text at its top-left corner."
      },
      "WorkspaceRequest": {
        "properties": {
          "directory": {
            "type": "string",
            "format": "path",
            "title": "Directory",
            "default": "."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "WorkspaceRequest",
        "description": "A workspace, found from a folder.\n\nAttributes:\n    directory: Where to start looking."
      },
      "XcDownloadRequest": {
        "properties": {
          "output_dir": {
            "type": "string",
            "format": "path",
            "title": "Output Dir",
            "default": "./xc_recordings"
          },
          "species": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species"
          },
          "genus": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Genus"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "quality": {
            "type": "string",
            "title": "Quality",
            "default": "A"
          },
          "max_recordings": {
            "type": "integer",
            "title": "Max Recordings",
            "default": 10
          },
          "delay": {
            "type": "number",
            "title": "Delay",
            "default": 1.0
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "XcDownloadRequest",
        "description": "Download Xeno-canto recordings.\n\nAttributes:\n    output_dir: Where to save them.\n    species: Species name.\n    genus: Genus.\n    country: Country.\n    quality: Quality filter.\n    max_recordings: Maximum recordings.\n    delay: Seconds between downloads."
      },
      "XcSearchRequest": {
        "properties": {
          "species": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Species"
          },
          "genus": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Genus"
          },
          "country": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Country"
          },
          "quality": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quality"
          },
          "sound_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Sound Type"
          },
          "max_results": {
            "type": "integer",
            "title": "Max Results",
            "default": 10
          }
        },
        "additionalProperties": false,
        "type": "object",
        "title": "XcSearchRequest",
        "description": "Xeno-canto recordings.\n\nAttributes:\n    species: Species name.\n    genus: Genus.\n    country: Country.\n    quality: Quality (A-E).\n    sound_type: Sound type (song, call, ...).\n    max_results: Maximum results."
      },
      "ZipRequest": {
        "properties": {
          "source": {
            "type": "string",
            "format": "path",
            "title": "Source"
          },
          "output": {
            "type": "string",
            "format": "path",
            "title": "Output"
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "source",
          "output"
        ],
        "title": "ZipRequest",
        "description": "Zip a folder or a file.\n\nAttributes:\n    source: The folder or file.\n    output: The archive to write."
      }
    },
    "securitySchemes": {
      "HTTPBearer": {
        "type": "http",
        "description": "The server token",
        "scheme": "bearer"
      }
    }
  }
}
