--- title: "Retrieve a component's values" canonical: "https://admiral.io/docs/api/projects/ChangeSetAPI_GetComponentValues" --- # Retrieve a component's values `GET https://api.admiral.io/v1/projects/{project}/environments/{environment}/changesets/{changeset}/components/{component}/values` - NOT_FOUND when the change set has no such component. Scope: `changeset:read` ### Path parameters - `project` (string, required): The project id. - `environment` (string, required): The environment id. - `changeset` (string, required): The changeset id. - `component` (string, required): The component id. ### 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_segments` (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`, `COMPONENT_DEFAULT`, `BASELINE`, `ENVIRONMENT`, `CHANGE_SET`.