---
title: "Create workflow execution trace"
method: POST
path: "/trace/create"
tags: ["trace"]
---

# Create workflow execution trace

`POST /trace/create`

Creates a new workflow execution trace.

## Query parameters

- `workspaceId` integer

## Request body

- TraceCreateRequest
  - `launchId` string
  - `projectName` string
  - `repository` string
  - `runName` string
  - `sessionId` string
  - `workflowId` string

## Response `200`

OK

- TraceCreateResponse
  - `message` string
  - `metadata` TraceCreateMetadata
    - `commitId` string, nullable
    - `computeEnvId` string, nullable
    - `computeEnvName` string, nullable
    - `computeEnvPlatform` string, nullable
    - `labels` string[], nullable
    - `orgName` string, nullable
    - `pipelineId` integer, nullable
    - `pipelineName` string, nullable
    - `revision` string, nullable
    - `userId` integer
    - `userName` string
    - `userOrganization` string, nullable
    - `workspaceFullName` string, nullable
    - `workspaceId` integer, nullable
    - `workspaceName` string, nullable
  - `watchUrl` string
  - `workflowId` string

## Other responses

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

## Changes

> 14 revisions in range; 1 not diffed, 1 could not be searched.

- **2026-04-20** `b2b5cc41d473` — 1 info
  - added the optional property `metadata` to the response with the `200` status
- **2026-03-10** `49c99a6944de` — 1 info
  - added the optional property `watchUrl` to the response with the `200` status

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/trace/create/post.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
