List the agent CLI presets and whether each CLI is installed (REQ-102).
GET
/admin/presets
const url = 'https://example.com/api/v1/admin/presets';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/admin/presetsResponses
Section titled “ Responses ”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" } ]}default
Section titled “default”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"}