Skip to main content
3-Newcomer
February 26, 2026
Solved

Retrieving items belonging to a specific baseline using Rest API

  • February 26, 2026
  • 3 replies
  • 142 views

Dear Support!

We are using Codebeamer 2.0.0.0

We would like to retrieve all the items of a specific tracker that are associated with a specific baseline using Rest API.

Is this possible?

Can you provide a "URL-template" for this?

 

Thank you in advance!

Best answer by cristina.b

Hello @IV_10178511 ,

 

1. You can use: "GET /v3/trackers/{trackerId}/baselines" endpoint to obtain the list of baselines for each tracker.

2. To get all items in a baseline for a Project, you could use, for example, "GET" or "POST /v3/items/query" in combination with a "baselineId" and "queryString" like e.g. project.id IN (4).

 

Request body example:

{
"baselineId": 1234,
"page": 1,
"pageSize": 50,
"queryString": "priority='Normal'"
}

 

Best Regards,

Cristina

3 replies

3-Newcomer
March 2, 2026

An additional question: in case this would not be possible with our current version, can this be done with a higher version of Codebeamer?

Catalina
Community Moderator
March 5, 2026

Hi @IV_10178511 

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do.

 

Best regards,

Catalina | PTC Community Moderator
13-Aquamarine
March 5, 2026

Hello @IV_10178511 ,

 

1. You can use: "GET /v3/trackers/{trackerId}/baselines" endpoint to obtain the list of baselines for each tracker.

2. To get all items in a baseline for a Project, you could use, for example, "GET" or "POST /v3/items/query" in combination with a "baselineId" and "queryString" like e.g. project.id IN (4).

 

Request body example:

{
"baselineId": 1234,
"page": 1,
"pageSize": 50,
"queryString": "priority='Normal'"
}

 

Best Regards,

Cristina