GET
/
api
/
runs
/
{id}
Fetch one execution
curl --request GET \
  --url https://api.jinbatrail.indx.jp/api/runs/{id} \
  --cookie jt_session=
import requests

url = "https://api.jinbatrail.indx.jp/api/runs/{id}"

headers = {"cookie": "jt_session="}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {cookie: 'jt_session='}};

fetch('https://api.jinbatrail.indx.jp/api/runs/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.jinbatrail.indx.jp/api/runs/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_COOKIE => "jt_session=",
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.jinbatrail.indx.jp/api/runs/{id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("cookie", "jt_session=")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.jinbatrail.indx.jp/api/runs/{id}")
.header("cookie", "jt_session=")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.jinbatrail.indx.jp/api/runs/{id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["cookie"] = 'jt_session='

response = http.request(request)
puts response.read_body
{
  "ref": {
    "id": "<string>",
    "automation_id": "<string>",
    "automation_name": "<string>",
    "sdk_run_id": "<string>",
    "caller": "<string>",
    "status": "<string>",
    "duration_ms": 123,
    "started_at": "<string>"
  },
  "run": {
    "id": "<string>",
    "flow_digest": "<string>",
    "started_at": "<string>",
    "journal": [
      {
        "at": "<string>",
        "step": "<string>",
        "flow_digest": "<string>",
        "inputs_digest": "<string>",
        "attempt": 123,
        "output_digest": "<string>",
        "error": {
          "code": "tool.http.timeout",
          "message": "<string>",
          "retryable": true,
          "step": "<string>",
          "cause_digest": "<string>"
        },
        "reason": "<string>",
        "key": "<string>",
        "result_digest": "<string>"
      }
    ],
    "finished_at": "<string>",
    "output": "<unknown>"
  },
  "journal": [
    {
      "at": "<string>",
      "step": "<string>",
      "flow_digest": "<string>",
      "inputs_digest": "<string>",
      "attempt": 123,
      "output_digest": "<string>",
      "error": {
        "code": "tool.http.timeout",
        "message": "<string>",
        "retryable": true,
        "step": "<string>",
        "cause_digest": "<string>"
      },
      "reason": "<string>",
      "key": "<string>",
      "result_digest": "<string>"
    }
  ]
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}

承認

jt_session
string
cookie
必須

The dashboard's signed, HttpOnly session cookie (packages/service/src/auth.ts): base64url(payload).base64url(hmac-sha256), absolute 30-day lifetime, SameSite=Lax, Secure on any TLS deployment. Minted by POST /api/auth/signup or POST /api/auth/login (or, outside production, auto-provisioned by GET /api/session). Because it is HttpOnly, it cannot be read or attached by a browser-based API-reference "Try it" panel across origins — exercise these routes with a real logged-in browser session or a cookie-jar HTTP client.

パスパラメータ

id
string
必須

The run_ref id, or the engine run_id.

レスポンス

The execution's header, engine Run, and Journal.

ref
object
必須

One denormalized executions-index row — the wrapper's pointer into the engine's run store, never a copy of the Run itself.

run
object
必須

The engine's Run object, dereferenced by a run_ref's sdk_run_id — the SAME shape as the OSS API's Run (openapi.json).

journal
object[]
必須