---
title: "Upload Hosted Evaluation Logs Route"
method: PUT
path: "/api/v1/hosted-evaluations/{evaluation_id}/logs"
tags: ["hosted-evaluations"]
---

# Upload Hosted Evaluation Logs Route

`PUT /api/v1/hosted-evaluations/{evaluation_id}/logs`

## Request

- Base URL: `https://api.primeintellect.ai`
- URL: `https://api.primeintellect.ai/api/v1/hosted-evaluations/{evaluation_id}/logs`
- Auth: HTTP bearer

Store the runner's final log. Called by the hosted-eval sandbox itself as it
exits, with the run's own key; a VM sandbox is gone before the exit webhook.

## Path parameters

- `evaluation_id` string, required

## Request body

- UploadHostedEvaluationLogsRequest: The runner's final log, sent by the sandbox as it exits.
  - `logs` string, required

## Response `200`

Successful Response

- UploadHostedEvaluationLogsResponse
  - `success` boolean, required
  - `evaluation_id` string, required

## Other responses

- `401`: Authorization failed
- `422`: Invalid request data

## Changes

> 49 revisions in range; 1 not diffed.

- **2026-09-17** `2d6c59eaa4e5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/primeintellect/apis/pi-api/changes/api/v1/hosted-evaluations/:evaluation_id/logs/put.md)

---

[API](https://skmtc.dev/primeintellect/apis/pi-api.md) - [All operations](https://skmtc.dev/primeintellect/apis/pi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primeintellect/apis/pi-api/revisions/7f032a9306b0?raw)
