Get a script by id
Fetches a single library script by its id.
GET
/api/library/script/{id}Path parameters
idstringrequiredRequest
curl
curl -X GET https://platform.trickest.com/api/library/script/{id} \
-H "Authorization: Bearer $TRICKEST_TOKEN"Responses
200Script details
idstringrequirednamestringrequireddescriptionstringtypeenumrequiredOne of: TOOL, SCRIPT, MODULE
categorystringauthorstringinputsobject[]outputsobject[]workflowstringvaultstringvault_infoobject400Bad Request – validation error or malformed input
codestringmessagestring401Unauthorized – missing or expired token
codestringmessagestring500Internal Server Error
codestringmessagestring