APIScripts
Get a script
Get a single project script by name, including its body.
Path Parameters
name*string
Script name to fetch.
Match
^[a-zA-Z0-9][a-zA-Z0-9_-]{0,63}$Length
1 <= length <= 64Query Parameters
projectId?string
Project that owns the script. Auto-filled from CLI and SDK context when omitted.
Format
uuidResponse Body
application/json
curl -X GET "https://example.com/scripts/string"{ "script": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8", "name": "string", "description": "string", "contentHash": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "content": "string" }}