pydo.signals.get_consent()
Generated on 13 Nov 2026
from pydo version
v0.46.0
Usage
client.signals.get_consent(
environment_id="019fb3d2-8a56-72cc-8bf9-9d21510b2a99",
)Description
To retrieve the consent record for a specific environment, send a GET
request to /v1/consent/{environment_id}. The response includes an enabled
field indicating whether signals collection is on for this environment.
This endpoint only serves per-environment (source: agent) records. Team-level
inference consent is read from GET /v1/consent?source=inference.
Parameters
environment_idstring requiredA unique identifier for an environment. For Harness Runtime, this is the Environment Config ID. Formerly named agent_id.
Response Example
More Information
See /v1/consent/{environment_id} in the API reference for additional detail on responses, headers, parameters, and more.