FLORA API reference
Every FLORA API endpoint, with its parameters, request and response fields, errors and a curl and TypeScript example.
This reference lists all 72 public FLORA API endpoints, grouped by resource. Each page gives the method and path, a curl and TypeScript SDK example, then the parameters, request and response fields, and errors. For concepts and walkthroughs, start with the FLORA API documentation.
Base URL
https://app.flora.ai/api/v1Authentication
Send a FLORA API key as a bearer token on every request:
Authorization: Bearer $FLORA_API_KEYSee Create a key to get one.
TypeScript SDK
Every endpoint has a method in the @flora-ai/flora package, named on its page.
import { FloraClient } from '@flora-ai/flora';
const client = new FloraClient({ apiKey: process.env['FLORA_API_KEY'] });Errors
Every error response has the same body. fields appears on input_validation_error (one entry per rejected field) and revision_conflict (the stale revision).
400
invalid_json, input_validation_error
The body isn't valid JSON, or an input failed validation (fields lists each one).
401
unauthorized, invalid_api_key
The API key is missing, invalid or revoked.
402
insufficient_credits
The workspace balance is too low for this request.
403
forbidden, paid_plan_required
The key can't do this, or the workspace plan doesn't include it.
404
not_found
The resource doesn't exist or isn't visible to this key.
409
idempotency_duplicate, revision_conflict
Duplicate Idempotency-Key or a stale base_revision.
429
rate_limited
Too many requests. Back off and retry.
500
unknown_error, internal_error
Something failed on FLORA's side. Retry with backoff.
503
temporarily_unavailable
Authorization is temporarily unavailable. Retry later.
See Errors for how to recover from each code.
Pagination
Paginated list endpoints return one page at a time. Set the page size with limit (1 to 100). Each response carries meta.next_cursor: pass it back as cursor to get the next page. It is null on the last page. The TypeScript SDK iterates pages for you.
Paginated endpoints: List workspace members, List workspace projects, List project comment threads, List techniques, List assets, List workspace skills, List your skills, List project canvas nodes, List generation history, List technique run history.
Idempotency
28 write endpoints accept an optional Idempotency-Key header, so a retry after a timeout doesn't run twice; their pages say so under Idempotency. Reusing a key within two hours returns 409 idempotency_duplicate. See Idempotency.
Endpoints
Actions
Prebuilt action catalog endpoints. All Actions endpoints.
Workspaces
Workspace discovery endpoints. All Workspaces endpoints.
Organizations
Organization usage reporting endpoints. All Organizations endpoints.
Projects
Project management endpoints. All Projects endpoints.
Comments
Project comment thread endpoints. All Comments endpoints.
Skills
Workspace-skill and user-skill management endpoints. All Skills endpoints.
Models
Model catalog endpoints. All Models endpoints.
Techniques
Technique catalog endpoints. All Techniques endpoints.
Technique Runs
Nested technique run endpoints. All Technique Runs endpoints.
Assets
Asset upload and retrieval endpoints. All Assets endpoints.
Library
Library folder and saved-image endpoints. All Library endpoints.
Runs
Top-level run creation endpoints. All Runs endpoints.
Canvas
Project canvas endpoints. All Canvas endpoints.
GET
/workspaces/{workspaceId}/projects/{projectId}/nodes/{nodeId}/document/slides/{slideId}
GET
/workspaces/{workspaceId}/projects/{projectId}/nodes/{nodeId}/document/slides/{slideId}/layers/{layerId}
Feedback
Product feedback endpoints. All Feedback endpoints.
Generations
Generation endpoints. All Generations endpoints.
LoRAs
LoRA training and saved Style readiness endpoints. All LoRAs endpoints.
This reference is generated from version 5.10.2 of the FLORA OpenAPI spec.
Using an AI agent instead of code? See FLORA MCP.
Last updated
Was this helpful?