# Ccdb API : retrieve an object by UUID?

**URL:** <https://alice-talk.web.cern.ch/t/ccdb-api-retrieve-an-object-by-uuid/1244>\
**Category:** O²\
**Created:** [June 16, 2022, 10:07am UTC](https://alice-talk.web.cern.ch/t/ccdb-api-retrieve-an-object-by-uuid/1244 "2022-06-16T10:07:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laphecet](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/laphecet/32/12_2.png) [@laphecet](https://alice-talk.web.cern.ch/u/laphecet)\
**Post date:** [June 16, 2022, 10:07am UTC](https://alice-talk.web.cern.ch/t/ccdb-api-retrieve-an-object-by-uuid/1244/1 "2022-06-16T10:07:49Z")

</div>

Is there a way from the O2 CCDB C++ API to retrieve an object by its UUID ? (in order to inspect/debug multiple objects with the same start of validity range for instance) ?  
e.g the equivalent of :

curl “[http://alice-ccdb.cern.ch/MCH/Calib/LV/1655287935993/49bd0dfb-ecb6-11ec-8000-0aa1229c1b9a](http://alice-ccdb.cern.ch/MCH/Calib/LV/1655287935993/49bd0dfb-ecb6-11ec-8000-0aa1229c1b9a)” --head

curl “[http://alice-ccdb.cern.ch/MCH/Calib/LV/1655287935993/46ab100d-ecb6-11ec-8000-0aa1229c1b9a](http://alice-ccdb.cern.ch/MCH/Calib/LV/1655287935993/46ab100d-ecb6-11ec-8000-0aa1229c1b9a)” --head

---

<div class="post-metadata">

**Author:** ![bvonhall](https://alice-talk.web.cern.ch/user_avatar/alice-talk.web.cern.ch/bvonhall/32/8_2.png) [@bvonhall](https://alice-talk.web.cern.ch/u/bvonhall)\
**Post date:** [June 20, 2022, 6:48am UTC](https://alice-talk.web.cern.ch/t/ccdb-api-retrieve-an-object-by-uuid/1244/2 "2022-06-20T06:48:22Z")

</div>

@grigoras
