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

# GET /entries/mapTrsVersionId

`GET /entries/mapTrsVersionId`

## Request

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

Retrieves the IDs of the published entry and non-hidden version that correspond to the specified TRS version ID.

## Query parameters

- `trsVersionId` string, required

## Response `200`

Successfully retrieved entry and version IDs

- 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 and non-hidden version correspond to the TRS version ID

## Changes

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

[Operation history](https://skmtc.dev/dockstore/apis/dockstore-api/changes/entries/mapTrsVersionId/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)
