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": {
+ "aliases": {
+ "description": "Other names answers use for the brand.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "reanalysis": {
+ "additionalProperties": false,
+ "properties": {
+ "job_id": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string"
+ },
+ "status": {
+ "description": "queued, running, or failed.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "message"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "status": {
+ "description": "active or paused. A paused competitor is not tracked.",
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "url",
+ "aliases",
+ "status",
+ "reanalysis"
+ ],
+ "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"
+}