Folder
Create Folder
Create an asset or video folder in your space to organize your library
POST
Overview
Creates a folder in your space to keep your library organized. A folder is scoped to a type — eitherassets (images/videos generated via Submit Asset Generation) or videos (videos produced through the video workflow).
For asset folders, pass the returned id as folder_id when calling Submit Asset Generation and the outputs land in that folder.
Authentication
This endpoint requires API key authentication. Include your API key in the
Authorization header.Request Body
Display name of the folder.
Folder type:
assets or videos. Determines which library the folder appears in.ID of an existing folder of the same type to nest this one under. Omit (or pass
null) to create a folder at the root of the library.Response
Unique identifier of the created folder. For an asset folder, pass this as
folder_id to Submit Asset Generation.Name of the folder.
Folder type:
assets or videos.ID of the parent folder, or
null for a root folder.ISO 8601 creation timestamp.
Examples
Notes
typedefaults toassetswhen omitted.- A
parent_folder_idmust reference a folder of the sametype, otherwise the request fails withinvalid_value. - Use List Folders to retrieve existing folder IDs before creating duplicates.

