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

# Download one exported artifact

> Returns the bytes of one artifact named in the export receipt. The artifact's sha256 in the receipt verifies the body.



## OpenAPI

````yaml /contract/openapi.yaml get /runs/{id}/exports/{export_id}/artifacts/{format}
openapi: 3.1.0
info:
  title: Porch Light API
  version: 0.1.0
  summary: >-
    The shared contract every Porch Light agent builds against. Country
    agnostic: everything US specific sits behind the country adapter interface
    in contract/adapter.md.
  description: >-
    Porch Light takes a weather alert in, builds the warning area, ranks the
    facilities inside it with a fixed transparent formula, and returns a call
    sheet where every row carries its evidence trail. Zetaris is the only data
    path. Meterless is the only model path. Nemotron explains, the formula
    ranks.
  license:
    name: AGPL-3.0
servers: []
security:
  - bearerAuth: []
tags:
  - name: alerts
  - name: runs
  - name: health
paths:
  /runs/{id}/exports/{export_id}/artifacts/{format}:
    get:
      tags:
        - runs
      summary: Download one exported artifact
      description: >-
        Returns the bytes of one artifact named in the export receipt. The
        artifact's sha256 in the receipt verifies the body.
      operationId: getExportArtifact
      parameters:
        - $ref: '#/components/parameters/RunId'
        - name: export_id
          in: path
          required: true
          schema:
            type: string
        - name: format
          in: path
          required: true
          schema:
            type: string
            enum:
              - csv
              - print_sheet
              - call_script
      responses:
        '200':
          description: The artifact bytes
          content:
            text/csv: {}
            text/html: {}
            text/plain: {}
        '404':
          description: No such run, export or artifact
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  parameters:
    RunId:
      name: id
      in: path
      required: true
      schema:
        type: string
        example: run_milton_12081_mock
  schemas:
    ApiError:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
            detail: {}
            retry_after_ms:
              type: integer
    ErrorCode:
      type: string
      enum:
        - not_found
        - bad_request
        - no_facilities
        - source_stale
        - zetaris_down
        - meterless_unauthorized
        - meterless_offline
        - timeout
        - export_refused
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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