Get script

Read one script by its canonical identity, including the version it currently runs. A public script is readable by anyone, signed in or not; a private one only by its owner, or a member of the project that owns it.

get/api/scripts/{handle}/{host}/{slug}

Request

  • Base URL: https://reduck.ai
  • URL: https://reduck.ai/api/scripts/{handle}/{host}/{slug}
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

Path parameters

handlestring required

The owner a resource is addressed under: "@username" for a personal scope, or a bare slug for a project.

hoststring required

The site the script automates, as a hostname.

slugstring required

The script's unique identifier within its host, unique per owner.

Response

OK

idstring required
namestring required
slugstring required
hoststring required
descriptionstring required
visibility'private' | 'public' required
current_version_idstring nullable required
archived_atstring nullable required
created_atstring required
updated_atstring required
execution_countnumber required
last_run_atstring nullable required
success_ratenumber nullable required
avg_time_msnumber nullable required
version_countnumber required
human_requiredboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.