コンテンツへスキップ
Runs

分析ランを取得

GET/api/v1alpha1/runs/{run_id}

1件の分析ラン(Run)の現在の状態を返します。202受付後はこのエンドポイントをpollします。

  • アクセス: alphaを有効にしたAPI keyとVIEW_INSIGHTS権限。
  • 確認する項目: status、summary、nested error object、case_id、report_id。
  • 見つからない場合: 他のワークスペースのrunは、存在しない場合と意図的に区別できません。

検出結果の準備ができたらGET /api/v1alpha1/findings?run_id={run_id}へ進んでください。

認証

apiKey
認証Bearer <token>

場所: header

パスパラメーター

run_id*string

分析ラン(Run)の識別子です。run作成時に返ります。

クエリパラメーター

expand[]?array<>

Optional related data to include:

  • events: timeline event details.
  • events.evidence: evidence attached to each timeline event.
  • evidence: answer evidence details.
  • provenance: curated provenance details.
  • snapshots: stored profile, input, and output snapshot references.
  • content: rendered report content.
  • manifest: report trust bindings and evidence URLs. Expand depth is limited to two path segments. For this endpoint, use snapshots or provenance.

レスポンスボディ

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1alpha1/runs/run_0190b5d4-7e1f-7a2b-9c3d-1234567890ab" \  -H "Authorization: Bearer $DEEPFRAME_API_KEY"
{  "analysis": {    "answer_references": [      {        "answer_id": "ans_0190b5d4-timeline",        "answer_key": "inspection_timeline",        "answer_type": "timeline"      },      {        "answer_id": "ans_0190b5d4-summary",        "answer_key": "inspection_summary",        "answer_type": "synthesis"      }    ],    "execution_profile_ref": "premium-analysis@1",    "limitations": [],    "locale": "ja",    "reason_code": "present",    "request_id": "0190b5d4-7e1f-7a2b-9c3d-1234567890ab",    "result_id": "result_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",    "result_state": "found",    "source_ids": [      "vid_0190b5d4-7e1f-7a2b-9c3d-1234567890ab"    ],    "sub_state": "completed"  },  "created_at": "2026-08-21T09:00:00.000Z",  "id": "run_0190b5d4-7e1f-7a2b-9c3d-1234567890ab",  "kind": "analysis",  "status": "completed",  "updated_at": "2026-08-21T09:04:30.000Z"}