Skip to main content
GET
Get CLI
Get a saved CLI configuration without secret values. The sealed field lists stored secret names.
See error examples and recovery steps. The complete OpenAPI contract includes every response schema.

Authorizations

Authorization
string
header
required

The server's token (MIRAGE_AUTH_TOKEN) or a JWT. A daemon in the default local mode with no token accepts requests without one.

Path Parameters

ref
string
required

Saved configuration name.

Response

200 - application/json

OK

id
string
required

Configuration ID. On the OSS server, this equals the name.

name
string
required
kind
enum<string>
required
Available options:
vfs,
cli,
machine
type
string
required

The VFS, CLI or machine type, such as s3.

builtin
boolean
required
config
object
required

Non-secret configuration values. Secret values are omitted.

sealed
string[]
required

Names of stored secret fields. Secret values are omitted.

created_by
string | null
created_at
string<date-time> | null
updated_at
string<date-time> | null