From 9f2cb21b8e1c5b68b0e4a46a973aa8452cb6e1b8 Mon Sep 17 00:00:00 2001 From: Noah Henning Date: Thu, 8 Oct 2026 15:44:00 -0600 Subject: [PATCH] signals: remove allowed from public consent GET schema allowed is an internal check-endpoint concept, not returned by GET /v1/consent/{agent_id}. Document enabled only; drop allowed from the model, required list, response example, and operation description. --- .../resources/signals/models/agent_consent.yml | 11 +---------- .../signals/responses/agent_consent_response.yml | 1 - .../resources/signals/signals_get_consent.yml | 4 ++-- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/specification/resources/signals/models/agent_consent.yml b/specification/resources/signals/models/agent_consent.yml index a315c6278..2ef9f9365 100644 --- a/specification/resources/signals/models/agent_consent.yml +++ b/specification/resources/signals/models/agent_consent.yml @@ -1,5 +1,5 @@ type: object -description: Consent details for a specific agent, including an allowed flag. +description: Consent details for a specific agent. properties: id: type: integer @@ -18,21 +18,12 @@ properties: type: boolean description: Whether signals collection is enabled for this agent. example: true - allowed: - type: boolean - description: >- - Whether the team is permitted to use signals for this agent. This is - determined by the platform and cannot be set by the user. - example: true updated_at: type: string format: date-time description: A time value given in ISO8601 combined date and time format. example: "2026-08-10T10:09:25.738533Z" required: - - id - team_id - agent_id - enabled - - allowed - - updated_at diff --git a/specification/resources/signals/responses/agent_consent_response.yml b/specification/resources/signals/responses/agent_consent_response.yml index 8e35c5f51..088b040ce 100644 --- a/specification/resources/signals/responses/agent_consent_response.yml +++ b/specification/resources/signals/responses/agent_consent_response.yml @@ -17,5 +17,4 @@ content: team_id: 39449946 agent_id: 019fb3d2-8a56-72cc-8bf9-9d21510b2a99 enabled: true - allowed: true updated_at: "2026-08-10T10:09:25.738533Z" diff --git a/specification/resources/signals/signals_get_consent.yml b/specification/resources/signals/signals_get_consent.yml index 029e11a18..f3a4548e4 100644 --- a/specification/resources/signals/signals_get_consent.yml +++ b/specification/resources/signals/signals_get_consent.yml @@ -4,8 +4,8 @@ summary: Retrieve Consent for an Agent description: | To retrieve the consent record for a specific agent, send a GET - request to `/v1/consent/{agent_id}`. The response includes an `allowed` - field indicating whether the team is permitted to use signals for this agent. + request to `/v1/consent/{agent_id}`. The response includes an `enabled` + field indicating whether signals collection is on for this agent. tags: - Signals