---
updatedAt: 2026-05-28T13:22:33.000Z
agentTools:
  projectIndex: https://api.help.mabl.com/llms.txt
---

# Get a test run artifact export

Get test run artifact exports using the export ID returned by the [create export](https://api.help.mabl.com/reference/createtestrunartifactexport) endpoint. Once the export status is completed, the response includes a temporary signed URL for downloading the artifact ZIP file.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "mabl API",
    "description": "APIs for interacting with mabl services",
    "version": "0.563.3-2026-10-09.1791576280-jbaldassari-1791576682-SNAPSHOT"
  },
  "servers": [
    {
      "url": "https://api.mabl.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      },
      "bearerAuth": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "ErrorResponseGeneric": {
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "minimum": 100,
            "maximum": 599
          },
          "id": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "TestRunArtifactExport": {
        "type": "object",
        "required": [
          "artifact_types"
        ],
        "properties": {
          "workspace_id": {
            "type": "string",
            "description": "Workspace ID",
            "readOnly": true
          },
          "created_time": {
            "type": "integer",
            "format": "int64",
            "description": "Export request time (epoch milliseconds)",
            "readOnly": true
          },
          "test_run_id": {
            "type": "string",
            "description": "ID of the test run exported",
            "readOnly": true
          },
          "artifact_types": {
            "description": "Requested export artifact types",
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "enum": [
                "console_logs",
                "doms",
                "hars",
                "screenshots",
                "traces",
                "xray_json",
                "variables"
              ]
            }
          },
          "last_updated_time": {
            "type": "integer",
            "format": "int64",
            "description": "Export last updated time (epoch milliseconds)",
            "readOnly": true
          },
          "export_signed_url": {
            "type": "string",
            "readOnly": true,
            "description": "Signed download URL (populated when status is completed)"
          },
          "id": {
            "type": "string",
            "description": "Export ID",
            "readOnly": true
          },
          "status": {
            "type": "string",
            "description": "Export status",
            "default": "queued",
            "enum": [
              "queued",
              "running",
              "completed",
              "failed",
              "terminated"
            ],
            "readOnly": true
          }
        }
      }
    },
    "responses": {
      "ErrorResponse": {
        "description": "Unknown error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponseGeneric"
            }
          }
        }
      },
      "ErrorResponse401": {
        "description": "User not authenticated",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponseGeneric"
            }
          }
        }
      },
      "ErrorResponse403": {
        "description": "User not authorized",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponseGeneric"
            }
          }
        }
      },
      "ErrorResponse400": {
        "description": "Invalid or missing parameter",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponseGeneric"
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "basicAuth": []
    },
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/report/runArtifacts/export/{export_id}": {
      "get": {
        "summary": "Get a test run artifact export",
        "operationId": "getTestRunArtifactExport",
        "description": "Get test run artifact exports using the export ID returned by the [create export](https://api.help.mabl.com/reference/createtestrunartifactexport) endpoint. Once the export status is completed, the response includes a temporary signed URL for downloading the artifact ZIP file.",
        "responses": {
          "200": {
            "description": "Test run artifact export description",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestRunArtifactExport"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/ErrorResponse400"
          },
          "401": {
            "$ref": "#/components/responses/ErrorResponse401"
          },
          "403": {
            "$ref": "#/components/responses/ErrorResponse403"
          },
          "404": {
            "description": "The provided ID does not correspond to a valid export",
            "$ref": "#/components/responses/ErrorResponse"
          },
          "default": {
            "description": "Unexpected error",
            "$ref": "#/components/responses/ErrorResponse"
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "in": "path",
            "name": "export_id",
            "description": "The ID for an export",
            "required": true
          }
        ],
        "tags": [
          "Reporting"
        ]
      }
    }
  },
  "tags": [
    {
      "name": "Reporting"
    }
  ]
}
```