curl --request GET \
--url https://api.verify.privue.ai/verifications/gated-runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verify.privue.ai/verifications/gated-runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verify.privue.ai/verifications/gated-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": 8,
"workflows": [
{
"workflow_key": "merchant-onboarding",
"total": 6,
"gates": [
{
"step_key": "already-a-dealer",
"stopped": 4
},
{
"step_key": "gst-onboarded",
"stopped": 2
}
]
},
{
"workflow_key": "vendor-verification",
"total": 2,
"gates": [
{
"step_key": "gst-onboarded",
"stopped": 2
}
]
}
]
}{
"code": "unauthenticated",
"detail": "Missing or malformed Authorization header"
}{
"code": "client-not-enrolled",
"detail": "no active verification client 4b8f21c6-59ad-4a70-9e11-7c3d0a52f8b4"
}{
"code": "window-invalid",
"detail": "from: must not be after to"
}{
"code": "rate-limited",
"detail": "Unauthorized: RATE_LIMITED"
}{
"code": "auth-unavailable",
"detail": "Auth provider unavailable"
}Count your gated runs
Count the runs a check of yours stopped, in total, per workflow and per gate that stopped them.
Every time one of your gate-check steps stopped a journey is counted once, whether your system answered terminate or redirect or gave no answer and the workflow fell back to terminate, and however the verification has moved on since. A verification you reset after its gate stopped it is still counted for that run, and one stopped again on the run the reset began is counted again, each run being a run of its own. A gated verification that has since expired or been purged is counted too.
Narrow it to a period with from and to. Those are read against the day the gate stopped each run, so a period counts the stops made in it, whenever the verification behind one was created.
This differs from gated in the verification summary, which counts the verifications standing in that status now, by the day each was created.
curl --request GET \
--url https://api.verify.privue.ai/verifications/gated-runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.verify.privue.ai/verifications/gated-runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.verify.privue.ai/verifications/gated-runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"total": 8,
"workflows": [
{
"workflow_key": "merchant-onboarding",
"total": 6,
"gates": [
{
"step_key": "already-a-dealer",
"stopped": 4
},
{
"step_key": "gst-onboarded",
"stopped": 2
}
]
},
{
"workflow_key": "vendor-verification",
"total": 2,
"gates": [
{
"step_key": "gst-onboarded",
"stopped": 2
}
]
}
]
}{
"code": "unauthenticated",
"detail": "Missing or malformed Authorization header"
}{
"code": "client-not-enrolled",
"detail": "no active verification client 4b8f21c6-59ad-4a70-9e11-7c3d0a52f8b4"
}{
"code": "window-invalid",
"detail": "from: must not be after to"
}{
"code": "rate-limited",
"detail": "Unauthorized: RATE_LIMITED"
}{
"code": "auth-unavailable",
"detail": "Auth provider unavailable"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
First day to include, in IST, inclusive.
Last day to include, in IST, inclusive.
Response
The runs your checks stopped, in total, per workflow and per gate.
How many runs a check of yours stopped, in total and per workflow.
Runs stopped across all your workflows, which is the sum of workflows.
The same runs counted per workflow, ordered by key. A workflow appears once one of its gates has stopped a run in what was counted, so a workflow whose gates stopped nothing is absent.
Show child attributes
Show child attributes
