List a MotherDuck user’s instance settings

Source: R/api.R

Retrieves configuration and instance-level settings for a specified MotherDuck user, returning the results as a tidy tibble.

Usage

list_md_user_instance(user_name)

Arguments

user_name

A character string specifying the MotherDuck user name whose tokens should be listed.

Value

A tibble with two columns:

  • instance_desc: names or descriptions of instance configuration settings.

  • instance_values: corresponding values for each configuration field.

Details

This function calls the MotherDuck REST API endpoint ⁠https://api.motherduck.com/v1/users/{user_name}/instances⁠ to fetch information about the user’s active DuckDB instances and their configuration parameters.

Uses the token from the MOTHERDUCK_TOKEN environment variable for authorization.

See Also

Other db-api: configure_md_user_settings(), create_md_access_token(), create_md_user(), delete_md_access_token(), delete_md_user(), list_md_active_accounts(), list_md_user_tokens(), show_current_user()

Examples

# List instance settings for a specific user
instance_tbl <- list_md_user_instance(user_name = "bob_smith")