Skip to main content
POST
/
workflow-collections
Create a new workflow collection
curl --request POST \
  --url https://core.ravenna.ai/api/workflow-collections \
  --header 'Content-Type: application/json' \
  --header 'x-ravenna-api-token: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "emoji": "<string>",
  "icon": "<string>",
  "color": "<string>",
  "parentCollectionId": "<string>"
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "emoji": "<string>",
  "icon": "<string>",
  "color": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "deletedAt": "<string>",
  "authorId": "<string>",
  "author": {
    "id": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "email": "<string>",
    "image": "<string>"
  },
  "workspaceId": "<string>",
  "parentCollectionId": "<string>",
  "workflowCount": 123
}

Authorizations

x-ravenna-api-token
string
header
required

Body

application/json
name
string
required
Minimum length: 1
description
string | null
emoji
string | null
icon
string | null
color
string | null
parentCollectionId
string | null

Response

Successful response

id
string
required
name
string
required
Minimum length: 1
description
string | null
required
emoji
string | null
required
icon
string | null
required
color
string | null
required
createdAt
string
required
updatedAt
string
required
deletedAt
string | null
required
authorId
string | null
required
author
object | null
required
workspaceId
string
required
parentCollectionId
string | null
workflowCount
number
I