---
title: "Update the logs collected from an Edge Job"
method: POST
path: "/endpoints/{id}/edge/jobs/{jobID}/logs"
tags: ["edge_agent"]
---

# Update the logs collected from an Edge Job

`POST /endpoints/{id}/edge/jobs/{jobID}/logs`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/endpoints/{id}/edge/jobs/{jobID}/logs`
- Auth: none declared

**Access policy**: Edge agent only — requires X-PortainerAgent-EdgeID header

## Path parameters

- `id` integer, required
- `jobID` integer, required

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `500`: Internal Server Error

---

[API](https://skmtc.dev/portainer/apis/portainerce-api.md) - [All operations](https://skmtc.dev/portainer/apis/portainerce-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portainer/apis/portainerce-api/revisions/6d8f5cab4e5a?raw)
