pydo.signals.list_consents()

Generated on 13 Nov 2026 from pydo version v0.46.0

Usage

client.signals.list_consents(source=None)
Returns JSON Raises HttpResponseError

Description

To list all signals consent records for your team, send a GET request to /v1/consent. Each record indicates whether signals collection is enabled for a source: per-environment records (source: agent) for Harness Runtime, and the team-level record (source: inference) for Serverless Inference chat completions.

Pass ?source=agent or ?source=inference to return only that source’s records. When filtered, the response also echoes the source.

Parameters

source string optional

Filter consent records by source. agent returns per-environment records (Harness Runtime); inference returns the team-level record for Serverless Inference chat completions. When omitted, records for all sources are returned.

One of: agent, inference

Response Example

Show Response Example
{
  "consents": [
    {
      "id": 13,
      "team_id": 39449946,
      "source": "agent",
      "agent_id": "019fb3d2-8a56-72cc-8bf9-9d21510b2a99",
      "environment_id": "019fb3d2-8a56-72cc-8bf9-9d21510b2a99",
      "enabled": true,
      "updated_at": "2026-08-10T10:09:25.738533Z"
    },
    {
      "id": 6,
      "team_id": 39449946,
      "source": "agent",
      "agent_id": "019fb6b1-aad4-7d54-a74e-c5570d768148",
      "environment_id": "019fb6b1-aad4-7d54-a74e-c5570d768148",
      "enabled": true,
      "updated_at": "2026-08-07T10:10:16.385447Z"
    },
    {
      "id": 21,
      "team_id": 39449946,
      "source": "inference",
      "agent_id": "",
      "enabled": true,
      "updated_at": "2026-10-09T11:41:27.104822Z"
    }
  ]
}

More Information

See /v1/consent in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.