--- title: "Retrieve a live component's values" canonical: "https://admiral.io/docs/api/projects/EnvironmentAPI_GetEnvironmentComponentValues" --- # Retrieve a live component's values `GET https://api.admiral.io/v1/projects/{project}/environments/{environment}/components/{component}/values` - NOT_FOUND when no live component has that name. Scope: `env:read` ### Path parameters - `project` (string, required): The project id. - `environment` (string, required): The environment id. - `component` (string, required): The component id. ### Query parameters - `effective` (boolean): Return the whole tree it receives, not only the values set on it. ### Response 200 Success - `tree_json` (string): A JSON object. - `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`. - `last_apply` (LastApply): The apply that last changed it. - `change_set_id` (string): The change set that was applied. Pattern `^cs-[0-9a-z]+$`. - `revision_id` (string): The change set revision that was applied. Pattern `^rev-[0-9a-z]+$`. - `applied_at` (Timestamp): When the apply finished. - `run_id` (string): The run whose apply this was. Pattern `^run-[0-9a-z]+$`.