---
title: "Create Custom DirectView Tiles"
method: POST
path: "/createxyz"
tags: ["directView"]
---

# Create Custom DirectView Tiles

`POST /createxyz`

Generate customized XYZ tile URLs with control over band selection and histogram stretching. Returns detailed tile information organized by interval ID and capture date, including tile URLs, bounds, and zoom limits. Authentication required via x-api-key header.

## Request body

- object
  - `pipelineID` string, required — Pipeline identifier to generate tiles for
  - `histogramStretch` string — Histogram stretching method: 'minmax' (simple min/max), 'stdev' (mean ± 2 * std dev, customizable as 'stdev_3'), 'cumulativecutcount' (2-98% cutoff, customizable as 'cumulativecutcount_1_99'). Default: 'stdev'
  - `bandList` string[] — List of band names in desired order (e.g., ['red', 'green', 'blue']). Must match band names from SkyWatch Standard Product metadata.
  - `timeLimit` string — Time-limited access format: '7d' (7 days), '0.5M' (15 days), '1y8M12d16h30m15s' (custom duration), 'never' (no expiry). Coming soon.

## Response `200`

Success

- object
  - `statusCode` integer
  - `body` object — Nested structure organized by interval ID and capture date

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref
- `404` — unresolved $ref
- `500` — unresolved $ref

---

[API](https://skmtc.net/skywatch/apis/api-specification.md) · [All operations](https://skmtc.net/skywatch/apis/api-specification/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skywatch/api-specification/revisions/51f7c5a8d15d/schema)
