v68

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-07344691.3 MB
Scripts

Expose a script as an external HTTP API endpoint

Returns the endpoint plus the plaintext bearer token (when authMode is 'bearer').

post/api/scripts/{id}/apis

Path parameters

idstring uuid required

Request body

authMode'none' | 'bearer'
labelstring
agentIdstring

Response

Endpoint created

idstring required
scriptIdstring required
agentIdstring required
authMode'none' | 'bearer' required
enabledboolean required
labelstring nullable required
callCountnumber required
lastUsedAtstring nullable required
createdAtstring required
tokenstring nullable required