Schema

JSON Schema of the definition plus the node and channel catalogue

GET
/v1/schema

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*
meta*
curl -X GET 'http://localhost:8080/v1/schema'
{  "success": true,  "data": {    "definition": {      "property1": null,      "property2": null    },    "nodes": [      {        "type": "string",        "label": "string",        "transitions": {          "keys": [            "string"          ],          "required": [            "string"          ]        },        "params": {          "property1": null,          "property2": null        }      }    ],    "channels": [      {        "name": "string",        "label": "string",        "actions": [          {            "action": "string",            "label": "string",            "transitions": {              "keys": [                "string"              ],              "required": [                "string"              ]            },            "touch": true,            "params": {              "property1": null,              "property2": null            }          }        ]      }    ]  },  "meta": {    "request_id": "string"  }}