Projects

Create a project in a project folder

Changed on

Creates a new Flora project filed into the given project folder. The folder must belong to the workspace named in the path; private folders are reachable only by their owner, and an unreachable folder returns 404 rather than disclosing that it exists. Mutating public API requests support an optional Idempotency-Key header for client retries; duplicate keys within two hours return idempotency_duplicate.

post/workspaces/{workspaceId}/folders/{folderId}/projects

Request

  • Base URL
    https://app.flora.ai/api/v1
  • URL
    https://app.flora.ai/api/v1/workspaces/{workspaceId}/folders/{folderId}/projects
  • Auth
    HTTP bearer

Path parameters

workspaceIdstring required

Workspace identifier

Example:ws_abc123
folderIdstring required

Project folder identifier

Example:fld_abc123

Request body

namestring required

Project name

Example request

{
  "name": "Spring Campaign"
}

Response

Project created.

project_idstring required

Project identifier

namestring required

Project name

thumbnail_urlstring uri nullable

HTTPS project thumbnail URL, or null when unavailable. Uses the manual cover, then the automatic thumbnail, then the legacy project picture. Non-HTTPS URLs are returned as null.

is_privateboolean

True when only the creator sees the project, rather than the whole workspace. Absent when the API cannot tell.

workspace_idstring required

Workspace identifier

originstring nullable required

Project origin

last_modifiednumber nullable required
created_atnumber required

Example response

{
  "project_id": "prj_abc123",
  "name": "Spring Campaign",
  "workspace_id": "ws_abc123",
  "origin": "api"
}

Changes

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • info

      endpoint added