# Get Code Analysis Results

Returns the latest version of code analysis test results for a given test ID.

Endpoint: GET /v1/inspect/analyze/{test_id}
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `test_id` (string, required)
    The ID of the code analysis test we want to check the results for

## Query parameters:

  - `slug` (string)
    Filter results by feature slug

  - `support_type` (string)
    Filter results by support type (y=supported, a=partial, n=not supported, u=unknown)

  - `application_type` (string)
    Filter results by application type (web, mobile, desktop). Only variants belonging to the specified application type will be included in the response.

  - `group_by` (string)
    Group variants by their implementation notes. When set to 'notes', variants within each support level are grouped by their note content. The response structure changes: instead of VariantReference arrays, each support level (y/a/n/u) contains GroupedVariantsByNote objects with 'note' field and 'variants' array. A 'grouped_by' field is added to meta.

## Response 200 fields (application/json):

  - `items` (object, required)
    Test results including detected features and their support data

  - `items.id` (string, required)
    Unique identifier for the test

  - `items.version` (integer, required)
    Version number of this test result

  - `items.features` (array, required)
    List of email features detected in the analyzed HTML

  - `items.features.slug` (string)
    URL-friendly identifier for this feature

  - `items.features.name` (string)
    Name of the email feature

  - `items.features.description` (string | null)
    Detailed information about what this email feature does

  - `items.features.category` (string)
    Machine-readable category code that groups related features

  - `items.features.instances` (array, required)

  - `items.features.instances.id` (string, required)
    Unique identifier for this instance of the feature in the HTML

  - `items.features.instances.line` (integer, required)
    Line number where the feature was found in the HTML source

  - `items.features.instances.column` (integer, required)
    Column number where the feature was found in the HTML source

  - `items.features.instances.resolved` (boolean | null)
    Whether this specific instance has been resolved

  - `items.features.support` (object, required)

  - `items.features.support.y` (array)
    Email clients that fully support this feature

  - `items.features.support.y.id` (string, required)
    Unique identifier for the email client variant (references dictionary variants)

  - `items.features.support.y.notes` (array)
    Additional implementation notes or caveats for this client

  - `items.features.support.a` (array)
    Email clients that partially support this feature

  - `items.features.support.n` (array)
    Email clients that do not support this feature

  - `items.features.support.u` (array)
    Email clients with unknown support for this feature

## Response 401 fields (application/json):

  - `message` (string, required)
    Response message

## Response 404 fields (application/json):

  - `message` (string, required)
    Response message

