get_analyze_status

Function get_analyze_status 

Source
pub fn get_analyze_status(
    execution_id: String,
    client: &Client,
    api_key: &str,
) -> Status
Expand description

Polls the analysis status.

This endpoint should be called periodically until the analysis is complete.

§Arguments

  • execution_id - The execution ID returned by start_analyze.
  • client - A preconfigured reqwest::blocking::Client.
  • api_key - Your CodeDefender API key.

§Returns

An Status enum indicating whether the analysis is ready (with presigned URL), still processing, or failed.