List ready-made groups of hosts for internet allowlists
GET
/internet-presets
const url = 'https://api.global.stillbox.example/v1/internet-presets';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.global.stillbox.example/v1/internet-presets \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The presets
Media typeapplication/json
object
presets
required
Array<object>
object
id
required
string
name
required
string
description
required
string
hosts
required
Array<string>
agent_types
required
The agent types this preset is suggested for, e.g. claude-code.
Array<string>
Example generated
{ "presets": [ { "id": "example", "name": "example", "description": "example", "hosts": [ "example" ], "agent_types": [ "example" ] } ]}The API key is missing or invalid
Media typeapplication/json
object
code
required
string
message
required
string
Example
{ "code": "not_found"}