SoulFire LogoSoulFire

List scripts

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

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

AuthorizationBearer <token>

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

In: header

Path Parameters

instance_id*string

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

Response Body

application/json

application/json

application/json

application/json

curl -X GET "http://127.0.0.1:38765/v1/instances/:instance_id/scripts"
{
  "scripts": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "instance_id": "string",
      "created_at": {
        "seconds": 0,
        "nanos": 0
      },
      "updated_at": {
        "seconds": 0,
        "nanos": 0
      },
      "paused": true
    }
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}
{
  "code": 0,
  "grpc-code": "string",
  "message": "string",
  "stack-trace": "string",
  "details": [
    {}
  ]
}

How is this page?