Skip to content

List the agent CLI presets and whether each CLI is installed (REQ-102).

GET
/admin/presets
curl --request GET \
--url https://example.com/api/v1/admin/presets

The presets.

Media typeapplication/json
object
items
required
Array<object>
object
name
required
string
installed
required
boolean
command
required
Array<string>
verified
required
string
Examplegenerated
{
"items": [
{
"name": "example",
"installed": true,
"command": [
"example"
],
"verified": "example"
}
]
}

An error.

Media typeapplication/problem+json

RFC 9457 problem details with a stable code.

object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required

A stable machine-readable error code.

string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example",
"code": "example"
}