/script/by-name/{mode}/{name}Ask AIget https://api.phantombuster.com/api/v1/script/by-name/{mode}/{name}Get a script record by its name.Path ParamsnamestringrequiredName of the script to retrieve, with its extension (.js or .coffee).modestringenumrequiredJSON or raw text.jsonrawAllowed:jsonrawQuery ParamswithoutTextbooleanIf true, do not send the script’s contents but only its metadata (only in JSON mode).truefalseResponses 200Success defaultErrorUpdated over 6 years ago