Skip to content
FLORA DocsGo to app

Projects

Create a project
POST/projects
Get a project
GET/projects/{projectId}
List project canvas nodes
GET/projects/{projectId}/nodes
ModelsExpand Collapse
ProjectListResponse object { created_at, last_modified, name, 3 more }
created_at: number
last_modified: number
name: string

Project name

origin: string

Project origin

project_id: string

Project identifier

workspace_id: string

Workspace identifier

ProjectCreateResponse object { created_at, last_modified, name, 3 more }
created_at: number
last_modified: number
name: string

Project name

origin: string

Project origin

project_id: string

Project identifier

workspace_id: string

Workspace identifier

ProjectRetrieveResponse object { created_at, last_modified, name, 3 more }
created_at: number
last_modified: number
name: string

Project name

origin: string

Project origin

project_id: string

Project identifier

workspace_id: string

Workspace identifier

ProjectListNodesResponse object { node_id, type, asset_id, 4 more }
node_id: string

Canvas node identifier

minLength1
type: "image" or "video" or "audio" or "text"

Canvas node media type

One of the following:
"image"
"video"
"audio"
"text"
asset_id: optional string

Asset identifier

height: optional number
label: optional string

Canvas node label

url: optional string

Canvas node output URL or text content

minLength1
width: optional number

ProjectsAssets

Project canvas endpoints.

Attach an asset to a canvas
POST/projects/{projectId}/assets/{assetId}/attach
ModelsExpand Collapse
AssetAttachAssetResponse object { asset_id, canvas_url, node_id, project_id }
asset_id: string

Asset identifier

canvas_url: string

Project canvas URL

formaturi
node_id: string

Canvas node identifier

minLength1
project_id: string

Project identifier