---
title: "Make Download URL"
method: POST
path: "/siebatchd/v1/siebatch/makeurl"
---

# Make Download URL

`POST /siebatchd/v1/siebatch/makeurl`

## Request

- Base URL: `https://batch.sie-remote.net`
- URL: `https://batch.sie-remote.net/siebatchd/v1/siebatch/makeurl`
- Auth: none required
- TypeScript: <https://skmtc.dev/domaintools/apis/sie-batch-rest-api/docs/siebatchd/v1/siebatch/makeurl/post.ts> (a function with typed inputs; its response is checked against the schema)

Generate a presigned URL to download data associated with a channel
later or independently of the SIE Batch webserver. Generated URLs
are shareable and do not reveal credentials. The seconds portion of
start/end times are ignored.

The requested `start_time`/`end_time` must fall within the
channel's data retention window. Use `chdetails` to check the
`earliest` and `latest` timestamps before generating a URL.
The `makeurl` call itself succeeds even if the requested range
extends beyond available data — the error occurs when
downloading from the returned URL:

- **404 (NoSuchKey)**: The requested data range is outside the
  channel's retention window.
- **403 (Unable to authenticate)**: The generated URL has
  expired. Generate a new URL with `makeurl`.

## Request body

- ChannelTimeRange
  - `apikey` string, password, required: Your Farsight SIE Batch API Key (UUID format)
  - `channel` integer, required: Channel number (1-255)
  - `start_time` string, required: Start date in "YYYY-MM-DD HH:MM:SS" format (UTC)
  - `end_time` string, required: End date in "YYYY-MM-DD HH:MM:SS" format (UTC)

## Response `200`

Presigned download URL generated successfully.

- object
  - `_status` 'OK'
  - `_message` string
  - `url` string, uri: Presigned shareable URL to the specified SIE data

## Other responses

- `403`: Client error (authentication or validation failure)
- `500`: Server error

---

[API](https://skmtc.dev/domaintools/apis/sie-batch-rest-api.md) - [All operations](https://skmtc.dev/domaintools/apis/sie-batch-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/domaintools/apis/sie-batch-rest-api/revisions/de8cf78f1787?raw)
