---
title: "GET /entries/mapTrsToolId"
method: GET
path: "/entries/mapTrsToolId"
tags: ["entries"]
---

# GET /entries/mapTrsToolId

`GET /entries/mapTrsToolId`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/entries/mapTrsToolId`
- Auth: none declared

Retrieves the ID of the published entry that corresponds to the specified TRS tool ID.

## Query parameters

- `trsToolId` string, required

## Response `200`

Successfully retrieved entry ID

- EntryAndVersionIds: The Dockstore entry ID and, if applicable, version ID that correspond to a TRS ID
  - `entryId` integer, required: Dockstore entry ID
  - `versionId` integer: Dockstore version ID, present only if a TRS version ID was mapped

## Other responses

- `404`: No published entry corresponds to the TRS tool ID

## Changes

- **2026-10-01** `246e2634d6fc`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dockstore/apis/dockstore-api/changes/entries/mapTrsToolId/get.md)

---

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