Generate
GET
/api/unmanaged/{kind}/{name}
const url = 'https://kelpie.example.com/api/unmanaged/swarm/example';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://kelpie.example.com/api/unmanaged/swarm/exampleA compose file rebuilt from what runs, as a starting point for adding the stack.
When Kelpie has an age key, values that look like passwords, keys, or tokens are
replaced by ${NAME} and go to the stack’s encrypted secrets.env on adoption.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”kind
required
Kind
string
name
required
Name
string
Query Parameters
Section titled “Query Parameters”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
GeneratedOut
object
compose
required
Compose
string
notes
required
Notes
Array<string>
secrets
required
Secrets
Array<string>
own
required
Own
boolean
Example generated
{ "compose": "example", "notes": [ "example" ], "secrets": [ "example" ], "own": true}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}