Scripting
Access scripting modules, TypeScript declarations, run logs and deprecation data through the VARIO Cloud Scripting API.
Script management
get
Query parameters
onlyEavbooleanOptionalDefault:
Should only EAV types be returned?
falseResponses
200
OK
application/json
string · binaryOptional
get/cmn/scripting/typescript-declarations
GET /cmn/scripting/typescript-declarations HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
binaryget
Path parameters
runIdinteger · int64Required
Responses
200
OK
application/json
versionstringOptional
Version Identifier for this Object (for PUT)
idstringOptional
Unique identifier of the Object
identifierstring · max: 255Required
Session identifier.
startedAtstring · date-timeRequired
Start time.
finishAtstring · date-timeRequired
End time.
successfulbooleanOptionalDefault:
Was the run successful?
trueget/cmn/scripting/script/runs/{runId}
GET /cmn/scripting/script/runs/{runId} HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"script": {
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"moduleName": "text",
"scriptSource": "text",
"scriptModuleRef": {
"id": "text",
"label": "text",
"description": "text",
"active": true
}
},
"identifier": "text",
"logLines": [],
"startedAt": "2026-01-01T00:00:00.000Z",
"finishAt": "2026-01-01T00:00:00.000Z",
"successful": true
}get
Path parameters
modulestringRequired
Responses
200
OK
application/json
Script description.
get/cmn/scripting/script/module/{module}/script-context-description
GET /cmn/scripting/script/module/{module}/script-context-description HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
{
"mainInstance": {
"name": "text",
"description": "text",
"moduleName": "text",
"attributes": [],
"methods": [],
"usageExample": "text",
"type": "INSTANCE"
},
"availableTypes": [],
"availableInput": []
}get
Responses
200
OK
application/json
string[]Optional
get/cmn/scripting/script/module
GET /cmn/scripting/script/module HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
[
"text"
]get
Responses
200
OK
application/json
string · binaryOptional
get/cmn/scripting/markdown-documentation
GET /cmn/scripting/markdown-documentation HTTP/1.1
Host: api.example.com
Accept: */*
200
OK
binaryLast updated
Was this helpful?