--- title: "Retrieve a component's values" canonical: "https://admiral.io/docs/api/changesets/ChangeSetAPI_GetComponentValues" --- # Retrieve a component's values `GET https://api.admiral.io/v1/changesets/{change_set_id}/components/{component}/values` Scope: `changeset:read` ### Path parameters - `change_set_id` (string, required): The change_set_id path parameter. Pattern `^cs-[0-9a-z]+$`. - `component` (string, required): The component path parameter. Pattern `^[a-z]([a-z0-9-]{0,51}[a-z0-9])?$`. Length 1 to 53. ### Query parameters - `effective` (boolean): Return the whole tree the component will receive: its own defaults, the organization's baseline, what the environment runs with, then this change set's edits. An upload never uses this view. ### Response 200 Success - `tree_json` (string): A JSON object. - `base_digest` (string): The values the change set started from; empty for a component it adds. - `result_digest` (string) - `head_revision` (integer (int32)) - `sources` (array of ValueSource): With `effective`, where each leaf came from; empty otherwise. - `path` (array of PathSegment) - `key` (string, required): Length 1 to 256. - `origin` (Origin): Origin is the layer a value came from, lowest first: each layer is laid over the ones before it. One of `ORIGIN_UNSPECIFIED`, `ORIGIN_COMPONENT_DEFAULT`, `ORIGIN_BASELINE`, `ORIGIN_ENVIRONMENT`, `ORIGIN_CHANGE_SET`.