Skip to content

Get criteria DAG

GET
/api/v1/criteria/graph
curl --request GET \
--url 'https://example.com/api/v1/criteria/graph?projectId=00000000-0000-0000-0000-000000000000'
projectId
required

Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.

string
>= 1 characters
Example
00000000-0000-0000-0000-000000000000

Project scope. Required on scoped list and root-create operations; requests without a resolvable project are rejected with 400. There is no default project.

Success

Media type application/json
object
nodes
required
Array<object>
object
id
required
string
prompt
required
string
dependsOn
Array<string>
gates
Array<string>
Allowed values: select build test run deploy
edges
required
Array<object>
object
from
required
string
to
required
string
Example
{
"nodes": [
{
"gates": [
"select"
]
}
]
}