Workflows
Steps

Steps

Get all information about a step run

A run is an specific execution of step containing details of the execution.

📖

See the full documentation here.

API

You can get a step run through the API.

This is a GraphQL API so you can fetch as much or as little information as desired from the different queries and mutations.

Queries

workflows > getWorkflows > steps > find_one($id)

Use this query to get a specific step run.

Query
query GetStepRun($id: String!) {
  getWorkflows {
    steps {
      find_one(id: $id) {
        created_at
        finished_at
        id
        input {
          id
          payment_request
          pubkey
          pubkey_info {
            alias
            id
            pubkey
          }
          type
        }
        run {
          id
          result {
            id
            message
            node_channels {
              addresses {
                address
                flags
                id
              }
              chan_id
              id
            }
            node_ips {
              created_at
              flags
              id
              ip_address
              ip_type
              is_current
              is_hosting
              is_proxy
              is_residential_proxy
              is_smartdns
              is_tor
              is_vpn
              is_vpn_datacenter
              isp
              locations {
                city
                country
                country_code
                id
                lat
                lon
              }
              org
              port
              pubkey
              pubkey_info {
                id
                metrics {
                  capacity
                  channels
                  id
                }
                node {
                  alias
                  id
                }
              }
              vpn_service_name
            }
            type
            value_check {
              currency
              exchange_rate
              operator
              original_currency
              original_value
              value
              value_threshold
            }
          }
          status
        }
        step_index
        type
      }
    }
  }
}