List project canvas nodes
GET
/projects/{projectId}/nodes
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });
// Paginated lists are async iterables; further pages are fetched as needed.for await (const project of await client.projects.listNodes({ projectId: '<projectId>',})) { console.log(project);}curl -X GET 'https://app.flora.ai/api/v1/projects/<projectId>/nodes' \ -H 'Authorization: Bearer $FLORA_API_KEY'Returns sanitized visible media nodes on a project canvas. The response omits raw graph documents, Liveblocks internals, raw Convex IDs, and unbounded node data blobs.
Error responses use the standard error body.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” projectId
required
Project identifier
string
Project identifier
Query Parameters
Section titled “Query Parameters ” limit
Maximum number of results to return
integer
Maximum number of results to return
cursor
Opaque cursor for fetching the next page
string
Opaque cursor for fetching the next page
Responses
Section titled “ Responses ”Canvas nodes returned.
Media type application/json
object
project_id
required
Project identifier
string
canvas_url
required
Project canvas URL
string format: uri
nodes
required
Array<object>
object
node_id
required
Canvas node identifier
string
type
required
Canvas node media type
string
Example
{ "project_id": "prj_abc123", "nodes": [ { "node_id": "node_abc123", "type": "image", "label": "Logo", "asset_id": "asset_abc123", "url": "https://media.flora.ai/output.png" } ], "meta": { "next_cursor": "eyJvZmZzZXQiOjIwfQ" }}