Forum Discussion
jaylvee
Nov 10, 2023Copper Contributor
REST API example for Check Configurations Query - Check Task
The REST call for this is documented here - https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/query?view=azure-devops-rest-7.2&tabs=HTTP However, the...
Kidd_Ip
Jul 21, 2025MVP
How about this:
For querying check configurations using the REST API:
POST https://dev.azure.com/{organization}/{project}/_apis/pipelines/check-configurations/query?api-version=7.2-preview.1
Content-Type: application/json
Authorization: Bearer {PAT or System.AccessToken}
Request Body:
{
"type": "CheckTask",
"resourceType": "pipeline",
"resourceId": "{pipelineId}"
}
Replace {pipelineId} with the actual pipeline ID where the gate is configured.