Hello @JAY VORA and welcome to Microsoft Q&A.
I have begun investigation into whether this is possible. First, I have attempted to use annotation in the REST api you linked.
...
"filters":[{
"operand":"annotations",
"operator": "Equals",
"values": ["anno2","IAmAnno"]}]
}
and received an error response
{
"error": {
"code": "InvalidPipelineRunQueryFilterOperand",
"message": "'annotations' is not a valid filter operand. Allowed values are 'PipelineName, Status, RunStart, RunEnd, SandboxId, RunGroupId, LatestOnly, TriggeredByName'.",
"target": null,
"details": null
}
}
This suggests it is not yet possible to query directly on annotations. I will inquire internally to be sure.
This said, it should be possible to locally filter by annotations, the results of a query.
Thank you for your patience.