Skip to navigation

List scripts

View as Markdown
Returns every script in your organization as a JSON array. Unset fields come back as empty values, and secrets come back redacted.

Authentication

AuthorizationBearer

JWT bearer token authentication. Include the Configuration API key in the Authorization header as ‘Bearer <token>’.

Response

The scripts in your organization
idstringOptionalRead-only
Unique identifier of the script, assigned by the server.
signatureobjectOptional
The script's name, description, input arguments and result schema. The name is the key the script is referenced by.
languagestringOptionalRead-only
Programming language of the script. Set to PYTHON for scripts created through this API.
codestringOptional>=1 character
Script code. Inputs are available by their argument names, and the last line must be an expression whose value is returned.
secretslist of objectsOptional
Secrets the script can read by name.
updated_timedatetimeOptionalRead-only
When the configuration was last updated.
updated_bystringOptionalRead-only
Who last updated the configuration.
versionobjectOptional
Document version. On update, send back the num from your last read.

Errors

401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error