コンテンツへスキップ
Runs

Read named analysis answers

GET/api/v1alpha1/runs/{run_id}/answers

Returns the named answers produced by an analysis run.

認証

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 events, events.evidence, evidence, 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/answers" \  -H "Authorization: Bearer $DEEPFRAME_API_KEY"
{  "data": [    {      "coverage": {        "scope": "full_video",        "state": "complete"      },      "event_count": 1,      "evidence_count": 1,      "id": "ans_0190b5d4-timeline",      "key": "inspection_timeline",      "provenance": {        "execution_profile": "premium-analysis@1",        "provenance_ref": "prov_0190b5d4-analysis",        "request_id": "0190b5d4-7e1f-7a2b-9c3d-1234567890ab",        "usage": {          "input_tokens": 24008,          "output_tokens": 5388        }      },      "result_state": "found",      "type": "timeline"    },    {      "coverage": {        "scope": "full_video",        "state": "complete"      },      "event_count": 0,      "evidence_count": 1,      "id": "ans_0190b5d4-summary",      "key": "inspection_summary",      "provenance": {        "execution_profile": "premium-analysis@1",        "provenance_ref": "prov_0190b5d4-analysis",        "request_id": "0190b5d4-7e1f-7a2b-9c3d-1234567890ab",        "usage": {          "input_tokens": 24008,          "output_tokens": 5388        }      },      "result_state": "found",      "type": "synthesis"    }  ],  "has_more": false,  "next_cursor": null}