Skip to content
SoulFire LogoSoulFire

List scripts

GET
/v1/instances/{instance_id}/scripts

Lists all scripts in the specified instance. Returns summary information (ScriptInfo) without full node/edge data to reduce response size.

Authorization

headerAuthorizationBearer <JWT>

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

Path Parameters

instance_id*string

The instance to list scripts from. Format: UUID string.

Formatuuid

Response Body

Response containing the list of scripts.

application/json
  1. response

Response containing the list of scripts.

scripts*array<>

Summary information for each script in the instance. Does not include full node/edge data to reduce payload size.

Example Request
curl -X GET 'http://127.0.0.1:38765/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/scripts'
Example Response
{
  "scripts": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "description": "string",
      "instanceId": "64d2028c-ae87-4069-a624-66089d957ef9",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "paused": true
    }
  ]
}

Was this page helpful?