Scripts

Get script by ID

Retrieves a specific script by its ID

get/v1/scripts/{script_id}

Path parameters

script_idstring required

The unique identifier of the script

Example:s_abc123

The unique identifier of the script

Headers

x-api-keystring nullable

Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

Skyvern API key for authentication. API key can be found at https://app.skyvern.com/settings.

Response

Successful Response

script_revision_idstring required

Unique identifier for this specific script revision

script_idstring required

User-facing script identifier, consistent across versions

organization_idstring required

ID of the organization that owns this script

run_idstring nullable

ID of the workflow run or task run that generated this script

versioninteger required

Version number of the script

created_atstring date-time required

Timestamp when the script was created

modified_atstring date-time required

Timestamp when the script was last modified

deleted_atstring date-time nullable

Timestamp when the script was soft deleted

Changes

Changed in 2 of the 86 revisions of this API.25

    • response property deleted_at list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • response property run_id list-of-types was widened by adding types null to media type application/json of response 200

      response-property-list-of-types-widened

    • header request parameter x-api-key list-of-types was widened by adding types null

      request-parameter-list-of-types-widened

    • for the header request parameter x-api-key, the type was generalized from string to no type

      request-parameter-type-generalized

    • added the optional property // to the response with the status

      response-optional-property-added

    • added the optional property // to the response with the status

      response-optional-property-added

    This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog