Yera Get

The get command reads and prints resolved configuration values, stored objects, and credential data. It covers the full breadth of Yera's config surface — settings, hubs, providers, profiles, models, and credentials — and always prints the fully resolved value rather than the raw file contents. Use get to verify what Yera will actually see at runtime, or to script config inspection in CI.

yera get

Get config entries and Yera object data.

yera get setting

Print the resolved value of a single setting.

yera get setting SETTING_NAME

Arguments

SETTING_NAME
type: str (required)

Settings field name: one of enable_telemetry, log_level, max_retries, timeout_seconds. The printed value is fully resolved (pyproject.tomlyera.toml → model defaults).

yera get settings

Print all resolved settings and the resolved default hub name.

yera get settings

yera get hub

Print one hub's config as JSON.

Args:
    hub_name: Hub name to inspect. If omitted, uses the resolved default hub
        (``pyproject.toml`` ``[tool.yera] hub``, then ``yera.toml``
        ``[hubs] default``).
yera get hub [HUB_NAME]

Arguments

HUB_NAME
type: str = None

Hub name to inspect. If omitted, uses the resolved default hub (pyproject.toml [tool.yera] hub, then yera.toml [hubs] default).

yera get hubs

Print every hub entry from config as JSON.

yera get hubs

yera get cred-group

Show active credential group or inspect a named group's metadata.

Args:
    name: Credential group name to inspect. If omitted, prints the active
        group name. If provided, prints the named group's metadata as JSON.
yera get cred-group [NAME]

Arguments

NAME
type: str = None

Credential group name to inspect. If omitted, prints the active group name. If provided, prints the named group's metadata as JSON.

yera get providers

Print all configured providers as JSON.

yera get providers

yera get cred-groups

List all credential groups with credential counts and authorised roots.

yera get cred-groups

yera get cred

Print the plain value of a single credential leaf.

Args:
    key: Exact dotted leaf key.
    allow_missing: Exit 0 and print nothing if the key is absent.
yera get cred KEY [--allow-missing]

Arguments

KEY
type: str (required)

Exact dotted leaf key.

Options

--allow-missing
type: bool = False

Exit 0 and print nothing if the key is absent.

yera get creds

Inspect credentials for the active credential group.

Args:
    path: Dotted path prefix to scope the output. Omit for all credentials
        in the active group.
    keys_only: Print key names only.
    reveal: Show real credential values instead of ``***``.
yera get creds [PATH] [--keys-only] [--reveal]

Arguments

PATH
type: str = None

Dotted path prefix to scope the output. Omit for all credentials in the active group.

Options

--keys-only
type: bool = False

Print key names only.

--reveal
type: bool = False

Show real credential values instead of ***.

yera get provider

Print one provider's config including all connections as JSON.

Args:
    provider_type: Provider type to inspect. Must be a configured provider.
yera get provider PROVIDER_TYPE

Arguments

PROVIDER_TYPE
type: Literal (required)
choices: anthropic, openai, aws, azure, ollama, llama_cpp

Provider type to inspect.

yera get profile

Print the currently active Yera profile as JSON.

yera get profile

yera get profiles

Print all configured Yera profiles as JSON.

yera get profiles

yera get model

Print all entries for a model id visible under the active Yera profile as JSON.

Since the same model id can exist under multiple connections, all matching
entries visible in the active profile are printed.

Args:
    model_id: Yera-internal dot-delimited model id, e.g. ``aws.meta.llama3``.
yera get model MODEL_ID

Arguments

MODEL_ID
type: str (required)

Yera model id, e.g. aws.meta.llama3.

yera get models

Print all models visible under the active Yera profile as JSON.

Args:
    model_type: If set, only models of this type are returned.
yera get models [MODEL_TYPE]

Arguments

MODEL_TYPE
type: Literal = None
choices: llm, embedding, tts, stt, reranker

Filter by model type.