Validate run name
GET/workflow/validate
Check that the given run name of a workflow has a valid format. When the session ID is given: check that no other workflow in the system exists with the combination of both elements.
Request
Query Parameters
runName string
Workflow run name to validate
sessionId string
Workflow session ID to validate
Responses
- 204
- 400
- 403
- 409
OK - No content
Bad request. Invalid run name format
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Operation not allowed
Duplicated element. Existing run name and session ID combination
- application/json
- Schema
- Example (auto)
Schema
messagestringrequired
{
"message": "string"
}
Authorization: http
name: BearerAuthtype: httpscheme: bearerbearerFormat: jwt
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://docs.seqera.io/workflow/validate");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());