Source code for aymara_ai.types.file_create_params
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Iterable, Optional
from typing_extensions import Required, TypedDict
__all__ = ["FileCreateParams", "File"]
[docs]
class FileCreateParams(TypedDict, total=False):
files: Required[Iterable[File]]
"""List of files to upload."""
workspace_uuid: Optional[str]
"""UUID of the workspace to associate with the upload, if any."""
[docs]
class File(TypedDict, total=False):
content_type: Optional[str]
"""MIME type of the file (e.g., 'video/mp4').
If not provided, will be inferred from file extension.
"""
local_file_path: Optional[str]
"""Local file path of the uploaded file, if available."""
remote_uri: Optional[str]
"""Remote URI to fetch the file from, if available."""