---
title: "Uploads a log file to the cloud storage and links it to the log run.
If logFileId is provided, the file is linked to the existing BDMS.Models.LogFile instead of creating a new one."
method: POST
path: "/api/v{version}/log/upload"
tags: ["Log"]
---

# Uploads a log file to the cloud storage and links it to the log run.
If logFileId is provided, the file is linked to the existing BDMS.Models.LogFile instead of creating a new one.

`POST /api/v{version}/log/upload`

## Path parameters

- `version` string, required

## Query parameters

- `logRunId` integer
- `logFileId` integer

## Response `200`

OK

---

[API](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2.md) · [All operations](https://skmtc.net/geoadmin/apis/boreholes-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/geoadmin/boreholes-rest-api-v2/revisions/e6d0b4ee0f52/schema)
