Skip to content
SoulFire LogoSoulFire

Get script status

GET
/v1/instances/{instance_id}/scripts/{script_id}/status

Gets the current status of a script. Returns whether the script is active, which node is executing, and activation count.

Authorization

headerAuthorizationBearer <JWT>

Preferred API authentication. Use a JWT with the api audience.

Path Parameters

instance_id*string

The instance containing the script. Format: UUID string.

Formatuuid
script_id*string

The ID of the script to check. Format: UUID string.

Formatuuid

Response Body

Response containing the script's execution status.

application/json
  1. response

Response containing the script's execution status.

status*

The current status of the script.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/scripts/497f6eca-6276-4993-bfeb-53cbbbba6f08/status'
Example Response
{
  "status": {
    "scriptId": "f0627ad0-1039-49a9-8db1-75a1523ed451",
    "isActive": true,
    "activeNodeId": "string",
    "activationCount": "string"
  }
}

Was this page helpful?