Skip to main content
POST
/
workflows
/
v1
/
node-libraries
Create Node Library
curl --request POST \
  --url https://api-qa.interactly.ai/workflows/v1/node-libraries \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "logical_id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "nodes": [
    "5eb7cf5a86d9755df3a6c593"
  ],
  "access_level": "personal",
  "access_list": [
    "5eb7cf5a86d9755df3a6c593"
  ]
}
'
{
  "node_library": {
    "team_id": "<string>",
    "created_by": "<string>",
    "updated_by": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "_id": "5eb7cf5a86d9755df3a6c593",
    "node_library_config": {
      "logical_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "nodes": [
        "<string>"
      ],
      "access_level": "personal",
      "access_list": [
        "<string>"
      ]
    }
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Body

application/json
logical_id
string | null

Unique identifier for the node library

name
string | null

Name of the Node Library

description
string | null

Description of the node library

nodes
string[] | null

List of node IDs that are part of this library

Required string length: 24
access_level
enum<string> | null
default:personal

Enum representing different access control levels.

Available options:
personal,
team,
system
access_list
string[] | null

List of user IDs or team IDs that have access to this node library

Required string length: 24

Response

Successful Response

Response model for a single node library. Contains a NodeLibraryModel object.

node_library
NodeLibraryModel · object
required

Single node library object