---
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

---

[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/revisions/13316c9fe5ff/schema)
