---
title: "Run mapper code with trace ID"
method: POST
path: "/api/v1/etl-jobs/run-mapper"
tags: ["ETL Jobs"]
---

# Run mapper code with trace ID

`POST /api/v1/etl-jobs/run-mapper`

## Request

- Base URL: `https://dev.noveum.ai`
- URL: `https://dev.noveum.ai/api/v1/etl-jobs/run-mapper`
- Auth: API key in cookie `apiKeyCookie` and HTTP bearer

Run mapper code with trace ID

## Query parameters

- `organizationId` string
- `organizationSlug` string
- `projectId` string
- `environment` string

## Request body

- object
  - `mapperCode` string, required
  - `traceId` string, required

## Response `200`

Returns the transformed data

- object
  - `success` boolean, required
  - `output` unknown
  - `error` string
  - `executionTime` number, required

## Other responses

- `201`: Created
- `400`: Invalid request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Trace not found
- `409`: Conflict
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/noveum/apis/noveum-api.md) · [All operations](https://skmtc.dev/noveum/apis/noveum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/noveum/apis/noveum-api/revisions/1745e27f38d0?raw)
