---
title: "Validate URL for dataset linking"
method: POST
path: "/datasets/validate-url"
tags: ["datasets"]
---

# Validate URL for dataset linking

`POST /datasets/validate-url`

Validates that a remote dataset URL is accessible and returns a supported CSV/TSV format, without creating a dataset.

## Query parameters

- `workspaceId` integer, nullable

## Request body

- ValidateUrlRequest
  - `url` string

## Response `200`

OK

- ValidateUrlResponse
  - `contentLength` integer
  - `errorCode` string
  - `errorMessage` string
  - `hasEtag` boolean
  - `mediaType` string
  - `valid` boolean

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
