changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "brand": {
+ "additionalProperties": false,
+ "description": "The brand written to; null for brand setup before approval.",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "description": "The brand's website, or empty when none is set.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "cost": {
+ "additionalProperties": false,
+ "description": "What the write used from the plan's capacity, allowances and model budget; null when nothing.",
+ "properties": {
+ "content_generations": {
+ "description": "Content Studio generations used from the plan's allowance.",
+ "type": "integer"
+ },
+ "model_budget": {
+ "description": "Whether the call spends the organisation's AI model budget.",
+ "type": "boolean"
+ },
+ "note": {
+ "type": "string"
+ },
+ "prompt_capacity": {
+ "description": "Active prompts added against the plan's prompt limit.",
+ "type": "integer"
+ },
+ "queued_model_runs": {
+ "description": "Answer collections queued; each uses model budget.",
+ "type": "integer"
+ },
+ "readiness_checks": {
+ "description": "Readiness re-checks used from the plan's monthly allowance.",
+ "type": "integer"
+ },
+ "readiness_scans": {
+ "description": "Site readiness scans used from the plan's monthly allowance.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "model_budget",
+ "content_generations",
+ "readiness_scans",
+ "readiness_checks",
+ "prompt_capacity",
+ "queued_model_runs",
+ "note"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "message": {
+ "description": "What happens next.",
+ "type": "string"
+ },
+ "operation_id": {
+ "description": "Pass to get_operation to follow the write.",
+ "type": "string"
+ },
+ "poll_after_seconds": {
+ "description": "While pending, how long to wait before calling get_operation; 0 otherwise.",
+ "type": "integer"
+ },
+ "progress": {
+ "additionalProperties": false,
+ "description": "Set while the work runs.",
+ "properties": {
+ "done": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "stage": {
+ "type": "string"
+ },
+ "total": {
+ "description": "0 when the total is not known.",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "stage",
+ "done",
+ "total",
+ "message"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "replayed": {
+ "description": "True when this repeats an earlier call with the same idempotency_key.",
+ "type": "boolean"
+ },
+ "resource": {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "type": "string"
+ },
+ "assignee": {
+ "additionalProperties": false,
+ "properties": {
+ "member_id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "member_id",
+ "name"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "comment_count": {
+ "type": "integer"
+ },
+ "dismissed_at": {
+ "type": "string"
+ },
+ "found_at": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "kind": {
+ "description": "content_gap, readiness, source_gap, traffic_gap, or coverage_gap.",
+ "type": "string"
+ },
+ "monthly_ai_searches": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "score": {
+ "description": "0-100 priority.",
+ "type": "integer"
+ },
+ "segment": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "signal": {
+ "description": "Why it matters now.",
+ "type": "string"
+ },
+ "snoozed_until": {
+ "type": "string"
+ },
+ "stage": {
+ "description": "now, in_flight, watching, or won.",
+ "type": "string"
+ },
+ "stage_changed_at": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "kind",
+ "stage",
+ "title",
+ "signal",
+ "segment",
+ "monthly_ai_searches",
+ "score",
+ "assignee",
+ "found_at",
+ "stage_changed_at",
+ "snoozed_until",
+ "dismissed_at",
+ "comment_count",
+ "action"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "description": "completed: done. pending: saved, with work still running; call get_operation after poll_after_seconds. failed: the work after the write failed; message says why.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "operation_id",
+ "status",
+ "replayed",
+ "brand",
+ "resource",
+ "progress",
+ "poll_after_seconds",
+ "message",
+ "cost"
+ ],
+ "type": "object"
+ },
+ "generated_at": {
+ "description": "RFC 3339 time the response was made.",
+ "type": "string"
+ },
+ "schema_version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema_version",
+ "generated_at",
+ "data"
+ ],
+ "type": "object"
+}