Get complete scan data (consolidated endpoint)

GET https://app.cyrion.ai/api/scans/{run_name}/full

Get complete scan data in a single request - optimized for page load.

This endpoint combines what would normally be 4+ separate API calls:

  • GET /api/scans/{run_name} (scan details)
  • GET /api/scans/{run_name}/agents (all agents)
  • GET /api/scans/{run_name}/executions (tool executions)
  • GET /api/scans/{run_name}/vulnerabilities (vulnerabilities)

Benefits:

  • Single ownership verification (instead of 4)
  • Reduced network round trips
  • Faster page load times
  • Lower server load

Requires authentication. Users can only access their own scans.

Path parameters

  • run_name (string, required)

Query parameters

  • executions_limit (integer): Max tool executions to return on initial load. No hard ceiling — callers may request more; remaining executions are reachable via the paginated /scans/{run_name}/executions endpoint.
  • include_output (boolean): Return full, untruncated tool output for every execution. Off by default: output is ~98% of this response's size, and the list view renders only a collapsed summary, so each row instead carries a preview plus result_truncated/result_size, with the full body available from /scans/{run_name}/executions/{execution_id}. Enable only for callers that need every byte in one response, such as exports and report generation.

Responses

  • 200 Successful Response
  • 422 Validation Error