> ## Documentation Index
> Fetch the complete documentation index at: https://lightsage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Download Plugin Eval Results

> Downloads one plugin's results for a day as a zip: every run with and without the plugin installed, plus the insights report written from them. Use the `download_url` from the results list: it works without an API key for 15 minutes, so any HTTP client or agent can fetch it. Without the link's token, send your API key. Returns 404 when no results exist for the date and 403 when the link has expired.



## OpenAPI

````yaml /openapi.json get /v2/plugin-evals/results/{date}/{plugin}/download
openapi: 3.1.0
info:
  title: Lightsage Public API
  description: Public API for Lightsage CLI and external integrations.
  version: 1.0.0
servers:
  - url: https://api.lightsage.com
    description: Production
security: []
tags:
  - name: Status
    description: Check API availability and validate the calling API key.
  - name: Visibility
    description: >-
      Measure visibility, citations, competitors, and prompt performance across
      answer platforms.
  - name: Prompts
    description: Manage tracked prompts and topics, and inspect their stored runs.
  - name: Opportunities
    description: Review ranked opportunities computed from prompt visibility results.
  - name: Tasks
    description: Manage the persisted action queue and task lifecycle.
  - name: Library
    description: >-
      Track the pages you publish and the redirects you set up: their AI answer
      citations and agent visits per day, and whether each is helping.
  - name: Site Audits
    description: Review website audit results and page-level findings.
  - name: Agent Analytics
    description: >-
      See which coding agents, AI bots, and people visit your tracked sites,
      which pages they read, which pages return errors, and where the visits
      come from.
  - name: Evals
    description: Define eval tasks, judges, subjects, and saved configurations.
  - name: Eval Templates
    description: >-
      Select reusable judges, targets, schedules, metadata, and runtime settings
      with `POST /v2/eval-templates`, then copy only those settings into
      prompt-specific evals with `POST /v2/evals/batch`. Templates never contain
      prompts and remain independent from evals created from them.
  - name: Eval Runs
    description: Start eval runs and inspect their lifecycle state.
  - name: Eval Results
    description: Review completed eval outcomes and diagnostic details.
  - name: Agent Preference
    description: >-
      Compare your company head-to-head with a tracked competitor. Create a
      comparison with `POST /v2/agent-preference/evals`, run it with `POST
      /v2/eval-runs`, then read which company agents recommended.
  - name: Plugin Evals
    description: >-
      Download a day's ChatGPT plugin eval results: every run with and without
      the plugin, plus its insights report.
  - name: Agents
    description: List runnable coding-agent harness and model combinations.
  - name: Repositories
    description: Manage reusable Git repository workspaces.
  - name: Environments
    description: List reusable runtime environments without exposing secret values.
  - name: MCP Servers
    description: List reusable MCP server integrations without exposing credentials.
  - name: CLIs
    description: List reusable command-line interfaces without exposing setup commands.
  - name: Skills
    description: List reusable skills available to workflows and evals.
paths:
  /v2/plugin-evals/results/{date}/{plugin}/download:
    get:
      tags:
        - Plugin Evals
      summary: Download Plugin Eval Results
      description: >-
        Downloads one plugin's results for a day as a zip: every run with and
        without the plugin installed, plus the insights report written from
        them. Use the `download_url` from the results list: it works without an
        API key for 15 minutes, so any HTTP client or agent can fetch it.
        Without the link's token, send your API key. Returns 404 when no results
        exist for the date and 403 when the link has expired.
      operationId: v2_plugin_evals_results_download
      parameters:
        - name: date
          in: path
          required: true
          schema:
            type: string
            format: date
            title: Date
          description: The day of the results, as YYYY-MM-DD (UTC).
        - name: plugin
          in: path
          required: true
          schema:
            type: string
            maxLength: 50
            title: Plugin
          description: The plugin from the results list, such as `firecrawl`.
        - name: token
          in: query
          required: false
          schema:
            type: string
            maxLength: 1000
            title: Token
          description: >-
            The signed token from a `download_url`. With it, no API key is
            needed; without it, send your API key.
      responses:
        '200':
          description: The zip of the day's runs and their insights report.
          content:
            application/zip:
              schema:
                type: string
                format: binary
        '403':
          description: The download link has expired or is not valid.
          content:
            application/json:
              example:
                detail: >-
                  This download link has expired or is not valid. Get a new link
                  from the plugin eval results list.
        '404':
          description: No plugin eval results exist for that date.
          content:
            application/json:
              example:
                detail: >-
                  Plugin eval results for 2026-11-07 do not exist. Contact
                  support if you think this is an error.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '503':
          description: The download could not be started.
          content:
            application/json:
              example:
                detail: >-
                  The download is not available right now. Try again in a few
                  minutes.
      security:
        - LightsageApiKeyAuth: []
        - {}
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    LightsageApiKeyAuth:
      type: apiKey
      in: header
      name: X-Lightsage-Api-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.