For the complete documentation index, see llms.txt. This page is also available as Markdown.

Projects

Create, list, read and rename FLORA projects with the API, list the nodes on a project's canvas, and attach assets to it.

Projects group work inside a workspace: each one is a canvas where generations and assets appear as nodes. Pass a project's project_id (prj_...) when you start a generation or upload an asset so the results land together in FLORA.

List projects

curl "https://app.flora.ai/api/v1/projects?workspace_id=ws_abc123&limit=10" \
  -H "Authorization: Bearer $FLORA_API_KEY"

Response:

{
  "projects": [
    {
      "project_id": "prj_abc123",
      "name": "Campaign concepts",
      "workspace_id": "ws_abc123",
      "is_private": false,
      "created_at": 1760000000000
    }
  ],
  "meta": { "next_cursor": null }
}

workspace_id is required. By default you get the projects you created; visibility narrows to your private projects or widens to every member's shared canvases, and query filters by name. Page with cursor.

Create a project

POST /workspaces/{workspaceId}/projects names the workspace in the path, which is clearer when your key reaches several workspaces. POST /projects with workspace_id and name in the body does the same. To file the project in a folder, use POST /workspaces/{workspaceId}/folders/{folderId}/projects.

Creating a project needs write permission on the workspace; without it the API returns 403 forbidden.

With the TypeScript SDK:

Retrieve or rename a project

name is the only field PATCH changes. Missing projects and projects your key can't see both return 404.

List the nodes on a canvas

This returns the visible media nodes on the project's canvas, with their IDs. Use a node's ID in reference_node_ids to feed its output into a generation.

Attach an asset to a project

After you upload an asset, attach it so it appears on the canvas:

You can skip this step by passing project_id when you create the asset.

Common endpoints

Method
Path
Description

GET

/projects?workspace_id={workspace_id}

POST

/workspaces/{workspaceId}/projects

GET

/projects/{projectId}

PATCH

/projects/{projectId}

GET

/projects/{projectId}/nodes

POST

/projects/{projectId}/assets/{assetId}/attach

Sharing, comments and canvas editing endpoints are in the FLORA API reference.

Notes

  • Project IDs start with prj_.

  • Permission-sensitive operations can return 403 forbidden; see Errors.

Last updated

Was this helpful?