{"openapi":"3.0.3","info":{"title":"Crawl Foundry SEO Agent Platform API","version":"1.0.0","description":"Workspace-scoped REST contracts for bounded SEO evidence, durable strategy memory, and explicitly approved paid actions. Stored-read endpoints never start provider acquisition."},"servers":[{"url":"/","description":"Current Crawl Foundry deployment"}],"tags":[{"name":"Discovery","description":"Live authorized capability discovery."},{"name":"Stored SEO data","description":"Bounded, provider-isolated stored SEO projections."},{"name":"Strategy and work graph","description":"Durable strategies, decisions, work items, and outcomes."},{"name":"Paid actions and operations","description":"Quote, approval, execution, and operation lifecycle."}],"paths":{"/api/v1":{"get":{"operationId":"describeAgentPlatform","summary":"Describe the Crawl Foundry Agent Platform","description":"Returns versioned same-origin links and the currently enabled REST and MCP transports. It never reads SEO evidence or starts provider acquisition.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/describeAgentPlatform_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-PLATFORM_DESCRIBE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"serviceId":"contextter-agent-platform","serviceVersion":"1.0.0","apiVersion":"v1","releaseChannel":"pilot","transports":[{"kind":"rest","endpoint":"/api/v1/example","enabled":false},{"kind":"rest","endpoint":"/api/v1/example","enabled":false}],"links":{"capabilities":"/api/v1/capabilities","workspaces":"/api/v1/workspaces","openApi":"/api/v1/openapi.json","docs":"/api/v1/docs"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1","x-contextter-required-scopes":["platform:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/capabilities":{"get":{"operationId":"listAgentPlatformCapabilities","summary":"List authorized SEO capabilities","description":"Returns only capabilities available to the live service credential. The operation does not acquire provider data or consume credits.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/listAgentPlatformCapabilities_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-PLATFORM_CAPABILITIES_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.capabilities.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1/capabilities","x-contextter-required-scopes":["capabilities:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/capabilities/{capabilityId}":{"get":{"operationId":"getAgentPlatformCapability","summary":"Get one authorized SEO capability","description":"Returns one capability only when it is authorized, runtime-backed, and source-accessible for the credential-bound workspace.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"capabilityId","in":"path","required":true,"description":"Version-neutral public capability identifier.","schema":{"type":"string","minLength":3,"maxLength":120,"pattern":"^[a-z][A-Za-z0-9.-]{2,119}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentPlatformCapability_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-PLATFORM_CAPABILITIES_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capability":{"id":"platform.describe","version":"1.0.0","displayName":"example","description":"example","kind":"evidence","stability":"experimental","availability":"pilot","inputSchema":{"id":"example","version":"1.0.0"},"outputSchema":{"id":"example","version":"1.0.0"},"operationClass":"storedRead","executionMode":"sync","freshnessPolicies":["storedOnly"],"billingClassification":"freeStoredRead","requiredScopes":["capabilities:read"],"minimumRole":"viewer","sourceDependencies":[],"privacyClass":"public","limits":{"maxItems":1,"maxBytes":1,"maxFanout":1,"timeoutMs":1,"retentionSeconds":0},"sideEffects":"none","idempotency":{"supported":false,"required":false},"approvalRequired":false,"handlerVersion":"1.0.0"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.capabilities.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/capabilities/{capabilityId}","x-contextter-required-scopes":["capabilities:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/providers":{"get":{"operationId":"listAgentPlatformDataProviders","summary":"List SEO data providers","description":"Returns an honest registry of active, connection-required, and planned SEO providers. It never starts acquisition, exposes credentials, or consumes credits.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/listAgentPlatformDataProviders_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-PLATFORM_PROVIDERS_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[],"total":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.providers.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1/providers","x-contextter-required-scopes":["capabilities:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces":{"get":{"operationId":"listAuthorizedAgentWorkspaces","summary":"List credential-bound workspaces","description":"Returns at most the single workspace bound to this V1 credential. It never enumerates the organization or exposes internal identifiers.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/listAuthorizedAgentWorkspaces_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORKSPACE_LIST_AUTHORIZED","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workspace.listAuthorized","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces","x-contextter-required-scopes":["workspaces:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}":{"get":{"operationId":"getAgentWorkspaceContext","summary":"Get safe workspace context","description":"Returns a bounded, sanitized workspace context. Workspace-authored values are explicitly marked as untrusted content and secrets or Brain documents are not projected.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentWorkspaceContext_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORKSPACE_GET_CONTEXT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"workspace":{"id":"ws_openapi123456","name":"example","lifecycle":"active"},"contentTrust":"untrustedWorkspaceContent","languages":[],"markets":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workspace.getContext","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}","x-contextter-required-scopes":["workspaces:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/action-approvals/{approvalId}":{"get":{"operationId":"getActionApproval","summary":"Get an action approval","description":"Returns one workspace-scoped approval without secrets.","tags":["Paid actions and operations"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"approvalId","in":"path","required":true,"description":"Opaque workspace-scoped approvalId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getActionApproval_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-ACTION_APPROVAL_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aap_openapi123456","quoteId":"aqt_openapi123456","quoteRevision":1,"inputFingerprint":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","status":"active","approvedMaxCharge":{"currency":"EUR","amountMinor":0},"actor":{"type":"human","publicId":"usr_openapi123456"},"apiClientId":"apc_openapi123456","createdAt":"2026-01-01T00:00:00.000Z","expiresAt":"2026-02-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"action.approval.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"quotedPaid","quoteId":"aqt_openapi123456"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: QUOTE_REQUIRED, CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"QUOTE_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_REQUIRED"},"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS, QUOTE_INPUT_MISMATCH, OPERATION_ALREADY_RUNNING, OPERATION_STATE_CONFLICT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_INPUT_MISMATCH"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_ALREADY_RUNNING"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_STATE_CONFLICT"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},"QUOTE_INPUT_MISMATCH":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_INPUT_MISMATCH"},"OPERATION_ALREADY_RUNNING":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_ALREADY_RUNNING"},"OPERATION_STATE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_STATE_CONFLICT"}}}}},"410":{"description":"Request failed with one of: QUOTE_EXPIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_EXPIRED"}]},"examples":{"QUOTE_EXPIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_EXPIRED"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/action-approvals/{approvalId}","x-contextter-capability-id":"action.site-audit.run","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["actions:approve"],"x-contextter-minimum-role":"admin","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288,"x-contextter-capability-input-schema-hash":"a4d14061a019fb94847204659b666af2be324ac008604f89eabf8e1398c87a52","x-contextter-capability-output-schema-hash":"ef0997a72182f146f7cd85e8b515309221745ea41aabb1231927a80f62bc354d"}},"/api/v1/workspaces/{workspaceId}/action-executions/{executionId}":{"get":{"operationId":"getActionExecution","summary":"Get an action execution","description":"Returns the immutable execution-to-operation link.","tags":["Paid actions and operations"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"executionId","in":"path","required":true,"description":"Opaque workspace-scoped executionId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getActionExecution_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-ACTION_EXECUTION_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aex_openapi123456","approvalId":"aap_openapi123456","operationId":"aop_openapi123456","status":"accepted","acceptedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"action.execution.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: QUOTE_REQUIRED, CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"QUOTE_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_REQUIRED"},"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS, QUOTE_INPUT_MISMATCH, OPERATION_ALREADY_RUNNING, OPERATION_STATE_CONFLICT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_INPUT_MISMATCH"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_ALREADY_RUNNING"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_STATE_CONFLICT"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},"QUOTE_INPUT_MISMATCH":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_INPUT_MISMATCH"},"OPERATION_ALREADY_RUNNING":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_ALREADY_RUNNING"},"OPERATION_STATE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_STATE_CONFLICT"}}}}},"410":{"description":"Request failed with one of: QUOTE_EXPIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_EXPIRED"}]},"examples":{"QUOTE_EXPIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_EXPIRED"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/action-executions/{executionId}","x-contextter-capability-id":"action.site-audit.run","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["operations:read"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288,"x-contextter-capability-input-schema-hash":"a4d14061a019fb94847204659b666af2be324ac008604f89eabf8e1398c87a52","x-contextter-capability-output-schema-hash":"ef0997a72182f146f7cd85e8b515309221745ea41aabb1231927a80f62bc354d"}},"/api/v1/workspaces/{workspaceId}/action-quotes/{quoteId}":{"get":{"operationId":"getActionQuote","summary":"Get an action quote","description":"Returns one workspace-scoped quote without provider work.","tags":["Paid actions and operations"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"quoteId","in":"path","required":true,"description":"Opaque workspace-scoped quoteId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getActionQuote_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-ACTION_QUOTE_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aqt_openapi123456","capabilityId":"action.site-audit.run","capabilityVersion":"1.0.0","revision":1,"status":"active","normalizedInput":{"siteHost":"example.com","maxUrls":1,"renderingPolicy":"disabled"},"inputFingerprint":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","pricing":{"contractVersion":1,"executionChannel":"rest","channelMultiplier":0.01,"channelPricingSource":"default","customerEstimate":{"currency":"EUR","amountMinor":0},"maximumCustomerCharge":{"currency":"EUR","amountMinor":0},"preChannelCustomerEstimate":{"currency":"EUR","amountMinor":0},"preChannelMaximumCustomerCharge":{"currency":"EUR","amountMinor":0},"channelDiscount":{"currency":"EUR","amountMinor":0}},"bounds":{"maxItems":1,"maxFanout":1},"requiredScopes":["actions:quote"],"createdAt":"2026-01-01T00:00:00.000Z","expiresAt":"2026-02-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"action.quote.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: QUOTE_REQUIRED, CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"QUOTE_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_REQUIRED"},"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS, QUOTE_INPUT_MISMATCH, OPERATION_ALREADY_RUNNING, OPERATION_STATE_CONFLICT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_INPUT_MISMATCH"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_ALREADY_RUNNING"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_STATE_CONFLICT"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},"QUOTE_INPUT_MISMATCH":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_INPUT_MISMATCH"},"OPERATION_ALREADY_RUNNING":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_ALREADY_RUNNING"},"OPERATION_STATE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_STATE_CONFLICT"}}}}},"410":{"description":"Request failed with one of: QUOTE_EXPIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_EXPIRED"}]},"examples":{"QUOTE_EXPIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_EXPIRED"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/action-quotes/{quoteId}","x-contextter-capability-id":"action.site-audit.run","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288,"x-contextter-capability-input-schema-hash":"a4d14061a019fb94847204659b666af2be324ac008604f89eabf8e1398c87a52","x-contextter-capability-output-schema-hash":"ef0997a72182f146f7cd85e8b515309221745ea41aabb1231927a80f62bc354d"}},"/api/v1/workspaces/{workspaceId}/ai-visibility-runs/{runId}/mentions":{"get":{"operationId":"aiVisibility_mentions_list","summary":"Read stored AI visibility and citations","description":"Returns the bounded stored-only aiVisibility.mentions.list projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runId","in":"path","required":true,"description":"Opaque workspace-scoped runId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":5}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-AI_VISIBILITY_MENTIONS_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"aiVisibility.mentions.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/ai-visibility-runs/{runId}/mentions","x-contextter-capability-id":"aiVisibility.mentions.list","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["domains:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"3c74a553e2c2f2bd3a866feb2e10200e17b686cccd604ad00e055fc92419ef8f","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"3c74a553e2c2f2bd3a866feb2e10200e17b686cccd604ad00e055fc92419ef8f","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/content-briefs/{briefId}":{"get":{"operationId":"contentBrief_get","summary":"Read stored content briefs","description":"Returns the bounded stored-only contentBrief.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"briefId","in":"path","required":true,"description":"Opaque workspace-scoped briefId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_BRIEF_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"contentBrief.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/content-briefs/{briefId}","x-contextter-capability-id":"contentBrief.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}":{"get":{"operationId":"contentProject_get","summary":"Read stored content projects","description":"Returns the bounded stored-only contentProject.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"contentProject.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/content-projects/{projectId}","x-contextter-capability-id":"contentProject.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/decisions":{"get":{"operationId":"decision_list","summary":"List SEO decisions","description":"Lists a bounded page of durable decision records.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["recorded","accepted","rejected","superseded"],"default":"recorded"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-DECISION_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[],"pageInfo":{"hasMore":false,"returnedCount":0}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"decision.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/decisions","x-contextter-capability-id":"decision.list","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["decisions:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"3db749b56bbeb61ba4fbbacda61dd2699a4fc571e09f207ad1e77314de7ac2fa","x-contextter-capability-output-schema-hash":"fe2116c8099eca70c742f827375fc33f7386a49cea8f9d8e2cfd63ea53f74411","x-contextter-input-schema-hash":"3db749b56bbeb61ba4fbbacda61dd2699a4fc571e09f207ad1e77314de7ac2fa","x-contextter-output-schema-hash":"fe2116c8099eca70c742f827375fc33f7386a49cea8f9d8e2cfd63ea53f74411"},"post":{"operationId":"decision_record","summary":"Record SEO decision","description":"Records an external-agent decision with bounded rationale and explicit evidence gaps.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false},"example":{"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"evidenceGapReasonCode":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-DECISION_RECORD","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"dec_openapi123456","origin":"contextter","actor":{"type":"human","publicId":"usr_openapi123456"},"status":"recorded","revision":1,"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"decision.record","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/decisions","x-contextter-capability-id":"decision.record","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["decisions:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"264b5dfc431827586142d29d5c37c4c9f8d08f0b4019fb1892d0e7213abcc5a6","x-contextter-capability-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3","x-contextter-input-schema-hash":"264b5dfc431827586142d29d5c37c4c9f8d08f0b4019fb1892d0e7213abcc5a6","x-contextter-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3"}},"/api/v1/workspaces/{workspaceId}/decisions/{decisionId}":{"get":{"operationId":"decision_get","summary":"Get SEO decision","description":"Gets one durable decision record without exposing reasoning traces.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"decisionId","in":"path","required":true,"description":"Opaque workspace-scoped decisionId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-DECISION_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"dec_openapi123456","origin":"contextter","actor":{"type":"human","publicId":"usr_openapi123456"},"status":"recorded","revision":1,"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"decision.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/decisions/{decisionId}","x-contextter-capability-id":"decision.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["decisions:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"11bc4a8e3b11100ee1e2040cd1cdbf08d94fb0ae153b10e22defa067a8657660","x-contextter-capability-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3","x-contextter-input-schema-hash":"11bc4a8e3b11100ee1e2040cd1cdbf08d94fb0ae153b10e22defa067a8657660","x-contextter-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3"}},"/api/v1/workspaces/{workspaceId}/domain-snapshots/{snapshotId}":{"get":{"operationId":"domain_snapshot_get","summary":"Read stored domain overview","description":"Returns the bounded stored-only domain.snapshot.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"snapshotId","in":"path","required":true,"description":"Opaque workspace-scoped snapshotId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-DOMAIN_SNAPSHOT_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"domain.snapshot.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/domain-snapshots/{snapshotId}","x-contextter-capability-id":"domain.snapshot.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["domains:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/evidence-bundles/{bundleId}":{"get":{"operationId":"evidence_bundle_get","summary":"Read stored opportunity evidence","description":"Returns the bounded stored-only evidence.bundle.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"bundleId","in":"path","required":true,"description":"Opaque workspace-scoped bundleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-EVIDENCE_BUNDLE_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"evidence.bundle.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/evidence-bundles/{bundleId}","x-contextter-capability-id":"evidence.bundle.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["evidence:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/keyword-data-runs/{runId}":{"get":{"operationId":"keywordData_run_get","summary":"Read stored keyword data","description":"Returns the bounded stored-only keywordData.run.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runId","in":"path","required":true,"description":"Opaque workspace-scoped runId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_DATA_RUN_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordData.run.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/keyword-data-runs/{runId}","x-contextter-capability-id":"keywordData.run.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keyword-data:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}":{"get":{"operationId":"keywordResearch_run_get","summary":"Read stored keyword research","description":"Returns the bounded stored-only keywordResearch.run.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runId","in":"path","required":true,"description":"Opaque workspace-scoped runId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_RESEARCH_RUN_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordResearch.run.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}","x-contextter-capability-id":"keywordResearch.run.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keyword-research:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/operations/{operationId}":{"get":{"operationId":"getAgentOperation","summary":"Get an asynchronous operation","description":"Returns bounded lifecycle and public failure state for one workspace-scoped operation.","tags":["Paid actions and operations"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"operationId","in":"path","required":true,"description":"Opaque workspace-scoped operationId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentOperation_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-OPERATION_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aop_openapi123456","executionId":"aex_openapi123456","capabilityId":"action.site-audit.run","capabilityVersion":"1.0.0","quoteId":"aqt_openapi123456","approvalId":"aap_openapi123456","status":"accepted","revision":1,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"operation.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"quotedPaid","quoteId":"aqt_openapi123456"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: QUOTE_REQUIRED, CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"QUOTE_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_REQUIRED"},"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS, QUOTE_INPUT_MISMATCH, OPERATION_ALREADY_RUNNING, OPERATION_STATE_CONFLICT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_INPUT_MISMATCH"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_ALREADY_RUNNING"},{"$ref":"#/components/schemas/AgentPlatformError_OPERATION_STATE_CONFLICT"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"},"QUOTE_INPUT_MISMATCH":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_INPUT_MISMATCH"},"OPERATION_ALREADY_RUNNING":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_ALREADY_RUNNING"},"OPERATION_STATE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_OPERATION_STATE_CONFLICT"}}}}},"410":{"description":"Request failed with one of: QUOTE_EXPIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_QUOTE_EXPIRED"}]},"examples":{"QUOTE_EXPIRED":{"$ref":"#/components/examples/AgentPlatformError_QUOTE_EXPIRED"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/operations/{operationId}","x-contextter-capability-id":"action.site-audit.run","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["operations:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288,"x-contextter-capability-input-schema-hash":"a4d14061a019fb94847204659b666af2be324ac008604f89eabf8e1398c87a52","x-contextter-capability-output-schema-hash":"ef0997a72182f146f7cd85e8b515309221745ea41aabb1231927a80f62bc354d"}},"/api/v1/workspaces/{workspaceId}/site-audit/runs/{runId}":{"get":{"operationId":"siteAudit_run_get","summary":"Read stored site audit","description":"Returns the bounded stored-only siteAudit.run.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runId","in":"path","required":true,"description":"Opaque workspace-scoped runId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_RUN_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.run.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/site-audit/runs/{runId}","x-contextter-capability-id":"siteAudit.run.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/source-coverage":{"get":{"operationId":"getAgentWorkspaceSourceCoverage","summary":"Inspect stored SEO source coverage","description":"Reports permission-aware availability and freshness for bounded stored SEO source families. It does not trigger provider requests or imply unavailable data exists.","tags":["Discovery"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentWorkspaceSourceCoverage_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORKSPACE_GET_SOURCE_COVERAGE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"workspaceId":"ws_openapi123456","sources":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workspace.getSourceCoverage","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/source-coverage","x-contextter-required-scopes":["evidence:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/strategies":{"get":{"operationId":"strategy_list","summary":"List SEO strategies","description":"Lists a bounded page of durable workspace strategies.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["active","archived"],"default":"active"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/strategy_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-STRATEGY_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[],"pageInfo":{"hasMore":false,"returnedCount":0}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"strategy.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/strategies","x-contextter-capability-id":"strategy.list","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"0256c85b044d5e81e0582572d105b39a53184aad86306dd1b830dea2f27f1e6d","x-contextter-capability-output-schema-hash":"181f2cacdd7ead8612f5e03b46e290cd4735cd8ac30019d82b50d2e78a069204","x-contextter-input-schema-hash":"0256c85b044d5e81e0582572d105b39a53184aad86306dd1b830dea2f27f1e6d","x-contextter-output-schema-hash":"181f2cacdd7ead8612f5e03b46e290cd4735cd8ac30019d82b50d2e78a069204"},"post":{"operationId":"strategy_create","summary":"Create SEO strategy","description":"Creates a durable strategy with its first immutable revision.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false}},"required":["payload"],"additionalProperties":false},"example":{"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/strategy_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-STRATEGY_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"strategy.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/strategies","x-contextter-capability-id":"strategy.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:write"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"a31ea8792dec9f70d2b7f55a96cb703cccb80349c29b00bc3720a128f1ca794e","x-contextter-capability-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3","x-contextter-input-schema-hash":"a31ea8792dec9f70d2b7f55a96cb703cccb80349c29b00bc3720a128f1ca794e","x-contextter-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3"}},"/api/v1/workspaces/{workspaceId}/strategies/{strategyId}":{"get":{"operationId":"strategy_get","summary":"Get SEO strategy","description":"Gets one durable strategy and its active immutable revision.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"strategyId","in":"path","required":true,"description":"Opaque workspace-scoped strategyId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/strategy_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-STRATEGY_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"strategy.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/strategies/{strategyId}","x-contextter-capability-id":"strategy.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"88a78b3ce9c0df8d2707a18ebe34ecf4e1dbb5adc375772b2a504510eebe7b57","x-contextter-capability-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3","x-contextter-input-schema-hash":"88a78b3ce9c0df8d2707a18ebe34ecf4e1dbb5adc375772b2a504510eebe7b57","x-contextter-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3"}},"/api/v1/workspaces/{workspaceId}/tracking-run-groups/{runGroupId}":{"get":{"operationId":"tracking_run-group_get","summary":"Read stored position tracking","description":"Returns the bounded stored-only tracking.run-group.get projection. It never starts provider acquisition or spends credits.","tags":["Stored SEO data"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runGroupId","in":"path","required":true,"description":"Opaque workspace-scoped runGroupId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/aiVisibility_mentions_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_RUN_GROUP_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.run-group.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"502":{"description":"Request failed with one of: SOURCE_SCHEMA_INCOMPATIBLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}]},"examples":{"SOURCE_SCHEMA_INCOMPATIBLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/tracking-run-groups/{runGroupId}","x-contextter-capability-id":"tracking.run-group.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-capability-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b","x-contextter-input-schema-hash":"99334726611ccf58a148b0814696bfa6fe08c1b2d027e946beccf5a74331c9aa","x-contextter-output-schema-hash":"8beda75da1a255e5327c3ffb1fb12ee62405e0faed83098cd220ef7539cc032b"}},"/api/v1/workspaces/{workspaceId}/verification-runs/{verificationRunId}":{"get":{"operationId":"verification_get","summary":"Get verification run","description":"Gets the durable state and linked outcome of one verification run.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"verificationRunId","in":"path","required":true,"description":"Opaque workspace-scoped verificationRunId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/verification_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-VERIFICATION_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"vrf_openapi123456","workItemId":"wrk_openapi123456","status":"queued","revision":1,"requestedBy":{"type":"human","publicId":"usr_openapi123456"},"metricDefinitions":["example"],"observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"verification.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/verification-runs/{verificationRunId}","x-contextter-capability-id":"verification.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["verification:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"7b32345c19b034b6435ee9c4fb1db46f8340ff2b04ab849fff0951a2a6a0d1e9","x-contextter-capability-output-schema-hash":"9e621de25d27e5b9c3ba6d03af637e8486537482ce4a5acc7c31c0a044c7c894","x-contextter-input-schema-hash":"7b32345c19b034b6435ee9c4fb1db46f8340ff2b04ab849fff0951a2a6a0d1e9","x-contextter-output-schema-hash":"9e621de25d27e5b9c3ba6d03af637e8486537482ce4a5acc7c31c0a044c7c894"}},"/api/v1/workspaces/{workspaceId}/work-items":{"get":{"operationId":"workItem_list","summary":"List SEO work items","description":"Lists a bounded page of durable SEO work items in one lifecycle state.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"],"default":"proposed"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[],"pageInfo":{"hasMore":false,"returnedCount":0}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/work-items","x-contextter-capability-id":"workItem.list","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"0d0b1db7b8bde6be91cfd57a1680bc8181218a6ffcdf56545be2c4991027d20a","x-contextter-capability-output-schema-hash":"2349eb09c71570428dfdd2aa2ed566f296325fecefe60a41e65fb1b8023d1ccd","x-contextter-input-schema-hash":"0d0b1db7b8bde6be91cfd57a1680bc8181218a6ffcdf56545be2c4991027d20a","x-contextter-output-schema-hash":"2349eb09c71570428dfdd2aa2ed566f296325fecefe60a41e65fb1b8023d1ccd"},"post":{"operationId":"workItem_create","summary":"Create SEO work item","description":"Creates an idempotent durable work item without executing external work.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false},"example":{"title":"example","workType":"example","description":"example","priority":"critical","order":0,"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items","x-contextter-capability-id":"workItem.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"2b22992e84228047492c18e589d7d23700ac0b443dbb13e22c2e29762d562dd3","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"2b22992e84228047492c18e589d7d23700ac0b443dbb13e22c2e29762d562dd3","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}":{"get":{"operationId":"workItem_get","summary":"Get SEO work item","description":"Gets one durable work item, its expected effect, and verification plan.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_GET","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.get","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/work-items/{workItemId}","x-contextter-capability-id":"workItem.get","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"1b4c2f48f369c5d4d1d424ff4e4aa51f1edc55f1f2f1c93dc43d9ddcbdc33f0b","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"1b4c2f48f369c5d4d1d424ff4e4aa51f1edc55f1f2f1c93dc43d9ddcbdc33f0b","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}/outcomes":{"get":{"operationId":"outcome_list","summary":"List work-item outcomes","description":"Lists bounded, append-only outcomes for one work item.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/outcome_list_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-OUTCOME_LIST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"items":[],"pageInfo":{"hasMore":false,"returnedCount":0}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"outcome.list","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/outcomes","x-contextter-capability-id":"outcome.list","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["outcomes:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"3b391b00e1cee8c34f6e0c57ad08fceae5b696d2243947f058c1177aaea4d835","x-contextter-capability-output-schema-hash":"df41df462061050a946dabf1341f15cc98625ff433c929131aaf4b6b47dd46ef","x-contextter-input-schema-hash":"3b391b00e1cee8c34f6e0c57ad08fceae5b696d2243947f058c1177aaea4d835","x-contextter-output-schema-hash":"df41df462061050a946dabf1341f15cc98625ff433c929131aaf4b6b47dd46ef"},"post":{"operationId":"outcome_record","summary":"Record work-item outcome","description":"Records an observation with mandatory attribution limits; completion is not treated as success.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"value":{"type":"object","properties":{"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["measured","partial","failed","inconclusive"]},"verdict":{"type":"string","enum":["improved","unchanged","worsened"]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"metrics":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"baselineValue":{"type":"number"},"observedValue":{"type":"number"},"unit":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["metric"],"additionalProperties":false},"maxItems":100},"attributionLimits":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"attributionConfidence":{"type":"string","enum":["high","medium","low","unattributed"]},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["status","observationWindow","metrics","attributionLimits","evidenceRefs"],"additionalProperties":false}},"required":["value"],"additionalProperties":false},"example":{"value":{"status":"measured","verdict":"improved","observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"metrics":[],"attributionLimits":["example"],"evidenceRefs":[]}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/outcome_record_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-OUTCOME_RECORD","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"out_openapi123456","workItemId":"wrk_openapi123456","status":"measured","verdict":"improved","observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"metrics":[],"attributionLimits":["example"],"attributionConfidence":"unattributed","evidenceRefs":[],"recordedBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","source":"external_agent_reported"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"outcome.record","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/outcomes","x-contextter-capability-id":"outcome.record","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["outcomes:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"ea1c8a5ae68c9d04a76d6731f41ce594435aec00fc2e860a9103833a5cea316e","x-contextter-capability-output-schema-hash":"de4131e8f104664c7481896ecc5b54801528c5a3180af262fd9af3591c34cd63","x-contextter-input-schema-hash":"ea1c8a5ae68c9d04a76d6731f41ce594435aec00fc2e860a9103833a5cea316e","x-contextter-output-schema-hash":"de4131e8f104664c7481896ecc5b54801528c5a3180af262fd9af3591c34cd63"}},"/api/v1/workspaces/{workspaceId}/work-memory":{"get":{"operationId":"workMemory_overview","summary":"Get durable SEO work memory","description":"Returns the active strategy, relevant decisions, bounded work items, their latest outcomes, and open verification runs in one stored read.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"includeTerminal","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workMemory_overview_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_MEMORY_OVERVIEW","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"activeStrategy":null,"decisions":[],"work":[],"includedTerminal":false,"truncated":{"decisions":false,"workItems":false}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workMemory.overview","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"GET /api/v1/workspaces/{workspaceId}/work-memory","x-contextter-capability-id":"workMemory.overview","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:read","decisions:read","work-items:read","outcomes:read","verification:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"bff25ab9695f29c544dd8e249b94d220cc6cfd1668853b4c0f0be0854794b8f2","x-contextter-capability-output-schema-hash":"6b1011629cb93f52c6d49e729d865d5bca9548ceb7b2b24150fda226e9549ed9","x-contextter-input-schema-hash":"bff25ab9695f29c544dd8e249b94d220cc6cfd1668853b4c0f0be0854794b8f2","x-contextter-output-schema-hash":"6b1011629cb93f52c6d49e729d865d5bca9548ceb7b2b24150fda226e9549ed9"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief":{"patch":{"operationId":"content_project_brief_update","summary":"Update project brief","description":"Updates the current Writer project's brief with the same role permission and project input limits as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"contentBrief":{"type":"object","properties":{"pageGoal":{"type":"string","enum":["educate","sell","answer","template","convert"]},"primaryGoal":{"type":"string","maxLength":500},"targetAudience":{"type":"string","maxLength":250},"mustAnswerQuestion":{"type":"string","maxLength":300},"conversionGoal":{"type":"string","maxLength":250},"notes":{"type":"string","maxLength":5000}},"required":["pageGoal"],"additionalProperties":false}},"required":["contentBrief"],"additionalProperties":false},"example":{"contentBrief":{"pageGoal":"educate"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_BRIEF_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.brief.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief","x-contextter-capability-id":"content.project.brief.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"586a123d1bc4c4e6a46decb9a421eac7ebe53ce4c5b5780afbb8179966c11dc3","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"586a123d1bc4c4e6a46decb9a421eac7ebe53ce4c5b5780afbb8179966c11dc3","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/document":{"patch":{"operationId":"content_project_document_update","summary":"Update content document","description":"Replaces a Writer document with optimistic revision protection and source-owned operation idempotency, without returning the full article body.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"baseRevision":{"type":"integer","minimum":0},"content":{"type":"string","maxLength":500000},"suggestionIds":{"type":"array","items":{"type":"string","pattern":"^csg_\\d+_\\d{8}$"},"minItems":1,"maxItems":30},"restoreVersionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$"}},"required":["baseRevision"],"additionalProperties":false},"example":{"baseRevision":0}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_document_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_DOCUMENT_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"write":{"status":"applied","revision":0,"wordCount":0},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.document.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/document","x-contextter-capability-id":"content.project.document.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":2100000,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"6653d01a6b4f28e061f741fb4dda90b327a9bcabbbfef9a2d08c4fdeca8ebb84","x-contextter-capability-output-schema-hash":"4e6ad2629ef916debd6ab5742a2bcca0bff4ea370f60bb2a2fb1381f2d9e2cd5","x-contextter-input-schema-hash":"6653d01a6b4f28e061f741fb4dda90b327a9bcabbbfef9a2d08c4fdeca8ebb84","x-contextter-output-schema-hash":"4e6ad2629ef916debd6ab5742a2bcca0bff4ea370f60bb2a2fb1381f2d9e2cd5"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/metadata":{"patch":{"operationId":"content_project_metadata_update","summary":"Save project SEO metadata","description":"Saves the SEO title, description and slug on the current Writer project through the same validation and storage service as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"seoTitle":{"type":"string","maxLength":80},"seoDescription":{"type":"string","maxLength":200},"seoSlug":{"type":"string","maxLength":100}},"required":["seoTitle","seoDescription","seoSlug"],"additionalProperties":false},"example":{"seoTitle":"example","seoDescription":"example","seoSlug":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_METADATA_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.metadata.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/metadata","x-contextter-capability-id":"content.project.metadata.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"78b7105771451450f84a781f174e56cce07623ec8f6f4498836f17d5cee66440","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"78b7105771451450f84a781f174e56cce07623ec8f6f4498836f17d5cee66440","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/structure":{"patch":{"operationId":"content_project_structure_update","summary":"Update content structure","description":"Creates or replaces a Writer outline through the source-owned structure repository with optimistic revision protection and bounded canonical sections.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"baseRevision":{"type":"integer","minimum":0},"outline":{"type":"object","properties":{"h1":{"type":"string","minLength":1,"maxLength":300},"targetWordCount":{"type":"integer","minimum":100,"maximum":100000},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":300},"level":{"type":"integer","minimum":1,"maximum":4},"purpose":{"type":"string","minLength":1,"maxLength":1000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"targetWords":{"type":"integer","minimum":20,"maximum":5000}},"required":["heading","level","purpose","keyPoints","targetWords"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["h1","targetWordCount","sections"],"additionalProperties":false},"userRefined":{"type":"boolean","default":true}},"required":["baseRevision","outline"],"additionalProperties":false},"example":{"baseRevision":0,"outline":{"h1":"example","targetWordCount":100,"sections":[{"heading":"example","level":1,"purpose":"example","keyPoints":[],"targetWords":20}]},"userRefined":true}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_structure_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_STRUCTURE_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"structure":{"projectId":"prj_openapi123456","revision":0,"userRefined":false,"outline":{"h1":"example","targetWordCount":100,"sections":[{"heading":"example","level":1,"purpose":"example","keyPoints":[],"targetWords":20}]},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"write":{"status":"applied","revision":0},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.structure.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/structure","x-contextter-capability-id":"content.project.structure.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":524288,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"d58080bb3b748ffd080d2b2ea5cdec5cdfeb4c0c00e321fb96d11bd77681bedd","x-contextter-capability-output-schema-hash":"74d6b0cd6f7e4ef6a413bfc31c0bbc83e5dc5af332dc128a18c4c1726ae546b3","x-contextter-input-schema-hash":"d58080bb3b748ffd080d2b2ea5cdec5cdfeb4c0c00e321fb96d11bd77681bedd","x-contextter-output-schema-hash":"74d6b0cd6f7e4ef6a413bfc31c0bbc83e5dc5af332dc128a18c4c1726ae546b3"}},"/api/v1/workspaces/{workspaceId}/keyword-clusters/{clusterId}":{"patch":{"operationId":"keywordCluster_rename","summary":"Rename keyword cluster","description":"Renames one workspace Keyword Database cluster through the same tenant-bound policy and validation path as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"clusterId","in":"path","required":true,"description":"Opaque workspace-scoped clusterId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100}},"required":["label"],"additionalProperties":false},"example":{"label":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordCluster_rename_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_CLUSTER_RENAME","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"clusterId":"kwc_openapi123456","label":"example","changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordCluster.rename","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/keyword-clusters/{clusterId}","x-contextter-capability-id":"keywordCluster.rename","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"ed38059c850c1c7979c3c8261ab14f1385564a0a0f2984e7a1881be59d395d69","x-contextter-capability-output-schema-hash":"ca4f40fc94044c2d55c9e9e08232a2adf49eca121276bae4b51fdfe4b51cc1c7","x-contextter-input-schema-hash":"ed38059c850c1c7979c3c8261ab14f1385564a0a0f2984e7a1881be59d395d69","x-contextter-output-schema-hash":"ca4f40fc94044c2d55c9e9e08232a2adf49eca121276bae4b51fdfe4b51cc1c7"}},"/api/v1/workspaces/{workspaceId}/keyword-lists/{listId}":{"patch":{"operationId":"keywordList_update","summary":"Update keyword list","description":"Updates bounded public metadata for one active Keyword Database list without changing its mode or rules.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"listId","in":"path","required":true,"description":"Opaque workspace-scoped listId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500,"nullable":true},"color":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"icon":{"type":"string","minLength":1,"maxLength":80,"nullable":true}},"additionalProperties":false},"example":{"color":null}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordList_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_LIST_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"kwl_openapi123456","name":"example","mode":"manual","memberCount":0,"sortOrder":0,"state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordList.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}","x-contextter-capability-id":"keywordList.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"584d2510ec9bf4c3f6edaf23c13f0d52096120aa0870053b3f9a2eee83f8d7c8","x-contextter-capability-output-schema-hash":"785db75a72a687b6ab1625fd54dc6b0f8d8a5f26842025182c84bd729c1c9fb1","x-contextter-input-schema-hash":"584d2510ec9bf4c3f6edaf23c13f0d52096120aa0870053b3f9a2eee83f8d7c8","x-contextter-output-schema-hash":"785db75a72a687b6ab1625fd54dc6b0f8d8a5f26842025182c84bd729c1c9fb1"}},"/api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}":{"patch":{"operationId":"keywordTag_update","summary":"Update keyword tag","description":"Updates the label or color of one tenant-bound Keyword Database tag through the shared source owner.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"tagId","in":"path","required":true,"description":"Opaque workspace-scoped tagId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"additionalProperties":false},"example":{"color":"blue"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordTag_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_TAG_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"ktg_openapi123456","label":"example","color":"blue","memberCount":0,"systemManaged":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordTag.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}","x-contextter-capability-id":"keywordTag.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"3559a25f1e6ac9c6c4559a768523ab7e4c991ba1b28a2dc22023967b1e6f56c4","x-contextter-capability-output-schema-hash":"93df3640ab06f8ece40fc9b208af1f72e2846589efd3fe5313f2c6ed86a83202","x-contextter-input-schema-hash":"3559a25f1e6ac9c6c4559a768523ab7e4c991ba1b28a2dc22023967b1e6f56c4","x-contextter-output-schema-hash":"93df3640ab06f8ece40fc9b208af1f72e2846589efd3fe5313f2c6ed86a83202"}},"/api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/assignments":{"patch":{"operationId":"keywordTag_assignment_update","summary":"Update keyword tag assignments","description":"Atomically assigns or unassigns bounded active workspace keywords for one Keyword Database tag while preserving smart-tag tombstones.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"tagId","in":"path","required":true,"description":"Opaque workspace-scoped tagId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"operation":{"type":"string","enum":["assign","unassign"]}},"required":["keywordIds","operation"],"additionalProperties":false},"example":{"keywordIds":["kwd_openapi123456"],"operation":"assign"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordTag_assignment_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_TAG_ASSIGNMENT_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"tagId":"ktg_openapi123456","operation":"assign","requestedCount":1,"changedCount":0,"unchangedCount":0,"memberCount":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordTag.assignment.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/assignments","x-contextter-capability-id":"keywordTag.assignment.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"459fcf39220a16b6e4629604636e6404f0348b8cbf1550af021685871f2998e5","x-contextter-capability-output-schema-hash":"9966eee4b4e457bbc28ad0a4d4fd0038a24fc00ed16b2e2460916a578883a9ca","x-contextter-input-schema-hash":"459fcf39220a16b6e4629604636e6404f0348b8cbf1550af021685871f2998e5","x-contextter-output-schema-hash":"9966eee4b4e457bbc28ad0a4d4fd0038a24fc00ed16b2e2460916a578883a9ca"}},"/api/v1/workspaces/{workspaceId}/keywords/workflow-status":{"patch":{"operationId":"keyword_workflowStatus_update","summary":"Update keyword workflow status","description":"Moves bounded workspace keywords to a named workspace workflow column, or clears their workflow status, without exposing internal database identifiers.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["keywordIds","statusName"],"additionalProperties":false},"example":{"keywordIds":["kwd_openapi123456"],"statusName":null}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keyword_workflowStatus_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_WORKFLOW_STATUS_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"requestedCount":1,"changedCount":0,"unchangedCount":0,"statusName":null,"keywordIds":["kwd_openapi123456"]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keyword.workflowStatus.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/keywords/workflow-status","x-contextter-capability-id":"keyword.workflowStatus.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"530084cde92dcdc8082c08eebb8bfa1e64939b1eb0109aa4214c2b31205316d2","x-contextter-capability-output-schema-hash":"04ad1b478d413eadf884c4cda30590e3f0e1ce328f2327586665e77323e5d0d8","x-contextter-input-schema-hash":"530084cde92dcdc8082c08eebb8bfa1e64939b1eb0109aa4214c2b31205316d2","x-contextter-output-schema-hash":"04ad1b478d413eadf884c4cda30590e3f0e1ce328f2327586665e77323e5d0d8"}},"/api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}":{"patch":{"operationId":"siteAudit_alertRule_update","summary":"Update Site Audit alert rule","description":"Updates a monitoring alert through the same source-owned validation and recipient policy as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"alertRuleId","in":"path","required":true,"description":"Opaque workspace-scoped alertRuleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":500},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientEmails":{"type":"array","items":{"type":"string","format":"email","maxLength":320},"maxItems":100}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_alertRule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_ALERT_RULE_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sar_openapi123456","siteId":"sit_openapi123456","status":"active","name":"example","alertKind":"new_broken_links","comparisonPolicy":"previous_successful_run","suppressionWindowHours":0,"digestFrequency":"run_digest","recipientCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.alertRule.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}","x-contextter-capability-id":"siteAudit.alertRule.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"69a7a4d6982b7c290fb145c557522ef76851f760903b345d2d11f1acf37ec508","x-contextter-capability-output-schema-hash":"bca17a728df733843a2bf148ceb57a8b4540aa5f6eab309f3a45b21bf96510ad","x-contextter-input-schema-hash":"69a7a4d6982b7c290fb145c557522ef76851f760903b345d2d11f1acf37ec508","x-contextter-output-schema-hash":"bca17a728df733843a2bf148ceb57a8b4540aa5f6eab309f3a45b21bf96510ad"}},"/api/v1/workspaces/{workspaceId}/site-audit/link-opportunities/{opportunityId}/status":{"patch":{"operationId":"siteAudit_linkOpportunity_status_update","summary":"Update internal-link opportunity status","description":"Moves a persisted internal-link recommendation through the source-owned new, accepted, ignored, implemented, or stale lifecycle.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"opportunityId","in":"path","required":true,"description":"Opaque workspace-scoped opportunityId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","enum":["new","accepted","ignored","implemented","stale"]},"ignoredReason":{"type":"string","maxLength":2000}},"required":["status"],"additionalProperties":false},"example":{"status":"new"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_linkOpportunity_status_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_LINK_OPPORTUNITY_STATUS_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"slo_openapi123456","analysisId":"sla_openapi123456","status":"new","sourceUrl":"https://example.com/seo","targetUrl":"https://example.com/seo","opportunityType":"contextual_inlink_gap","priority":"critical","confidence":"high","score":0,"suggestedAnchorIntent":"example","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.linkOpportunity.status.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/site-audit/link-opportunities/{opportunityId}/status","x-contextter-capability-id":"siteAudit.linkOpportunity.status.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"0d433e60f0ea0828f3424d525310e729424c84aab417acc2e7e027ab2646adf9","x-contextter-capability-output-schema-hash":"7ed040420dd8907036dfde4428d521c7c73f34894496e9516551f6529ce3ed2c","x-contextter-input-schema-hash":"0d433e60f0ea0828f3424d525310e729424c84aab417acc2e7e027ab2646adf9","x-contextter-output-schema-hash":"7ed040420dd8907036dfde4428d521c7c73f34894496e9516551f6529ce3ed2c"}},"/api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}":{"patch":{"operationId":"siteAudit_schedule_update","summary":"Update Site Audit schedule","description":"Updates schedule cadence, crawl bounds, monthly limits, and failure policy through the source-owned monitoring lifecycle.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1,"maximum":1000000},"maxRunsPerMonth":{"type":"integer","minimum":1,"maximum":31},"monthlyBudgetEurCents":{"type":"integer","minimum":0,"maximum":1000000},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0,"maximum":180}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_schedule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SCHEDULE_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sas_openapi123456","siteId":"sit_openapi123456","status":"active","cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"runPolicy":"full_site","maxUrlsPerRun":1,"maxRunsPerMonth":1,"monthlyBudgetEurCents":0,"pauseOnFailure":false,"pauseOnInsufficientBalance":false,"jitterMinutes":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.schedule.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}","x-contextter-capability-id":"siteAudit.schedule.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"fd22efb4f92753526417992ca28f5b0b8f81b57651c0cf7b41b7fc6c10b0cd8c","x-contextter-capability-output-schema-hash":"b60d7319158f9b0bf55f2fb61723283429291ec3611c5cd986937a3fe400cdca","x-contextter-input-schema-hash":"fd22efb4f92753526417992ca28f5b0b8f81b57651c0cf7b41b7fc6c10b0cd8c","x-contextter-output-schema-hash":"b60d7319158f9b0bf55f2fb61723283429291ec3611c5cd986937a3fe400cdca"}},"/api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}":{"patch":{"operationId":"tracking_schedule_update","summary":"Update tracking schedule","description":"Updates a SERP schedule's settings or direct keywords. For list tracking, pass the same listId; changing the schedule's membership source requires a new schedule. Creating, updating or resuming a tracking schedule requires an admin, an approved bounded_auto connection, tracking:read, tracking:write, actions:quote, actions:approve and actions:execute, and a positive monthlyBudgetCapEurCents (minimum 500). Each recurring run revalidates the connection and executes through the paid-action budget and settlement lifecycle. Revocation stops future runs. Unbound legacy schedules require renewed authorization. Pausing and archiving do not require paid-execution permission.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","serpDepth","locationCode","languageCode","devices","monthlyBudgetCapEurCents","keywords","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Saved list whose current members are resolved before each run; do not also pass keywords."},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","serpDepth","locationCode","languageCode","devices","monthlyBudgetCapEurCents","listId","scheduleId"],"additionalProperties":false}]},"example":{"cadence":"daily","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["desktop"],"monthlyBudgetCapEurCents":500,"keywords":["example"]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_schedule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_SCHEDULE_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"trs_openapi123456","dataKind":"serp","status":"active","cadence":"daily","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["desktop"],"nextRunAt":"2026-01-01T00:00:00.000Z","createdAt":"2026-01-01T00:00:00.000Z","keywords":["example"]}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.schedule.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PATCH /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}","x-contextter-capability-id":"tracking.schedule.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write","tracking:read","actions:quote","actions:approve","actions:execute"],"x-contextter-minimum-role":"admin","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"4bf4d3678a7bba9211a8036484b27d0dcba42220934bc706637a0ad211d75ab0","x-contextter-capability-output-schema-hash":"1950c71f11d5d08e02edfe78887a549e92eed571fadae2a8ce8ade8daff7635c","x-contextter-input-schema-hash":"4bf4d3678a7bba9211a8036484b27d0dcba42220934bc706637a0ad211d75ab0","x-contextter-output-schema-hash":"1950c71f11d5d08e02edfe78887a549e92eed571fadae2a8ce8ade8daff7635c"}},"/api/v1/workspaces/{workspaceId}/content-projects":{"post":{"operationId":"content_project_create","summary":"Create content project","description":"Creates a Writer project through the same plan limits, input validation, creator assignment, settings normalization, and audit owner as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"mode":{"type":"string","enum":["full","lite"]},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"articleHtml":{"type":"string","minLength":1,"maxLength":500000},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30},"contentContext":{"type":"string","maxLength":10000},"contentBrief":{"type":"object","properties":{"pageGoal":{"type":"string","enum":["educate","sell","answer","template","convert"]},"primaryGoal":{"type":"string","maxLength":500},"targetAudience":{"type":"string","maxLength":250},"mustAnswerQuestion":{"type":"string","maxLength":300},"conversionGoal":{"type":"string","maxLength":250},"notes":{"type":"string","maxLength":5000}},"required":["pageGoal"],"additionalProperties":false},"settings":{"type":"object","properties":{"contentType":{"type":"string","minLength":1,"maxLength":100},"language":{"type":"string","minLength":1,"maxLength":100},"tone":{"type":"string","minLength":1,"maxLength":100},"perspective":{"type":"string","enum":["first","second","third"]},"narrativeVoice":{"type":"string","enum":["personal","editorial","brand"],"description":"Deprecated: the writer ignores it."},"targetLength":{"type":"object","properties":{"mode":{"type":"string","enum":["auto","manual"]},"manual":{"type":"object","properties":{"min":{"type":"integer","minimum":100,"maximum":10000},"max":{"type":"integer","minimum":100,"maximum":10000}},"required":["min","max"],"additionalProperties":false}},"required":["mode"],"additionalProperties":false,"description":"Deprecated: the writer covers the topic instead of a word target."},"targetScore":{"type":"integer","minimum":50,"maximum":100,"description":"Deprecated: the writer ignores it."},"callToAction":{"type":"object","properties":{"type":{"type":"string","enum":["newsletter","contact","purchase","download","demo","custom","none"]},"customText":{"type":"string","minLength":1,"maxLength":250}},"required":["type"],"additionalProperties":false,"description":"Deprecated: the writer ignores it."},"exclusions":{"type":"object","properties":{"topics":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30},"phrases":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":50},"custom":{"type":"string","maxLength":5000}},"additionalProperties":false}},"additionalProperties":false}},"required":["name","targetKeyword"],"additionalProperties":false},"example":{"name":"example","targetKeyword":"example"}}}},"responses":{"201":{"description":"Resource created.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Location":{"$ref":"#/components/headers/Location"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_create_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-201-CONTENT_PROJECT_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Resource created successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects","x-contextter-capability-id":"content.project.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"107d1121ada864eb9002368ce144fbaa6843bfe3eec615e1133d07d775a62542","x-contextter-capability-output-schema-hash":"a0130bbb0ad00c86ad843ebcc34451f9fddc96526e498238d6b6ba001a10b1e4","x-contextter-input-schema-hash":"107d1121ada864eb9002368ce144fbaa6843bfe3eec615e1133d07d775a62542","x-contextter-output-schema-hash":"a0130bbb0ad00c86ad843ebcc34451f9fddc96526e498238d6b6ba001a10b1e4"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/archive":{"post":{"operationId":"content_project_archive","summary":"Archive content project","description":"Archives a Writer project through the source lifecycle and revokes its open review cycles.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/archive","x-contextter-capability-id":"content.project.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief-guidance":{"post":{"operationId":"content_project_brief_guidance_update","summary":"Mark brief evidence heading","description":"Marks or clears a competitor-page heading in the current Writer brief. Rejects stale brief evidence and headings outside the current source snapshot.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"evidenceCollectedAt":{"type":"integer","minimum":0},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"headingIndex":{"type":"integer","minimum":0,"maximum":19},"decision":{"type":"string","enum":["important","exclude"],"nullable":true}},"required":["evidenceCollectedAt","sourceUrl","headingIndex","decision"],"additionalProperties":false},"example":{"evidenceCollectedAt":0,"sourceUrl":"https://example.com/seo","headingIndex":0,"decision":null}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_BRIEF_GUIDANCE_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.brief.guidance.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief-guidance","x-contextter-capability-id":"content.project.brief.guidance.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"b031eca0ef19e0163761e8c7162abc42e76a88ee335d7289b5f5aa4e1d50228d","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"b031eca0ef19e0163761e8c7162abc42e76a88ee335d7289b5f5aa4e1d50228d","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/duplicate":{"post":{"operationId":"content_project_duplicate","summary":"Duplicate content project","description":"Duplicates an accessible Writer project with its content, settings, structure and SEO metadata under the same project creation limits and assignment rules as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_create_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_DUPLICATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.duplicate","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/duplicate","x-contextter-capability-id":"content.project.duplicate","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-capability-output-schema-hash":"a0130bbb0ad00c86ad843ebcc34451f9fddc96526e498238d6b6ba001a10b1e4","x-contextter-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-output-schema-hash":"a0130bbb0ad00c86ad843ebcc34451f9fddc96526e498238d6b6ba001a10b1e4"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/restore":{"post":{"operationId":"content_project_restore","summary":"Restore content project","description":"Restores an archived Writer project under its existing stable public identity.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_RESTORE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.restore","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/restore","x-contextter-capability-id":"content.project.restore","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"5f3f3663eefb5959f40da5623dbc7657cf0143c54cab7ea2701017cc8f44d5fe","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/content-projects/{projectId}/sources":{"post":{"operationId":"content_project_source_add","summary":"Add project source","description":"Adds a URL or text source to the current Writer project under its source limits and queues it for the existing processing recovery flow.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"projectId","in":"path","required":true,"description":"Opaque workspace-scoped projectId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["url","text"]},"url":{"type":"string","format":"uri","maxLength":2048},"content":{"type":"string","minLength":1,"maxLength":10000}},"required":["type"],"additionalProperties":false},"example":{"type":"url"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/content_project_brief_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-CONTENT_PROJECT_SOURCE_ADD","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"prj_openapi123456","name":"example","targetKeyword":"example","secondaryKeywords":[],"mode":"full","status":"setup","documentRevision":0,"wordCount":0,"hasContent":false,"isArchived":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"content.project.source.add","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/sources","x-contextter-capability-id":"content.project.source.add","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["content:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"492803be637867779ff78737fab248638a28752b1abd13079a9f572bb00cdeb7","x-contextter-capability-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad","x-contextter-input-schema-hash":"492803be637867779ff78737fab248638a28752b1abd13079a9f572bb00cdeb7","x-contextter-output-schema-hash":"8598afa069af1ae33bfbdf0b07fe5ce3ed19fe000974469c3586d289e93555ad"}},"/api/v1/workspaces/{workspaceId}/decisions/{decisionId}/transitions":{"post":{"operationId":"decision_transition","summary":"Transition SEO decision","description":"Accepts, rejects, or supersedes a decision under optimistic concurrency control.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"decisionId","in":"path","required":true,"description":"Opaque workspace-scoped decisionId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"toStatus":{"type":"string","enum":["accepted","rejected","superseded"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"note":{"type":"string","minLength":1,"maxLength":2000}},"required":["expectedRevision","toStatus","reasonCode"],"additionalProperties":false},"example":{"expectedRevision":1,"toStatus":"accepted","reasonCode":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/decision_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-DECISION_TRANSITION","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"dec_openapi123456","origin":"contextter","actor":{"type":"human","publicId":"usr_openapi123456"},"status":"recorded","revision":1,"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"decision.transition","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/decisions/{decisionId}/transitions","x-contextter-capability-id":"decision.transition","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["decisions:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"bdc3ed97f1640dbecd0bb40a308b768661333b2423957e2a5533392056c2fbb7","x-contextter-capability-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3","x-contextter-input-schema-hash":"bdc3ed97f1640dbecd0bb40a308b768661333b2423957e2a5533392056c2fbb7","x-contextter-output-schema-hash":"a4de2aa59d3b1b6b15da93b4d8b027ca60b53e31d0c43198bfe4bb992b47c5a3"}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_ai_visibility":{"post":{"operationId":"seo_analyze_ai_visibility","summary":"Analyze AI visibility","description":"Reads or acquires bounded AI mentions, answers, citations, entities, and visibility evidence.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runs"],"default":"runs"}},"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":5,"default":5},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["mentions"],"default":"mentions"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["runId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"],"default":"include"},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]},"minItems":1,"maxItems":3,"default":["any"]},"includeSubdomains":{"type":"boolean","default":false}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"],"default":"include"},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]},"minItems":1,"maxItems":5,"default":["any"]},"matchType":{"type":"string","enum":["word_match","partial_match"],"default":"word_match"}},"required":["type","value"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2,"default":["chat_gpt","google"]},"locationCode":{"type":"integer","minimum":1,"maximum":99999999,"default":2840},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$","default":"en"},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":100}},"required":["targets"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runs"],"default":"runs"}},"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":5,"default":5},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["mentions"],"default":"mentions"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["runId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"],"default":"include"},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]},"minItems":1,"maxItems":3,"default":["any"]},"includeSubdomains":{"type":"boolean","default":false}},"required":["type","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"],"default":"include"},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]},"minItems":1,"maxItems":5,"default":["any"]},"matchType":{"type":"string","enum":["word_match","partial_match"],"default":"word_match"}},"required":["type","value"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2,"default":["chat_gpt","google"]},"locationCode":{"type":"integer","minimum":1,"maximum":99999999,"default":2840},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$","default":"en"},"limit":{"type":"integer","minimum":1,"maximum":1000,"default":100}},"required":["targets"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"fresh","request":{"targets":[{"type":"domain","value":"example","searchFilter":"include","searchScopes":["any"],"includeSubdomains":false}],"platforms":["chat_gpt","google"],"locationCode":2840,"languageCode":"en","limit":100},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_ai_visibility_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_AI_VISIBILITY","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_ai_visibility","x-contextter-required-scopes":["evidence:read","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_backlinks":{"post":{"operationId":"seo_analyze_backlinks","summary":"Analyze backlinks","description":"Returns bounded backlink evidence, referring domains, target health, and data gaps.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"],"default":"snapshot"},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["rows"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"includeRows":{"type":"boolean","default":true},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50}},"required":["snapshotId"],"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"],"default":"snapshot"},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["rows"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"overview","request":{"snapshotId":"bks_openapi123456","includeRows":false,"limit":20}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_backlinks_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_BACKLINKS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_backlinks","x-contextter-required-scopes":["backlinks:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_competitors":{"post":{"operationId":"seo_analyze_competitors","summary":"Analyze competitors","description":"Compares competitors and identifies gaps. For growth work, select market-relevant competitor keywords and persist them in a named opportunity list with seo_organize_keywords before tracking the shortlist.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparisons"],"default":"comparisons"}},"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["comparison"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["results"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"modules":{"type":"array","items":{"type":"string","enum":["comparisons","comparison","results"]},"minItems":1,"maxItems":3,"default":["comparison","results"]},"limit":{"type":"integer","minimum":1,"maximum":200,"default":10}},"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"],"default":"deep"}},"required":["ownDomain","competitorDomains","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparisons"],"default":"comparisons"}},"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["comparison"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["results"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"],"default":"deep"}},"required":["ownDomain","competitorDomains","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"fresh","request":{"ownDomain":"example","competitorDomains":["rival.example"],"locationCode":1,"languageCode":"de","analysisDepth":"deep"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_competitors_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_COMPETITORS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_competitors","x-contextter-required-scopes":["competition:read","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_domain":{"post":{"operationId":"seo_analyze_domain","summary":"Analyze a domain","description":"Returns stored domain intelligence or a bounded snapshot. Reuse ranked keywords in the Keyword Database and domain lists; verify existing membership before importing missing keywords with seo_organize_keywords.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"section":{"type":"string","enum":["profile"],"default":"profile"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["locationCode","languageCode","domain"],"additionalProperties":false},{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["snapshots"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["rankings"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["competitors"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"rowKind":{"type":"string","enum":["anchor","referringDomain","link","indexedPage","query","page"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["backlinks"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["opportunitySignals"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["backlinkTargetHealth"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"modules":{"type":"array","items":{"type":"string","enum":["profile","snapshots","snapshot","rankings","pages","competitors","backlinks","opportunitySignals","backlinkTargetHealth"]},"minItems":1,"maxItems":9,"default":["profile","snapshot","rankings","pages","competitors","opportunitySignals"]},"limit":{"type":"integer","minimum":1,"maximum":200,"default":10},"backlinkRowKind":{"type":"string","enum":["anchor","referringDomain","link","indexedPage","domain"],"default":"link"}},"required":["domain","locationCode","languageCode"],"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"section":{"type":"string","enum":["profile"],"default":"profile"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["locationCode","languageCode","domain"],"additionalProperties":false},{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["snapshots"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["rankings"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["competitors"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"rowKind":{"type":"string","enum":["anchor","referringDomain","link","indexedPage","query","page"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["backlinks"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["opportunitySignals"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["backlinkTargetHealth"]},"snapshotId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","snapshotId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"fresh","request":{"domain":"example.com","locationCode":1,"languageCode":"de","plan":{"rankedKeywordsLimit":500,"competitorsLimit":25,"anchorsLimit":100,"referringDomainsLimit":100,"indexedPagesLimit":50,"historyMonthsLimit":60,"topPagesLimit":50,"gapKeywordsLimit":250}},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_domain_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_DOMAIN","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_domain","x-contextter-required-scopes":["domains:read","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_rankings":{"post":{"operationId":"seo_analyze_rankings","summary":"Analyze rankings","description":"Returns current rankings, keyword history, competitors, schedules, and coverage.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["schedules"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["schedule"]},"scheduleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runs"]},"scheduleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["runGroup"]},"runGroupId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runGroupId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["overview"],"default":"overview"}},"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["rankings"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"device":{"type":"string","enum":["desktop","mobile"]},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["history"]}},"required":["domain","keyword","locationCode","languageCode","device","section"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["competitors"]}},"required":["section"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"modules":{"type":"array","items":{"type":"string","enum":["overview","rankings","competitors","schedules","runs","history"]},"minItems":1,"maxItems":6,"default":["overview","rankings","competitors"]},"scheduleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"histories":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"keyword":{"type":"string","minLength":1,"maxLength":500},"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"device":{"type":"string","enum":["desktop","mobile"]},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"limit":{"type":"integer","minimum":1,"maximum":200,"default":50}},"required":["domain","keyword","locationCode","languageCode","device"],"additionalProperties":false},"maxItems":20,"default":[]},"limit":{"type":"integer","minimum":1,"maximum":200,"default":10}},"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false}]},"example":{"mode":"stored","request":{"limit":20,"section":"schedules"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_rankings_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_RANKINGS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_rankings","x-contextter-required-scopes":["tracking:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_search_performance":{"post":{"operationId":"seo_analyze_search_performance","summary":"Analyze search performance","description":"Reads bounded GSC clicks, impressions, CTR, position, queries, pages, coverage, and change, with an optional source-owned refresh.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"],"default":"snapshot"}},"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["queries"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["coverage"]}},"required":["section"],"additionalProperties":false}]},{"type":"object","properties":{"input":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"previousFrom":{"type":"string","format":"date"},"previousTo":{"type":"string","format":"date"},"section":{"type":"string","enum":["compare"]}},"required":["from","to","previousFrom","previousTo","section"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["input","idempotencyKey"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"modules":{"type":"array","items":{"type":"string","enum":["snapshot","compare","queries","pages","coverage"]},"minItems":1,"maxItems":5,"default":["snapshot","queries","pages","coverage"]},"currentWindow":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"}},"required":["from","to"],"additionalProperties":false},"previousWindow":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"}},"required":["from","to"],"additionalProperties":false},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":200,"default":10}},"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["refresh","auto"]},"storedRequest":{"anyOf":[{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["snapshot"],"default":"snapshot"}},"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["queries"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["coverage"]}},"required":["section"],"additionalProperties":false}]},{"type":"object","properties":{"input":{"type":"object","properties":{"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"previousFrom":{"type":"string","format":"date"},"previousTo":{"type":"string","format":"date"},"section":{"type":"string","enum":["compare"]}},"required":["from","to","previousFrom","previousTo","section"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["input","idempotencyKey"],"additionalProperties":false}]},"refreshRequest":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["siteId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["mode","storedRequest","refreshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"stored","request":{"section":"snapshot"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_search_performance_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_SEARCH_PERFORMANCE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_search_performance","x-contextter-required-scopes":["search-performance:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_analyze_site":{"post":{"operationId":"seo_analyze_site","summary":"Analyze site health","description":"Combines stored audit health, findings, pages, trends, and optional bounded fresh crawling.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["sites"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["site"]},"siteId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","siteId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["schedules"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["schedule"]},"scheduleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["alertRules"]},"siteId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","siteId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["alertRule"]},"alertRuleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","alertRuleId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["linkAnalysis"]},"analysisId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","analysisId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["linkOpportunities"]},"analysisId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","analysisId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["linkOpportunity"]},"opportunityId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","opportunityId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runs"],"default":"runs"}},"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["run"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"severity":{"type":"string","enum":["info","warning","error","critical"]},"status":{"type":"string","minLength":1,"maxLength":80},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["findings"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["issueGroups"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["page"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"pageId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId","pageId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["links"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"pageId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId","pageId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["pages","resources"]},"outcome":{"type":"string","enum":["all","problems","redirects"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runLogs"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"issueKeys":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":50},"runLimit":{"type":"integer","minimum":1,"maximum":10},"issueLimit":{"type":"integer","minimum":1,"maximum":50},"section":{"type":"string","enum":["issueTrends"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"section":{"type":"string","enum":["structure"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"analysisMode":{"type":"string","enum":["deterministic","llm_assisted"]},"section":{"type":"string","enum":["aiReadiness"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparisons"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"deltaKind":{"type":"string","enum":["url_added","url_removed","metadata_status_changed","metadata_title_changed","metadata_meta_description_changed","metadata_canonical_changed","metadata_noindex_changed","metadata_robots_changed","metadata_structured_data_changed","finding_new","finding_fixed","finding_regressed","finding_persistent","link_added","link_removed","resource_added","resource_removed","resource_changed","segment_pressure_changed","tree_pressure_changed"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparison"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["alerts"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["export"]},"exportId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","exportId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["overview"]},"request":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"analysisId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"modules":{"type":"array","items":{"type":"string","enum":["sites","site","runs","run","findings","issueGroups","pages","issueTrends","structure","aiReadiness","linkAnalysis","linkOpportunities","alertRules","alerts","comparisons"]},"minItems":1,"maxItems":15,"default":["run","issueGroups","aiReadiness"]},"limit":{"type":"integer","minimum":1,"maximum":200,"default":10}},"additionalProperties":false}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["sites"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["site"]},"siteId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","siteId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["schedules"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["schedule"]},"scheduleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["alertRules"]},"siteId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","siteId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["alertRule"]},"alertRuleId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","alertRuleId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["linkAnalysis"]},"analysisId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","analysisId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["linkOpportunities"]},"analysisId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","analysisId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["linkOpportunity"]},"opportunityId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","opportunityId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runs"],"default":"runs"}},"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["run"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"severity":{"type":"string","enum":["info","warning","error","critical"]},"status":{"type":"string","minLength":1,"maxLength":80},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["findings"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["issueGroups"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["pages"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["page"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"pageId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId","pageId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["links"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"pageId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId","pageId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["pages","resources"]},"outcome":{"type":"string","enum":["all","problems","redirects"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["runLogs"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"issueKeys":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":50},"runLimit":{"type":"integer","minimum":1,"maximum":10},"issueLimit":{"type":"integer","minimum":1,"maximum":50},"section":{"type":"string","enum":["issueTrends"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"section":{"type":"string","enum":["structure"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"analysisMode":{"type":"string","enum":["deterministic","llm_assisted"]},"section":{"type":"string","enum":["aiReadiness"]},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","runId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparisons"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"deltaKind":{"type":"string","enum":["url_added","url_removed","metadata_status_changed","metadata_title_changed","metadata_meta_description_changed","metadata_canonical_changed","metadata_noindex_changed","metadata_robots_changed","metadata_structured_data_changed","finding_new","finding_fixed","finding_regressed","finding_persistent","link_added","link_removed","resource_added","resource_removed","resource_changed","segment_pressure_changed","tree_pressure_changed"]},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["comparison"]},"comparisonId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","comparisonId"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["alerts"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["export"]},"exportId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","exportId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"fresh","request":{"siteHost":"example.com","maxUrls":1,"renderingPolicy":"disabled"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_analyze_site_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ANALYZE_SITE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_site","x-contextter-required-scopes":["site-audit:read","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_build_seo_plan":{"post":{"operationId":"seo_build_seo_plan","summary":"Build an SEO plan","description":"Atomically creates or revises one strategy with bounded decisions and executable work items from evidence.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"plan":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["create"]},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"decisions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":20},"workItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"decisionKey":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":60}},"required":["mode","payload","decisions","workItems"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["revise"]},"strategyId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activateRevision":{"type":"boolean","default":true},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"decisions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":20},"workItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"decisionKey":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":60}},"required":["mode","strategyId","expectedRevision","payload","decisions","workItems"],"additionalProperties":false}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["plan","idempotencyKey"],"additionalProperties":false},"example":{"plan":{"mode":"create","payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"decisions":[{"key":"example","value":{"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"evidenceGapReasonCode":"example"}}],"workItems":[{"key":"example","value":{"title":"example","workType":"example","description":"example","priority":"critical","order":0,"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"}}}]},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_build_seo_plan_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_BUILD_SEO_PLAN","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"mode":"create","activated":false,"strategy":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"revision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"decisions":[],"workItems":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_build_seo_plan","x-contextter-required-scopes":["strategy:write","decisions:write","work-items:write"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_cancel_operation":{"post":{"operationId":"seo_cancel_operation","summary":"Cancel SEO operation","description":"Idempotently requests cancellation and returns the resulting durable operation state.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"input":{"type":"object","properties":{"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"expectedRevision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["operationId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["input","idempotencyKey"],"additionalProperties":false},"example":{"input":{"operationId":"aop_openapi123456"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentOperation_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_CANCEL_OPERATION","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aop_openapi123456","executionId":"aex_openapi123456","capabilityId":"action.site-audit.run","capabilityVersion":"1.0.0","quoteId":"aqt_openapi123456","approvalId":"aap_openapi123456","status":"accepted","revision":1,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_cancel_operation","x-contextter-required-scopes":["operations:cancel"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_create_content":{"post":{"operationId":"seo_create_content","summary":"Create SEO content","description":"Create a new content project or start with an existing article. Improve accepts HTML, Markdown or a URL from the workspace website and opens a Lite project with a quick score. Check Writer website preparation and start its bounded Site Audit when needed through the paid approval path. Read and update the current brief, preview paid heading rewrites, section expansions or outline refinements, add URL or text sources for processing, compare and restore document versions, and mark headings in optional competitor-page evidence.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"operation":{"type":"string","enum":["read","versions","context.check","structure.expand","structure.rewriteHeading","structure.refine","website.prepare","improve","version.restore","project","duplicate","brief.update","brief.guidance","metadata.update","source.add","document","structure.update","archive","restore","structure","generate"]},"input":{"anyOf":[{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["briefs"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["brief"]},"briefId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","briefId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["projects"],"default":"projects"}},"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["project"]},"projectId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","projectId"],"additionalProperties":false},{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":20,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["document"]},"projectId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","projectId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["structure"]},"projectId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","projectId"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["score"]},"projectId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","projectId"],"additionalProperties":false}]},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["list","get","compare"]},"versionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$"},"otherVersionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$"},"limit":{"type":"integer","minimum":1,"maximum":50},"offset":{"type":"integer","minimum":0,"maximum":500000},"length":{"type":"integer","minimum":1,"maximum":20000}},"required":["projectId","mode"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["projectId"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"intent":{"type":"string","enum":["quote","run"]},"maximumEurCents":{"type":"integer","minimum":1,"maximum":100},"section":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":240},"level":{"type":"integer","minimum":2,"maximum":5},"purpose":{"type":"string","maxLength":1000},"target_words":{"type":"integer","minimum":50,"maximum":2000}},"required":["heading","level"],"additionalProperties":false},"context":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":240}},"required":["heading"],"additionalProperties":false},"maxItems":30}},"required":["projectId","intent","section"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"intent":{"type":"string","enum":["quote","run"]},"maximumEurCents":{"type":"integer","minimum":1,"maximum":100},"heading":{"type":"string","minLength":1,"maxLength":240},"level":{"type":"integer","minimum":1,"maximum":6},"purpose":{"type":"string","maxLength":1000},"context":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":240}},"required":["heading"],"additionalProperties":false},"maxItems":30}},"required":["projectId","intent","heading","level"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"intent":{"type":"string","enum":["quote","run"]},"maximumEurCents":{"type":"integer","minimum":1,"maximum":100},"instruction":{"type":"string","minLength":1,"maxLength":1000},"currentStructure":{"type":"object","properties":{"h1":{"type":"string","minLength":1,"maxLength":240},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"heading":{"type":"string","minLength":1,"maxLength":240},"level":{"type":"integer","minimum":2,"maximum":6},"purpose":{"type":"string","maxLength":1000},"key_points":{"type":"array","items":{"type":"string","minLength":1,"maxLength":400},"maxItems":12},"target_words":{"type":"integer","minimum":50,"maximum":2000}},"required":["id","heading","level","target_words"],"additionalProperties":false},"minItems":1,"maxItems":30}},"required":["h1","sections"],"additionalProperties":false}},"required":["projectId","intent","instruction","currentStructure"],"additionalProperties":false},{"type":"object","properties":{"purpose":{"type":"string","enum":["writer"]}},"required":["purpose"],"additionalProperties":false},{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"language":{"type":"string","minLength":2,"maxLength":5},"format":{"type":"string","enum":["html","markdown"]},"content":{"type":"string","minLength":1,"maxLength":40000},"importUrl":{"type":"string","format":"uri","maxLength":2048},"pageUrl":{"type":"string","format":"uri","maxLength":2048}},"required":["name","targetKeyword","language"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"versionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$"},"baseRevision":{"type":"integer","minimum":0}},"required":["projectId","versionId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["full","lite"]},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"articleHtml":{"type":"string","minLength":1,"maxLength":500000},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30},"contentContext":{"type":"string","maxLength":10000},"contentBrief":{"type":"object","properties":{"pageGoal":{"type":"string","enum":["educate","sell","answer","template","convert"]},"primaryGoal":{"type":"string","maxLength":500},"targetAudience":{"type":"string","maxLength":250},"mustAnswerQuestion":{"type":"string","maxLength":300},"conversionGoal":{"type":"string","maxLength":250},"notes":{"type":"string","maxLength":5000}},"required":["pageGoal"],"additionalProperties":false},"settings":{"type":"object","properties":{"contentType":{"type":"string","minLength":1,"maxLength":100},"language":{"type":"string","minLength":1,"maxLength":100},"tone":{"type":"string","minLength":1,"maxLength":100},"perspective":{"type":"string","enum":["first","second","third"]},"narrativeVoice":{"type":"string","enum":["personal","editorial","brand"],"description":"Deprecated: the writer ignores it."},"targetLength":{"type":"object","properties":{"mode":{"type":"string","enum":["auto","manual"]},"manual":{"type":"object","properties":{"min":{"type":"integer","minimum":100,"maximum":10000},"max":{"type":"integer","minimum":100,"maximum":10000}},"required":["min","max"],"additionalProperties":false}},"required":["mode"],"additionalProperties":false,"description":"Deprecated: the writer covers the topic instead of a word target."},"targetScore":{"type":"integer","minimum":50,"maximum":100,"description":"Deprecated: the writer ignores it."},"callToAction":{"type":"object","properties":{"type":{"type":"string","enum":["newsletter","contact","purchase","download","demo","custom","none"]},"customText":{"type":"string","minLength":1,"maxLength":250}},"required":["type"],"additionalProperties":false,"description":"Deprecated: the writer ignores it."},"exclusions":{"type":"object","properties":{"topics":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":30},"phrases":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":50},"custom":{"type":"string","maxLength":5000}},"additionalProperties":false}},"additionalProperties":false}},"required":["name","targetKeyword"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["projectId"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"contentBrief":{"type":"object","properties":{"pageGoal":{"type":"string","enum":["educate","sell","answer","template","convert"]},"primaryGoal":{"type":"string","maxLength":500},"targetAudience":{"type":"string","maxLength":250},"mustAnswerQuestion":{"type":"string","maxLength":300},"conversionGoal":{"type":"string","maxLength":250},"notes":{"type":"string","maxLength":5000}},"required":["pageGoal"],"additionalProperties":false}},"required":["projectId","contentBrief"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"evidenceCollectedAt":{"type":"integer","minimum":0},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"headingIndex":{"type":"integer","minimum":0,"maximum":19},"decision":{"type":"string","enum":["important","exclude"],"nullable":true}},"required":["projectId","evidenceCollectedAt","sourceUrl","headingIndex","decision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"seoTitle":{"type":"string","maxLength":80},"seoDescription":{"type":"string","maxLength":200},"seoSlug":{"type":"string","maxLength":100}},"required":["projectId","seoTitle","seoDescription","seoSlug"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"type":{"type":"string","enum":["url","text"]},"url":{"type":"string","format":"uri","maxLength":2048},"content":{"type":"string","minLength":1,"maxLength":10000}},"required":["projectId","type"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0},"content":{"type":"string","maxLength":500000},"suggestionIds":{"type":"array","items":{"type":"string","pattern":"^csg_\\d+_\\d{8}$"},"minItems":1,"maxItems":30},"restoreVersionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$"}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0},"outline":{"type":"object","properties":{"h1":{"type":"string","minLength":1,"maxLength":300},"targetWordCount":{"type":"integer","minimum":100,"maximum":100000},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":300},"level":{"type":"integer","minimum":1,"maximum":4},"purpose":{"type":"string","minLength":1,"maxLength":1000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"targetWords":{"type":"integer","minimum":20,"maximum":5000}},"required":["heading","level","purpose","keyPoints","targetWords"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["h1","targetWordCount","sections"],"additionalProperties":false},"userRefined":{"type":"boolean","default":true}},"required":["projectId","baseRevision","outline"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["projectId"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["projectId"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false}],"description":"Input matching the selected content operation."},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["operation","input"],"additionalProperties":false,"description":"For a new article: website.prepare -> project -> brief.update (project contentBrief) -> structure -> generate -> read. Structure mini widgets structure.expand, structure.rewriteHeading and structure.refine offer quote then paid run and return a preview; save reviewed changes with structure.update. website.prepare returns an existing ready or preparing crawl without charge, or uses the existing paid Site Audit action with a 50 URL limit and no rendering. metadata.update saves reviewed SEO title, description and slug; source.add queues one URL or text source for the Writer processing flow. The brief contains optional competitor-page evidence; brief.guidance marks a heading in its current snapshot using evidenceCollectedAt. For an existing article: improve with content or importUrl -> score the project -> request suggestions -> apply them -> versions. context.check reads the last stored context review. versions lists, reads or compares; version.restore restores an earlier document with baseRevision. Paid and write operations require idempotencyKey."},"example":{"operation":"read","input":{"limit":20,"section":"briefs"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_create_content_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_CREATE_CONTENT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_create_content","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_find_opportunities":{"post":{"operationId":"seo_find_opportunities","summary":"Find SEO opportunities","description":"Ranks actionable opportunities from admitted evidence and can atomically refresh the stored deterministic decision snapshot before analysis.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"type":"object","properties":{"maxRecommendations":{"type":"integer","minimum":1,"maximum":50,"default":20},"freshnessPolicy":{"type":"string","enum":["storedOnly"],"default":"storedOnly"},"goal":{"type":"object","properties":{"lens":{"type":"string","enum":["balanced","growth","quick_wins","protect","technical"]},"objective":{"type":"string","enum":["qualified_leads","revenue","non_brand_visibility","defend_existing","technical_health","balanced"]},"effortBudget":{"type":"string","enum":["low","medium","high"]},"timeHorizon":{"type":"string","enum":["now","quarter","long_term"]},"riskTolerance":{"type":"string","enum":["low","medium","high"]}},"required":["lens","objective","effortBudget","timeHorizon","riskTolerance"],"additionalProperties":false}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["refresh"]},"refreshRequest":{"type":"object","properties":{"goalProfile":{"type":"object","properties":{"lens":{"type":"string","enum":["balanced","growth","quick_wins","protect","technical"]},"objective":{"type":"string","enum":["qualified_leads","revenue","non_brand_visibility","defend_existing","technical_health","balanced"]},"effortBudget":{"type":"string","enum":["low","medium","high"]},"timeHorizon":{"type":"string","enum":["now","quarter","long_term"]},"riskTolerance":{"type":"string","enum":["low","medium","high"]},"goalNote":{"type":"string","maxLength":500,"nullable":true},"targetMarketId":{"type":"string","minLength":1,"maxLength":200,"nullable":true},"targetEntityIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":20},"uncertaintyCodes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":10}},"required":["lens","objective","effortBudget","timeHorizon","riskTolerance","goalNote","targetMarketId","targetEntityIds","uncertaintyCodes"],"additionalProperties":false}},"additionalProperties":false},"analysisRequest":{"type":"object","properties":{"maxRecommendations":{"type":"integer","minimum":1,"maximum":50,"default":20},"freshnessPolicy":{"type":"string","enum":["storedOnly"],"default":"storedOnly"},"goal":{"type":"object","properties":{"lens":{"type":"string","enum":["balanced","growth","quick_wins","protect","technical"]},"objective":{"type":"string","enum":["qualified_leads","revenue","non_brand_visibility","defend_existing","technical_health","balanced"]},"effortBudget":{"type":"string","enum":["low","medium","high"]},"timeHorizon":{"type":"string","enum":["now","quarter","long_term"]},"riskTolerance":{"type":"string","enum":["low","medium","high"]}},"required":["lens","objective","effortBudget","timeHorizon","riskTolerance"],"additionalProperties":false}},"additionalProperties":false,"default":{}},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["mode","refreshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"stored","request":{"maxRecommendations":20,"freshnessPolicy":"storedOnly"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_find_opportunities_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_FIND_OPPORTUNITIES","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"ana_openapi123456","sourceSnapshotId":"snap_openapi123456","sourceVersion":"3.0.0","evaluatedAt":"2026-01-01T00:00:00.000Z","status":"available","recommendations":[],"basis":{"engineVersion":"1.0.0","policyVersion":"1.0.0"},"truncated":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_find_opportunities","x-contextter-required-scopes":["evidence:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_generate_metadata":{"post":{"operationId":"seo_generate_metadata","summary":"Generate SEO title and meta description","description":"Generates an SEO title, meta description and slug for a project or supplied text, with length and keyword checks. For a project, apply saves the result through the Writer's metadata service.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["project"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"}},"required":["kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["inline"]},"format":{"type":"string","enum":["html","markdown"],"description":"Format of content; results come back in the same format."},"content":{"type":"string","minLength":1,"maxLength":40000},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"contentType":{"type":"string","enum":["blog_post","comparison","listicle","checklist","how_to"],"description":"Article type for scanability scoring; comparison and checklist articles may use more lists."},"language":{"type":"string","pattern":"^[a-z]{2}(?:-[A-Za-z]{2})?$","description":"ISO language code of the text, e.g. de or en."},"pageUrl":{"type":"string","format":"uri","maxLength":2048,"description":"Published URL of this text; never linked to itself."}},"required":["kind","format","content","targetKeyword"],"additionalProperties":false}],"description":"Either a stored Crawl Foundry project or text the agent supplies inline."},"h1":{"type":"string","minLength":1,"maxLength":300},"apply":{"type":"boolean","description":"Project sources only: save the generated title, description and slug on the project."},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["source","idempotencyKey"],"additionalProperties":false,"description":"Example: {\"source\":{\"kind\":\"project\",\"projectId\":\"prj_…\"},\"idempotencyKey\":\"meta-1\"}"},"example":{"source":{"kind":"project","projectId":"prj_openapi123456"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_generate_metadata_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_GENERATE_METADATA","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"title":"example","metaDescription":"example","slug":"example","titleCharacters":0,"descriptionCharacters":0,"keywordInTitle":false,"keywordInDescription":false,"warnings":[],"costEurCents":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"metered"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_generate_metadata","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_get_account_status":{"post":{"operationId":"seo_get_account_status","summary":"Get SEO account and budget status","description":"Returns balance, execution policy, per-client limits, and the durable organization/workspace budget with current usage needed to plan safe agent work.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","enum":["summary","full"],"default":"summary"},"sections":{"type":"array","items":{"type":"string","enum":["balance","recentActivity","costBreakdown","dailyTrend"]},"minItems":1,"maxItems":4},"days":{"type":"integer","minimum":1,"maximum":90,"default":7},"includeZeroDays":{"type":"boolean","default":false},"from":{"type":"string","format":"date"},"to":{"type":"string","format":"date"},"activityLimit":{"type":"integer","minimum":1,"maximum":100,"default":5}},"additionalProperties":false},"example":{"detail":"summary","days":7,"includeZeroDays":false,"activityLimit":5}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_get_account_status_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_GET_ACCOUNT_STATUS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"execution":{"policy":"read_only","automaticExecutionEnabled":false}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_account_status","x-contextter-required-scopes":["usage:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_get_operation":{"post":{"operationId":"seo_get_operation","summary":"Get SEO operation","description":"Returns durable status, progress, partial results, cost state, and terminal result for one operation.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["operationId"],"additionalProperties":false},"example":{"operationId":"aop_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/getAgentOperation_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_GET_OPERATION","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"aop_openapi123456","executionId":"aex_openapi123456","capabilityId":"action.site-audit.run","capabilityVersion":"1.0.0","quoteId":"aqt_openapi123456","approvalId":"aap_openapi123456","status":"accepted","revision":1,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_operation","x-contextter-required-scopes":["operations:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_get_workspace_overview":{"post":{"operationId":"seo_get_workspace_overview","summary":"Get SEO workspace overview","description":"Returns workspace context, connected sources, coverage, freshness, and the most useful next actions without acquiring paid data.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_get_workspace_overview_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_GET_WORKSPACE_OVERVIEW","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"context":{"workspace":{"id":"ws_openapi123456","name":"example","lifecycle":"active"},"contentTrust":"untrustedWorkspaceContent","languages":[],"markets":[]},"sourceCoverage":[],"readiness":{"status":"ready","totalSources":0,"readySources":0,"attentionSources":0,"blockedSources":0},"nextActions":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_workspace_overview","x-contextter-required-scopes":["workspaces:read","evidence:read"],"x-contextter-minimum-role":"viewer","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_insert_links":{"post":{"operationId":"seo_insert_links","summary":"Insert and check links","description":"Places fitting internal links from the workspace website and supplied links into an article. checkQuality runs the Writer's free bounded check for anchor, density, crawl observation and placement without changing the article.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["project"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"}},"required":["kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["inline"]},"format":{"type":"string","enum":["html","markdown"],"description":"Format of content; results come back in the same format."},"content":{"type":"string","minLength":1,"maxLength":40000},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"contentType":{"type":"string","enum":["blog_post","comparison","listicle","checklist","how_to"],"description":"Article type for scanability scoring; comparison and checklist articles may use more lists."},"language":{"type":"string","pattern":"^[a-z]{2}(?:-[A-Za-z]{2})?$","description":"ISO language code of the text, e.g. de or en."},"pageUrl":{"type":"string","format":"uri","maxLength":2048,"description":"Published URL of this text; never linked to itself."}},"required":["kind","format","content","targetKeyword"],"additionalProperties":false}],"description":"Either a stored Crawl Foundry project or text the agent supplies inline."},"checkQuality":{"type":"boolean","description":"Return the Writer's free link-quality check for qualityLinks without changing the article."},"qualityLinks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":128},"url":{"type":"string","format":"uri","maxLength":2048},"anchorText":{"type":"string","maxLength":300},"paragraphLinkCount":{"type":"integer","minimum":0,"maximum":10000},"positionType":{"type":"string","enum":["body","footer","nav","aside"]}},"required":["id","url","anchorText","paragraphLinkCount","positionType"],"additionalProperties":false},"maxItems":30},"documentWordCount":{"type":"integer","minimum":0,"maximum":200000},"documentLinkCount":{"type":"integer","minimum":0,"maximum":10000},"links":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":2048},"title":{"type":"string","minLength":1,"maxLength":500},"type":{"type":"string","enum":["internal","external"]}},"required":["url","title","type"],"additionalProperties":false},"maxItems":30,"description":"Links you want placed; they win over discovered pages."},"discoverInternalLinks":{"type":"boolean","default":true,"description":"Also consider pages observed on the workspace website."},"existingLinks":{"type":"string","enum":["preserve","replace"],"default":"preserve"},"apply":{"type":"boolean","default":false,"description":"Project sources only: save the linked text as a new document revision."},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["source","idempotencyKey"],"additionalProperties":false,"description":"Example: {\"source\":{\"kind\":\"inline\",\"format\":\"html\",\"content\":\"<p>…</p>\",\"targetKeyword\":\"…\"},\"idempotencyKey\":\"links-1\"}"},"example":{"source":{"kind":"project","projectId":"prj_openapi123456"},"discoverInternalLinks":true,"existingLinks":"preserve","apply":false,"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_insert_links_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_INSERT_LINKS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"format":"html","textUnchanged":true,"placements":[],"candidatesConsidered":0,"removedLinks":0,"costEurCents":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_insert_links","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_manage_site_audit":{"post":{"operationId":"seo_manage_site_audit","summary":"Manage Site Audit","description":"Manages sites, verification, schedules, alert rules, link analysis, and opportunity state.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["configureSite"]},"input":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"includePatterns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1,"maximum":1000000},"maxDepth":{"type":"integer","minimum":0,"maximum":100},"perHostConcurrency":{"type":"integer","minimum":1,"maximum":100},"crawlDelayMs":{"type":"integer","minimum":0,"maximum":300000},"taskBatchSize":{"type":"integer","minimum":1,"maximum":10000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["baseUrl"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archiveSite"]},"input":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["siteId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["startVerification"]},"input":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]}},"required":["siteId","method"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["checkVerification"]},"input":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]}},"required":["siteId","method"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createSchedule"]},"input":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1,"maximum":1000000},"maxRunsPerMonth":{"type":"integer","minimum":1,"maximum":31},"monthlyBudgetEurCents":{"type":"integer","minimum":0,"maximum":1000000},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0,"maximum":180},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","timezone","hour","minute","siteId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["updateSchedule"]},"input":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1,"maximum":1000000},"maxRunsPerMonth":{"type":"integer","minimum":1,"maximum":31},"monthlyBudgetEurCents":{"type":"integer","minimum":0,"maximum":1000000},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0,"maximum":180},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["pauseSchedule"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"pauseReason":{"type":"string","maxLength":500}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["resumeSchedule"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archiveSchedule"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createAlertRule"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":500},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientEmails":{"type":"array","items":{"type":"string","format":"email","maxLength":320},"maxItems":100},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]}},"required":["name","siteId","alertKind"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["updateAlertRule"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":500},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientEmails":{"type":"array","items":{"type":"string","format":"email","maxLength":320},"maxItems":100},"alertRuleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["alertRuleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["pauseAlertRule"]},"input":{"type":"object","properties":{"alertRuleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["alertRuleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["resumeAlertRule"]},"input":{"type":"object","properties":{"alertRuleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["alertRuleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archiveAlertRule"]},"input":{"type":"object","properties":{"alertRuleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["alertRuleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["startLinkAnalysis"]},"input":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["deterministic"]},"recommendationGoal":{"type":"string","enum":["balanced","cluster","deep_pages","authority"]},"keywordHints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":200},"keywordSource":{"type":"string","enum":["manual","keyword_list"]},"keywordSourceId":{"type":"string","maxLength":2000}},"required":["runId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["updateLinkOpportunity"]},"input":{"type":"object","properties":{"opportunityId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^slo_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["new","accepted","ignored","implemented","stale"]},"ignoredReason":{"type":"string","maxLength":2000}},"required":["opportunityId","status"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false}]},"example":{"operation":"configureSite","input":{"baseUrl":"https://example.com/seo"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_manage_site_audit_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_MANAGE_SITE_AUDIT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sit_openapi123456","baseUrl":"https://example.com/seo","siteHost":"example.com","includePatterns":[],"excludePatterns":[],"additionalHosts":[],"includeSubdomains":false,"respectRobotsTxt":false,"maxUrls":1,"maxDepth":0,"perHostConcurrency":1,"crawlDelayMs":0,"taskBatchSize":1,"renderingPolicy":"disabled","authorizationStatus":"unverified","state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_site_audit","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_manage_tracking":{"post":{"operationId":"seo_manage_tracking","summary":"Manage rank tracking","description":"Use setup to save a selected keyword list, reuse a matching schedule, optionally refresh missing search volume and verify a baseline. Repeat the identical setup request and idempotency key to resume; paid steps share taskId and its aggregate budget. Creates or changes schedules with create/update; run measures an existing schedule. A listId follows current list membership on each run. Creating, updating or resuming a tracking schedule requires an admin, an approved bounded_auto connection, tracking:read, tracking:write, actions:quote, actions:approve and actions:execute, and a positive monthlyBudgetCapEurCents (minimum 500). Each recurring run revalidates the connection and executes through the paid-action budget and settlement lifecycle. Revocation stops future runs. Unbound legacy schedules require renewed authorization. Pausing and archiving do not require paid-execution permission.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["create"]},"input":{"anyOf":[{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["monthlyBudgetCapEurCents","keywords"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Saved list whose current members are resolved before each run; do not also pass keywords."}},"required":["monthlyBudgetCapEurCents","listId"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":5,"description":"Copy current members into a fixed selection. Source lists remain unchanged. For large lists, read and select keywords explicitly."},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":200},"excludeKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":200}},"required":["monthlyBudgetCapEurCents","listIds"],"additionalProperties":false}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["update"]},"input":{"anyOf":[{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","serpDepth","locationCode","languageCode","devices","monthlyBudgetCapEurCents","keywords","scheduleId"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Saved list whose current members are resolved before each run; do not also pass keywords."},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","serpDepth","locationCode","languageCode","devices","monthlyBudgetCapEurCents","listId","scheduleId"],"additionalProperties":false}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["pause"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["resume"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archive"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["scheduleId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["setup"]},"input":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"selection":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["list"]},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["kind","listId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["selection"]},"organization":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["runId","candidateKeywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false}]}},"required":["kind","organization"],"additionalProperties":false}]},"metrics":{"type":"string","enum":["stored","refresh_missing"],"default":"stored"},"metricsMaxAgeDays":{"type":"integer","minimum":1,"maximum":90,"default":30},"baseline":{"type":"string","enum":["skip","run"],"default":"skip"},"taskId":{"type":"string","minLength":1,"maxLength":128}},"required":["locationCode","languageCode","monthlyBudgetCapEurCents","selection"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["run"]},"input":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false}]},"example":{"operation":"create","input":{"cadence":"weekly","serpDepth":"top10","devices":["mobile"],"monthlyBudgetCapEurCents":500,"keywords":["example"]},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_manage_tracking_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_MANAGE_TRACKING","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"status":"prepared","phase":"membership","preparation":{"item":{"id":"trs_openapi123456","dataKind":"serp","status":"active","cadence":"daily","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["desktop"],"nextRunAt":"2026-01-01T00:00:00.000Z","createdAt":"2026-01-01T00:00:00.000Z","keywords":["example"]},"scheduleReused":false,"listId":"kwl_openapi123456","keywords":["example"],"memberCount":1,"preparedAt":"2026-01-01T00:00:00.000Z","metrics":{"packageId":"search_volume","freshKeywords":[],"noDataKeywords":[],"missingKeywords":[]}},"next":"repeat_setup"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_tracking","x-contextter-required-scopes":["tracking:write","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_manage_work":{"post":{"operationId":"seo_manage_work","summary":"Manage durable SEO work","description":"Reads durable SEO memory and applies the few bounded decision and work-item changes an agent needs after planning.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["overview"]},"input":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":50,"default":20},"includeTerminal":{"type":"boolean","default":false}},"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["getWorkItem"]},"input":{"type":"object","properties":{"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["workItemId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createWorkItem"]},"input":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["progressWorkItem"]},"input":{"type":"object","properties":{"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"priority":{"type":"object","properties":{"priority":{"type":"string","enum":["critical","high","normal","low"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["priority","reasonCode"],"additionalProperties":false},"order":{"type":"object","properties":{"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["order","reasonCode"],"additionalProperties":false},"transition":{"type":"object","properties":{"toStatus":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"note":{"type":"string","minLength":1,"maxLength":2000}},"required":["toStatus","reasonCode"],"additionalProperties":false}},"required":["workItemId","expectedRevision"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["recordDecision"]},"input":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false}]},"example":{"operation":"overview","input":{"limit":20,"includeTerminal":false}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_manage_work_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_MANAGE_WORK","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"activeStrategy":null,"decisions":[],"work":[],"includedTerminal":false,"truncated":{"decisions":false,"workItems":false}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_work","x-contextter-required-scopes":["strategy:read","decisions:read","work-items:read","outcomes:read","verification:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_optimize_content":{"post":{"operationId":"seo_optimize_content","summary":"Optimize SEO content","description":"Preview or apply stored deep-check suggestions, improve text against quick findings or instructions, quote and rewrite one exact Writer text selection, or quote and run the section-based Optimizer v4 on a saved article version. Applying a selection or v4 result saves a new article version.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"source":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["project"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"}},"required":["kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["inline"]},"format":{"type":"string","enum":["html","markdown"],"description":"Format of content; results come back in the same format."},"content":{"type":"string","minLength":1,"maxLength":40000},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"contentType":{"type":"string","enum":["blog_post","comparison","listicle","checklist","how_to"],"description":"Article type for scanability scoring; comparison and checklist articles may use more lists."},"language":{"type":"string","pattern":"^[a-z]{2}(?:-[A-Za-z]{2})?$","description":"ISO language code of the text, e.g. de or en."},"pageUrl":{"type":"string","format":"uri","maxLength":2048,"description":"Published URL of this text; never linked to itself."}},"required":["kind","format","content","targetKeyword"],"additionalProperties":false}],"description":"Either a stored Crawl Foundry project or text the agent supplies inline."},"goal":{"type":"string","enum":["fixQualityFindings","instructions","applySuggestions","optimizer","selection"],"default":"fixQualityFindings","description":"fixQualityFindings uses free quality findings; instructions follows your guidance; applySuggestions uses stored deep-check suggestions; selection rewrites one Writer selection; optimizer runs Optimizer v4."},"instructions":{"type":"string","minLength":1,"maxLength":5000,"description":"Required when goal is instructions; optional extra guidance otherwise."},"suggestionIds":{"type":"array","items":{"type":"string","pattern":"^csg_\\d+_\\d{8}$"},"minItems":1,"maxItems":30,"description":"For applySuggestions, select IDs from the current score read. Omit to use all stored suggestions."},"selectionHtml":{"type":"string","minLength":1,"maxLength":20000,"description":"For goal selection: one exact, unique inline HTML fragment from the current project article. Block elements cannot be selected."},"command":{"type":"string","enum":["improve","expand","shorten","fix","simplify","continue"],"description":"For goal selection: the Writer editor command to apply to selectionHtml."},"baseRevision":{"type":"integer","minimum":0,"description":"Required when applying stored suggestions or running a Writer selection. Use the revision from the preview or selection quote."},"intent":{"type":"string","enum":["quote","run"],"description":"For goal optimizer or selection: request a price ceiling or run after confirming it."},"versionId":{"type":"string","pattern":"^cvn_[1-9]\\d{0,8}$","description":"Saved current article version for the v4 optimizer."},"presetId":{"type":"string","enum":["balanced","seo_focused","readability_first","engagement_driven","eeat_authority","custom"]},"customWeights":{"type":"object","properties":{"layerWeights":{"type":"object","properties":{"layer1":{"type":"number","minimum":0,"maximum":1},"layer2":{"type":"number","minimum":0,"maximum":1},"layer3":{"type":"number","minimum":0,"maximum":1}},"required":["layer1","layer2","layer3"],"additionalProperties":false},"metricWeights":{"type":"object","properties":{"specificity":{"type":"number","minimum":0,"maximum":1},"experience":{"type":"number","minimum":0,"maximum":1},"limits":{"type":"number","minimum":0,"maximum":1},"voice":{"type":"number","minimum":0,"maximum":1},"intentFit":{"type":"number","minimum":0,"maximum":1},"coverage":{"type":"number","minimum":0,"maximum":1},"factSupport":{"type":"number","minimum":0,"maximum":1},"sourceAuthority":{"type":"number","minimum":0,"maximum":1},"readability":{"type":"number","minimum":0,"maximum":1},"structure":{"type":"number","minimum":0,"maximum":1},"scanability":{"type":"number","minimum":0,"maximum":1},"density":{"type":"number","minimum":0,"maximum":1},"hook":{"type":"number","minimum":0,"maximum":1},"keywordFoundation":{"type":"number","minimum":0,"maximum":1},"links":{"type":"number","minimum":0,"maximum":1}},"required":["specificity","experience","limits","voice","intentFit","coverage","factSupport","sourceAuthority","readability","structure","scanability","density","hook","keywordFoundation","links"],"additionalProperties":false},"thresholds":{"type":"object","properties":{"blocking":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":100}},"target":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":100}},"acceptable":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":100}}},"additionalProperties":false}},"required":["layerWeights","metricWeights"],"additionalProperties":false},"skipBlocking":{"type":"boolean"},"skipCoherence":{"type":"boolean"},"requestId":{"type":"string","pattern":"^[A-Za-z0-9-]{16,64}$","description":"For a v4 run, the requestId from the quote."},"maximumEurCents":{"type":"integer","minimum":1,"maximum":1000000,"description":"For a v4 or Writer selection run, confirm the quote's maximum price in EUR cents."},"apply":{"type":"boolean","default":false,"description":"Project sources only: save the improved text as a new document revision."},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["source","idempotencyKey"],"additionalProperties":false,"description":"Example: {\"source\":{\"kind\":\"project\",\"projectId\":\"prj_…\"},\"goal\":\"fixQualityFindings\",\"idempotencyKey\":\"opt-1\"}"},"example":{"source":{"kind":"project","projectId":"prj_openapi123456"},"goal":"fixQualityFindings","apply":false,"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_optimize_content_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_OPTIMIZE_CONTENT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"format":"html","scoreBefore":null,"scoreAfter":null,"measuredDimensions":0,"totalDimensions":0,"unmeasuredDimensionsNotice":"example","addressedFindings":[],"costEurCents":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_optimize_content","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_organize_keywords":{"post":{"operationId":"seo_organize_keywords","summary":"Organize keywords","description":"Persists keywords, lists, tags, and workflow status. applyOrganization ingests selected keywords and fills a named list atomically; reuse existing lists with addListMembers. Verify membership before tracking.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["applyOrganization"]},"input":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["runId","candidateKeywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false}]},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createKeyword"]},"input":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["importResearchCandidates"]},"input":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["runId","candidateKeywords"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archiveKeyword"]},"input":{"type":"object","properties":{"keywordId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["keywordId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["restoreKeyword"]},"input":{"type":"object","properties":{"keywordId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["keywordId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["setWorkflowStatus"]},"input":{"type":"object","properties":{"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["keywordIds","statusName"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createList"]},"input":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["updateList"]},"input":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500,"nullable":true},"color":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"icon":{"type":"string","minLength":1,"maxLength":80,"nullable":true}},"required":["listId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["archiveList"]},"input":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["listId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["addListMembers"]},"input":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["listId","keywordIds"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["removeListMembers"]},"input":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["listId","keywordIds"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["createTag"]},"input":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["updateTag"]},"input":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["tagId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["removeTag"]},"input":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["tagId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["assignTag"]},"input":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"operation":{"type":"string","enum":["assign","unassign"]}},"required":["tagId","keywordIds","operation"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["renameCluster"]},"input":{"type":"object","properties":{"clusterId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100}},"required":["clusterId","label"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false}]},"example":{"operation":"applyOrganization","input":{"source":"create","ingestion":{"keywords":[{"keyword":"example"}]},"tags":[]},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_organize_keywords_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_ORGANIZE_KEYWORDS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"source":"create","ingestion":{"requestedCount":1,"insertedCount":0,"restoredCount":0,"existingCount":0,"items":[{"id":"kwd_openapi123456","keyword":"example","state":"active"}]},"keywordIds":["kwd_openapi123456"],"tags":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_organize_keywords","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_publish_content":{"post":{"operationId":"seo_publish_content","summary":"Publish SEO content","description":"Validates destination and revision, then dispatches an explicitly approved publication.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["destinations"],"default":"destinations"}},"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["dispatches"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["dispatch"]},"dispatchId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","dispatchId"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["destinations"],"default":"destinations"}},"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","minLength":1,"maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":100,"default":20},"cursor":{"type":"string","minLength":1,"maxLength":2048},"section":{"type":"string","enum":["dispatches"]}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","enum":["dispatch"]},"dispatchId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},"required":["section","dispatchId"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"stored","request":{"limit":20,"section":"destinations"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_publish_content_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_PUBLISH_CONTENT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"quotedPaid","quoteId":"aqt_openapi123456"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_publish_content","x-contextter-required-scopes":["publishing:write","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_research_keywords":{"post":{"operationId":"seo_research_keywords","summary":"Research keywords","description":"Reads existing research or acquires bounded keyword evidence. For growth work, persist selected candidates into populated lists with seo_organize_keywords; refreshMetrics fills selected keyword data gaps.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["stored"]},"request":{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["keywords","keyword","detail","history","missingData","keywordLists","keywordList","keywordListMembers","keywordTags","keywordClusters","researchRuns","researchRun","researchResults","dataRuns","dataRun"]},"keywordId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"listId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2048}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"input":{"type":"object","properties":{"section":{"type":"string","enum":["researchSearch"]},"keywordId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"listId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2048}},"required":["section"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["input","idempotencyKey"],"additionalProperties":false}]}},"required":["mode","request"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["fresh"]},"request":{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["refreshMetrics"]},"request":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","request","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["auto"]},"storedRequest":{"anyOf":[{"type":"object","properties":{"section":{"type":"string","enum":["keywords","keyword","detail","history","missingData","keywordLists","keywordList","keywordListMembers","keywordTags","keywordClusters","researchRuns","researchRun","researchResults","dataRuns","dataRun"]},"keywordId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"listId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2048}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"input":{"type":"object","properties":{"section":{"type":"string","enum":["researchSearch"]},"keywordId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"listId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"runId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"search":{"type":"string","minLength":1,"maxLength":200},"limit":{"type":"integer","minimum":1,"maximum":100},"cursor":{"type":"string","minLength":1,"maxLength":2048}},"required":["section"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["input","idempotencyKey"],"additionalProperties":false}]},"freshRequest":{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"taskId":{"type":"string","minLength":1,"maxLength":160}},"required":["mode","storedRequest","freshRequest","idempotencyKey"],"additionalProperties":false}]},"example":{"mode":"stored","request":{"section":"keywords","limit":20}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_research_keywords_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_RESEARCH_KEYWORDS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"capabilityId":"keyword.list","capabilityVersion":"1.0.0","projectionVersion":"1.0.0","availability":"available","state":"full","summary":[],"items":[],"coverage":[{"sourceId":"example","status":"ready"}],"warnings":[],"dataGaps":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_research_keywords","x-contextter-required-scopes":["keyword-research:read","actions:quote"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_score_content":{"post":{"operationId":"seo_score_content","summary":"Score SEO content quality","description":"Run a free quick score, request a paid deep check for a project, or request paid AI suggestions from its current deep check.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["quote"]},"kind":{"type":"string","enum":["deep","suggestions"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"}},"required":["mode","kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick"]},"source":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["project"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"}},"required":["kind","projectId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["inline"]},"format":{"type":"string","enum":["html","markdown"],"description":"Format of content; results come back in the same format."},"content":{"type":"string","minLength":1,"maxLength":40000},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"contentType":{"type":"string","enum":["blog_post","comparison","listicle","checklist","how_to"],"description":"Article type for scanability scoring; comparison and checklist articles may use more lists."},"language":{"type":"string","pattern":"^[a-z]{2}(?:-[A-Za-z]{2})?$","description":"ISO language code of the text, e.g. de or en."},"pageUrl":{"type":"string","format":"uri","maxLength":2048,"description":"Published URL of this text; never linked to itself."}},"required":["kind","format","content","targetKeyword"],"additionalProperties":false}],"description":"Either a stored Crawl Foundry project or text the agent supplies inline."}},"required":["mode","source"],"additionalProperties":false,"description":"Free, instant deterministic score. No model call."},{"type":"object","properties":{"mode":{"type":"string","enum":["deep"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"maximumEurCents":{"type":"integer","minimum":0,"maximum":100}},"required":["mode","projectId","idempotencyKey"],"additionalProperties":false,"description":"Paid rubric check of a project when the evaluator is enabled. Runs in the background; read with seo_create_content read section score. FEATURE_DISABLED means unavailable on this deployment."},{"type":"object","properties":{"mode":{"type":"string","enum":["suggestions"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"},"maximumEurCents":{"type":"integer","minimum":0,"maximum":100}},"required":["mode","projectId","idempotencyKey","maximumEurCents"],"additionalProperties":false,"description":"Paid AI suggestions for findings in the current project deep assessment. Read the completed suggestions with seo_create_content read section score."}],"description":"Example: {\"mode\":\"quick\",\"source\":{\"kind\":\"inline\",\"format\":\"markdown\",\"content\":\"# …\",\"targetKeyword\":\"…\"}}"},"example":{"mode":"quote","kind":"deep","projectId":"prj_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_score_content_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_SCORE_CONTENT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"mode":"quote","kind":"deep","projectId":"example","maximumEurCents":0,"evaluatorAvailable":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"freeStoredRead"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_score_content","x-contextter-required-scopes":["content:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/jobs/seo_verify_results":{"post":{"operationId":"seo_verify_results","summary":"Verify SEO results","description":"Requests automatic result measurement and reads its durable verification run; Crawl Foundry records the outcome.","tags":["Agent jobs"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"operation":{"type":"string","enum":["start"]},"input":{"type":"object","properties":{"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["metricDefinitions","observationWindow","workItemId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input","idempotencyKey"],"additionalProperties":false},{"type":"object","properties":{"operation":{"type":"string","enum":["get"]},"input":{"type":"object","properties":{"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["verificationRunId"],"additionalProperties":false},"idempotencyKey":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x20-\\x7e]+$"}},"required":["operation","input"],"additionalProperties":false}]},"example":{"operation":"start","input":{"metricDefinitions":["example"],"observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"workItemId":"wrk_openapi123456"},"idempotencyKey":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_verify_results_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_VERIFY_RESULTS","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"workItem":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"verificationRun":{"id":"vrf_openapi123456","workItemId":"wrk_openapi123456","status":"queued","revision":1,"requestedBy":{"type":"human","publicId":"usr_openapi123456"},"metricDefinitions":["example"],"observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"platform.describe","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"402":{"description":"Request failed with one of: CREDITS_INSUFFICIENT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CREDITS_INSUFFICIENT"}]},"examples":{"CREDITS_INSUFFICIENT":{"$ref":"#/components/examples/AgentPlatformError_CREDITS_INSUFFICIENT"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED, APPROVAL_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"},{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"},"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"409":{"description":"Request failed with one of: IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"422":{"description":"Request failed with one of: BOUNDS_EXCEEDED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_BOUNDS_EXCEEDED"}]},"examples":{"BOUNDS_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_BOUNDS_EXCEEDED"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: SOURCE_DATA_UNAVAILABLE, CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"SOURCE_DATA_UNAVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_SOURCE_DATA_UNAVAILABLE"},"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}},"504":{"description":"Request failed with one of: TIMEOUT.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_TIMEOUT"}]},"examples":{"TIMEOUT":{"$ref":"#/components/examples/AgentPlatformError_TIMEOUT"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/jobs/seo_verify_results","x-contextter-required-scopes":["work-items:write","verification:execute","verification:read"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"none","x-contextter-request-body-maximum-bytes":262144,"x-contextter-response-maximum-bytes":524288}},"/api/v1/workspaces/{workspaceId}/keyword-lists":{"post":{"operationId":"keywordList_create","summary":"Create keyword list","description":"Creates one manual Keyword Database list under the source owner's limits and uniqueness rules.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"example":{"name":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordList_create_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_LIST_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"kwl_openapi123456","name":"example","mode":"manual","memberCount":0,"sortOrder":0,"state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordList.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-lists","x-contextter-capability-id":"keywordList.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"d15a73a59066f49b7408315aef3601d467ad6f3617e0ed3b8da61ff2e01542d9","x-contextter-capability-output-schema-hash":"3af3fd16b165fc759dbb41053aa448c7aa2ba9cb8e3e53ca01025abaeefda312","x-contextter-input-schema-hash":"d15a73a59066f49b7408315aef3601d467ad6f3617e0ed3b8da61ff2e01542d9","x-contextter-output-schema-hash":"3af3fd16b165fc759dbb41053aa448c7aa2ba9cb8e3e53ca01025abaeefda312"}},"/api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/archive":{"post":{"operationId":"keywordList_archive","summary":"Archive keyword list","description":"Soft-deletes one Keyword Database list while retaining its durable identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"listId","in":"path","required":true,"description":"Opaque workspace-scoped listId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordList_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_LIST_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"kwl_openapi123456","name":"example","mode":"manual","memberCount":0,"sortOrder":0,"state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordList.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/archive","x-contextter-capability-id":"keywordList.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"44c26a51136acf5f07f441a7280d895afd38b056e0166350dccc33cf8941173f","x-contextter-capability-output-schema-hash":"785db75a72a687b6ab1625fd54dc6b0f8d8a5f26842025182c84bd729c1c9fb1","x-contextter-input-schema-hash":"44c26a51136acf5f07f441a7280d895afd38b056e0166350dccc33cf8941173f","x-contextter-output-schema-hash":"785db75a72a687b6ab1625fd54dc6b0f8d8a5f26842025182c84bd729c1c9fb1"}},"/api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/member-removals":{"post":{"operationId":"keywordList_members_remove","summary":"Remove keyword list members","description":"Removes bounded active workspace keywords from one manual Keyword Database list without deleting the keywords.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"listId","in":"path","required":true,"description":"Opaque workspace-scoped listId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["keywordIds"],"additionalProperties":false},"example":{"keywordIds":["kwd_openapi123456"]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordList_members_remove_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_LIST_MEMBERS_REMOVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"listId":"kwl_openapi123456","requestedCount":1,"changedCount":0,"unchangedCount":0,"memberCount":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordList.members.remove","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/member-removals","x-contextter-capability-id":"keywordList.members.remove","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"c54b65aaca1163d5e1f9a55e412c4355ed671ecb59e7e74e318a36c2e636b986","x-contextter-capability-output-schema-hash":"956913f467a106ec23fa1a51487c17e6cb47c496ea6f6f17ccf8cdc068a8a413","x-contextter-input-schema-hash":"c54b65aaca1163d5e1f9a55e412c4355ed671ecb59e7e74e318a36c2e636b986","x-contextter-output-schema-hash":"956913f467a106ec23fa1a51487c17e6cb47c496ea6f6f17ccf8cdc068a8a413"}},"/api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/members":{"post":{"operationId":"keywordList_members_add","summary":"Add keyword list members","description":"Adds bounded active workspace keywords to one manual Keyword Database list after atomic prevalidation.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"listId","in":"path","required":true,"description":"Opaque workspace-scoped listId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["keywordIds"],"additionalProperties":false},"example":{"keywordIds":["kwd_openapi123456"]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordList_members_remove_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_LIST_MEMBERS_ADD","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"listId":"kwl_openapi123456","requestedCount":1,"changedCount":0,"unchangedCount":0,"memberCount":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordList.members.add","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/members","x-contextter-capability-id":"keywordList.members.add","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"c54b65aaca1163d5e1f9a55e412c4355ed671ecb59e7e74e318a36c2e636b986","x-contextter-capability-output-schema-hash":"956913f467a106ec23fa1a51487c17e6cb47c496ea6f6f17ccf8cdc068a8a413","x-contextter-input-schema-hash":"c54b65aaca1163d5e1f9a55e412c4355ed671ecb59e7e74e318a36c2e636b986","x-contextter-output-schema-hash":"956913f467a106ec23fa1a51487c17e6cb47c496ea6f6f17ccf8cdc068a8a413"}},"/api/v1/workspaces/{workspaceId}/keyword-organization-workflows":{"post":{"operationId":"keyword_organization_apply","summary":"Apply keyword organization workflow","description":"Atomically ingests bounded keywords and applies an optional list, tags, and workflow status to every resulting keyword.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["runId","candidateKeywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false}]},"example":{"source":"create","ingestion":{"keywords":[{"keyword":"example"}]},"tags":[]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keyword_organization_apply_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_ORGANIZATION_APPLY","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"source":"create","ingestion":{"requestedCount":1,"insertedCount":0,"restoredCount":0,"existingCount":0,"items":[{"id":"kwd_openapi123456","keyword":"example","state":"active"}]},"keywordIds":["kwd_openapi123456"],"tags":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keyword.organization.apply","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-organization-workflows","x-contextter-capability-id":"keyword.organization.apply","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"f92f5c646b0cfaa318cd3ebdeec26b0ea775b307f5871bc57bec6b49717852d6","x-contextter-capability-output-schema-hash":"4842284f1aa4f79bb2a454fa739db60f2956b49b7b585e915624c046bce1c3b8","x-contextter-input-schema-hash":"f92f5c646b0cfaa318cd3ebdeec26b0ea775b307f5871bc57bec6b49717852d6","x-contextter-output-schema-hash":"4842284f1aa4f79bb2a454fa739db60f2956b49b7b585e915624c046bce1c3b8"}},"/api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}/candidate-imports":{"post":{"operationId":"keywordResearch_candidates_import","summary":"Import keyword research candidates","description":"Imports a bounded, fully prevalidated selection from one tenant-bound Keyword Research run into the workspace Keyword Database through the same source-owned ingestion rules as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"runId","in":"path","required":true,"description":"Opaque workspace-scoped runId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["candidateKeywords"],"additionalProperties":false},"example":{"candidateKeywords":["example"]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordResearch_candidates_import_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_RESEARCH_CANDIDATES_IMPORT","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"runId":"krr_openapi123456","requestedCount":1,"importedCount":0,"existingCount":0,"items":[{"id":"kwd_openapi123456","keyword":"example","state":"active"}]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordResearch.candidates.import","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}/candidate-imports","x-contextter-capability-id":"keywordResearch.candidates.import","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"762a2ae4c353965346703aabffb2602cfac1e4218ae5789d22c80e3755195874","x-contextter-capability-output-schema-hash":"53c78e2e44de831062363d18d878a89ba35d266173fe08440ac92367d4c970c9","x-contextter-input-schema-hash":"762a2ae4c353965346703aabffb2602cfac1e4218ae5789d22c80e3755195874","x-contextter-output-schema-hash":"53c78e2e44de831062363d18d878a89ba35d266173fe08440ac92367d4c970c9"}},"/api/v1/workspaces/{workspaceId}/keyword-tags":{"post":{"operationId":"keywordTag_create","summary":"Create keyword tag","description":"Creates one policy-bounded Keyword Database tag through the same source-owned validation and uniqueness rules as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"example":{"label":"example","color":"blue"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordTag_create_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_TAG_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"ktg_openapi123456","label":"example","color":"blue","memberCount":0,"systemManaged":false,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":true},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordTag.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-tags","x-contextter-capability-id":"keywordTag.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"cee353fcdbbd7f14a38bf13ac78c635a57f4b980e91551c14f0fd4bf56b7879d","x-contextter-capability-output-schema-hash":"82b46c003edb6d682932c85e97c6c3f47b7b4d879c5daefd8e9436587ec4eca8","x-contextter-input-schema-hash":"cee353fcdbbd7f14a38bf13ac78c635a57f4b980e91551c14f0fd4bf56b7879d","x-contextter-output-schema-hash":"82b46c003edb6d682932c85e97c6c3f47b7b4d879c5daefd8e9436587ec4eca8"}},"/api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/removal":{"post":{"operationId":"keywordTag_remove","summary":"Remove keyword tag","description":"Removes one non-system Keyword Database tag and its bounded assignments through the source-owned destructive lifecycle.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"tagId","in":"path","required":true,"description":"Opaque workspace-scoped tagId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keywordTag_remove_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_TAG_REMOVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"tagId":"ktg_openapi123456","removed":true,"assignmentsDeleted":0,"tombstonesDeleted":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keywordTag.remove","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/removal","x-contextter-capability-id":"keywordTag.remove","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"110061b71546b7f258e144354ed87d8ed65c4f5ef183c1963fae128807f54e6a","x-contextter-capability-output-schema-hash":"2cab25ed0efceeed347b332b8ffe6db751cbd9fbebc291a86b00f3cb0cf22e8d","x-contextter-input-schema-hash":"110061b71546b7f258e144354ed87d8ed65c4f5ef183c1963fae128807f54e6a","x-contextter-output-schema-hash":"2cab25ed0efceeed347b332b8ffe6db751cbd9fbebc291a86b00f3cb0cf22e8d"}},"/api/v1/workspaces/{workspaceId}/keywords":{"post":{"operationId":"keyword_create","summary":"Create keywords","description":"Adds bounded keywords to the workspace Keyword Database using the same limits, tags, counters, and audit semantics as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"example":{"keywords":[{"keyword":"example"}]}}}},"responses":{"201":{"description":"Resource created.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Location":{"$ref":"#/components/headers/Location"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keyword_create_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-201-KEYWORD_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Resource created successfully.","data":{"requestedCount":1,"insertedCount":0,"restoredCount":0,"existingCount":0,"items":[{"id":"kwd_openapi123456","keyword":"example","state":"active"}]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keyword.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keywords","x-contextter-capability-id":"keyword.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"343a894bf6a33dffbf948a4d351e259dad56fe762e60c297d095dece576048f9","x-contextter-capability-output-schema-hash":"2eba6402ae95438c846b3383a9246868d0ae8628c4a2422949aa7d0df47fa8a9","x-contextter-input-schema-hash":"343a894bf6a33dffbf948a4d351e259dad56fe762e60c297d095dece576048f9","x-contextter-output-schema-hash":"2eba6402ae95438c846b3383a9246868d0ae8628c4a2422949aa7d0df47fa8a9"}},"/api/v1/workspaces/{workspaceId}/keywords/{keywordId}/archive":{"post":{"operationId":"keyword_archive","summary":"Archive keyword","description":"Soft-deletes one workspace keyword while retaining its durable identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"keywordId","in":"path","required":true,"description":"Opaque workspace-scoped keywordId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keyword_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"kwd_openapi123456","keyword":"example","state":"active"},"changed":false,"affectedRows":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keyword.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keywords/{keywordId}/archive","x-contextter-capability-id":"keyword.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"9102b79b0c5962d1ac7bfe7651dc67b9045de9c37e6741feedaf91be2710cb85","x-contextter-capability-output-schema-hash":"651359555004201bcb2e3de59885ed8ad7b2380c95a7161942062104f8e97c8f","x-contextter-input-schema-hash":"9102b79b0c5962d1ac7bfe7651dc67b9045de9c37e6741feedaf91be2710cb85","x-contextter-output-schema-hash":"651359555004201bcb2e3de59885ed8ad7b2380c95a7161942062104f8e97c8f"}},"/api/v1/workspaces/{workspaceId}/keywords/{keywordId}/restore":{"post":{"operationId":"keyword_restore","summary":"Restore keyword","description":"Restores one archived workspace keyword under its original durable public identity.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"keywordId","in":"path","required":true,"description":"Opaque workspace-scoped keywordId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/keyword_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-KEYWORD_RESTORE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"kwd_openapi123456","keyword":"example","state":"active"},"changed":false,"affectedRows":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"keyword.restore","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/keywords/{keywordId}/restore","x-contextter-capability-id":"keyword.restore","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["keywords:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"9102b79b0c5962d1ac7bfe7651dc67b9045de9c37e6741feedaf91be2710cb85","x-contextter-capability-output-schema-hash":"651359555004201bcb2e3de59885ed8ad7b2380c95a7161942062104f8e97c8f","x-contextter-input-schema-hash":"9102b79b0c5962d1ac7bfe7651dc67b9045de9c37e6741feedaf91be2710cb85","x-contextter-output-schema-hash":"651359555004201bcb2e3de59885ed8ad7b2380c95a7161942062104f8e97c8f"}},"/api/v1/workspaces/{workspaceId}/opportunities/refresh":{"post":{"operationId":"opportunity_decision-system_refresh","summary":"Refresh opportunity decisions","description":"Rebuilds the stored Opportunity Engine decision snapshot through the same deterministic V3 source owner, feature controls, evidence limits, and persistence path as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"goalProfile":{"type":"object","properties":{"lens":{"type":"string","enum":["balanced","growth","quick_wins","protect","technical"]},"objective":{"type":"string","enum":["qualified_leads","revenue","non_brand_visibility","defend_existing","technical_health","balanced"]},"effortBudget":{"type":"string","enum":["low","medium","high"]},"timeHorizon":{"type":"string","enum":["now","quarter","long_term"]},"riskTolerance":{"type":"string","enum":["low","medium","high"]},"goalNote":{"type":"string","maxLength":500,"nullable":true},"targetMarketId":{"type":"string","minLength":1,"maxLength":200,"nullable":true},"targetEntityIds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":20},"uncertaintyCodes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":10}},"required":["lens","objective","effortBudget","timeHorizon","riskTolerance","goalNote","targetMarketId","targetEntityIds","uncertaintyCodes"],"additionalProperties":false}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/opportunity_decision_system_refresh_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-OPPORTUNITY_DECISION_SYSTEM_REFRESH","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"state":"active","reused":false,"sourceFingerprint":"example","candidateCount":0,"projectionCount":0,"observationCount":0,"computeDurationMs":0,"refreshedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"opportunity.decision-system.refresh","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/opportunities/refresh","x-contextter-capability-id":"opportunity.decision-system.refresh","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["decisions:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"43e6630fd3d60d555187a0a23935b334d8cb75044e4d48c211f2eb408943a934","x-contextter-capability-output-schema-hash":"22dc7cc36e09056acea015b039594d63c8e0ab3e5e6bdab66590d8059c577ccb","x-contextter-input-schema-hash":"43e6630fd3d60d555187a0a23935b334d8cb75044e4d48c211f2eb408943a934","x-contextter-output-schema-hash":"22dc7cc36e09056acea015b039594d63c8e0ab3e5e6bdab66590d8059c577ccb"}},"/api/v1/workspaces/{workspaceId}/search-performance/refresh":{"post":{"operationId":"searchPerformance_refresh","summary":"Refresh Search Performance","description":"Refreshes the bounded Google Search Console performance snapshot through the same source-owned privacy, allowlist, idempotency, and persistence workflow as the product UI.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["siteId"],"additionalProperties":false},"example":{"siteId":"sit_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/searchPerformance_refresh_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEARCH_PERFORMANCE_REFRESH","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"siteId":"sit_openapi123456","status":"reused","returnedKeywordCount":0,"returnedPageCount":0,"currentWindow":{"startDate":"2026-01-01","endDate":"2026-01-01"},"previousWindow":{"startDate":"2026-01-01","endDate":"2026-01-01"},"refreshedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"searchPerformance.refresh","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/search-performance/refresh","x-contextter-capability-id":"searchPerformance.refresh","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["search-performance:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"87da22f5a7296e7fcf4843a6abc8f1c9998cab447c43988e4cf6941c6fe2ecab","x-contextter-capability-output-schema-hash":"eef37aeb2c32912312772550c47e00f7f1741b472358dbc1a0d027f021724d9d","x-contextter-input-schema-hash":"87da22f5a7296e7fcf4843a6abc8f1c9998cab447c43988e4cf6941c6fe2ecab","x-contextter-output-schema-hash":"eef37aeb2c32912312772550c47e00f7f1741b472358dbc1a0d027f021724d9d"}},"/api/v1/workspaces/{workspaceId}/seo-plans":{"post":{"operationId":"seoPlan_apply","summary":"Apply an atomic SEO plan","description":"Creates or revises one strategy and atomically records its bounded decisions and executable work items.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["create"]},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"decisions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":20},"workItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"decisionKey":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":60}},"required":["mode","payload","decisions","workItems"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["revise"]},"strategyId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activateRevision":{"type":"boolean","default":true},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"decisions":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":20},"workItems":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"decisionKey":{"type":"string","minLength":1,"maxLength":64,"pattern":"^[A-Za-z][A-Za-z0-9_-]*$"},"value":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200}},"required":["owner"],"additionalProperties":false}},"required":["title","workType","description","priority","order","evidenceRefs","targetRefs","expectedEffect","source"],"additionalProperties":false}},"required":["key","value"],"additionalProperties":false},"minItems":1,"maxItems":60}},"required":["mode","strategyId","expectedRevision","payload","decisions","workItems"],"additionalProperties":false}]},"example":{"mode":"create","payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"decisions":[{"key":"example","value":{"choice":"example","reasonSummary":"example","constraints":[],"assumptions":[],"evidenceRefs":[],"recommendationRefs":[],"evidenceGapReasonCode":"example"}}],"workItems":[{"key":"example","value":{"title":"example","workType":"example","description":"example","priority":"critical","order":0,"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"}}}]}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/seo_build_seo_plan_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SEO_PLAN_APPLY","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"mode":"create","activated":false,"strategy":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"revision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"decisions":[],"workItems":[]},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"seoPlan.apply","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/seo-plans","x-contextter-capability-id":"seoPlan.apply","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:write","decisions:write","work-items:write"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"515f49b86dfc8084067cc7f4a784ca076e5eb1f0f833b2ee0d34a0323ed24621","x-contextter-capability-output-schema-hash":"762022923d19bddfb3b5edde76d9365c1667fab2c97bbb91c70c35d718f418cb","x-contextter-input-schema-hash":"515f49b86dfc8084067cc7f4a784ca076e5eb1f0f833b2ee0d34a0323ed24621","x-contextter-output-schema-hash":"762022923d19bddfb3b5edde76d9365c1667fab2c97bbb91c70c35d718f418cb"}},"/api/v1/workspaces/{workspaceId}/site-audit/alert-rules":{"post":{"operationId":"siteAudit_alertRule_create","summary":"Create Site Audit alert rule","description":"Creates a source-owned monitoring alert with bounded thresholds, recipients, suppression and digest policy.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":500},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientEmails":{"type":"array","items":{"type":"string","format":"email","maxLength":320},"maxItems":100},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]}},"required":["name","siteId","alertKind"],"additionalProperties":false},"example":{"name":"example","siteId":"sit_openapi123456","alertKind":"new_broken_links"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_alertRule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_ALERT_RULE_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sar_openapi123456","siteId":"sit_openapi123456","status":"active","name":"example","alertKind":"new_broken_links","comparisonPolicy":"previous_successful_run","suppressionWindowHours":0,"digestFrequency":"run_digest","recipientCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.alertRule.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules","x-contextter-capability-id":"siteAudit.alertRule.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"6cd97f172ac7f661fef44c1115e0dbbad3a67223799b69fd9d8de2fffdb33091","x-contextter-capability-output-schema-hash":"bca17a728df733843a2bf148ceb57a8b4540aa5f6eab309f3a45b21bf96510ad","x-contextter-input-schema-hash":"6cd97f172ac7f661fef44c1115e0dbbad3a67223799b69fd9d8de2fffdb33091","x-contextter-output-schema-hash":"bca17a728df733843a2bf148ceb57a8b4540aa5f6eab309f3a45b21bf96510ad"}},"/api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/archive":{"post":{"operationId":"siteAudit_alertRule_archive","summary":"Archive Site Audit alert rule","description":"Archives a monitoring alert while retaining its stable public identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"alertRuleId","in":"path","required":true,"description":"Opaque workspace-scoped alertRuleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_alertRule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_ALERT_RULE_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sar_openapi123456","siteId":"sit_openapi123456","status":"active","name":"example","alertKind":"new_broken_links","comparisonPolicy":"previous_successful_run","suppressionWindowHours":0,"digestFrequency":"run_digest","recipientCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.alertRule.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/archive","x-contextter-capability-id":"siteAudit.alertRule.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-capability-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1","x-contextter-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1"}},"/api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/pause":{"post":{"operationId":"siteAudit_alertRule_pause","summary":"Pause Site Audit alert rule","description":"Pauses a monitoring alert while retaining its stable public identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"alertRuleId","in":"path","required":true,"description":"Opaque workspace-scoped alertRuleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_alertRule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_ALERT_RULE_PAUSE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sar_openapi123456","siteId":"sit_openapi123456","status":"active","name":"example","alertKind":"new_broken_links","comparisonPolicy":"previous_successful_run","suppressionWindowHours":0,"digestFrequency":"run_digest","recipientCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.alertRule.pause","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/pause","x-contextter-capability-id":"siteAudit.alertRule.pause","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-capability-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1","x-contextter-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1"}},"/api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/resume":{"post":{"operationId":"siteAudit_alertRule_resume","summary":"Resume Site Audit alert rule","description":"Resumes a monitoring alert while retaining its stable public identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"alertRuleId","in":"path","required":true,"description":"Opaque workspace-scoped alertRuleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_alertRule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_ALERT_RULE_RESUME","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sar_openapi123456","siteId":"sit_openapi123456","status":"active","name":"example","alertKind":"new_broken_links","comparisonPolicy":"previous_successful_run","suppressionWindowHours":0,"digestFrequency":"run_digest","recipientCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.alertRule.resume","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/resume","x-contextter-capability-id":"siteAudit.alertRule.resume","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-capability-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1","x-contextter-input-schema-hash":"b5d8dd6b857de843abbeadc1b70e9fea6a1b6b9d3b153be47d19fa132f366a49","x-contextter-output-schema-hash":"5065f17fa65b5bf7539be66a35db2d5e95859bddfcc8a82e908b33b49daa02a1"}},"/api/v1/workspaces/{workspaceId}/site-audit/link-analyses":{"post":{"operationId":"siteAudit_linkAnalysis_start","summary":"Start internal-link analysis","description":"Starts or reuses deterministic internal-link recommendation materialization for an eligible stored Site Audit run without acquiring provider data.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["deterministic"]},"recommendationGoal":{"type":"string","enum":["balanced","cluster","deep_pages","authority"]},"keywordHints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"maxItems":200},"keywordSource":{"type":"string","enum":["manual","keyword_list"]},"keywordSourceId":{"type":"string","maxLength":2000}},"required":["runId"],"additionalProperties":false},"example":{"runId":"aud_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_linkAnalysis_start_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_LINK_ANALYSIS_START","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sla_openapi123456","runId":"aud_openapi123456","status":"queued","mode":"deterministic","recommendationGoal":"balanced","keywordSource":"none","recommendationCount":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"reused":false,"restarted":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.linkAnalysis.start","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/link-analyses","x-contextter-capability-id":"siteAudit.linkAnalysis.start","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"934bcfaeff0f41b6a4cb3cca19422d6f6d20fbe7609f6f51de10b8ae794d1107","x-contextter-capability-output-schema-hash":"775320665733bf3b96e69c84d04c437921d64557c899c2ef4933e8c6071e972f","x-contextter-input-schema-hash":"934bcfaeff0f41b6a4cb3cca19422d6f6d20fbe7609f6f51de10b8ae794d1107","x-contextter-output-schema-hash":"775320665733bf3b96e69c84d04c437921d64557c899c2ef4933e8c6071e972f"}},"/api/v1/workspaces/{workspaceId}/site-audit/schedules":{"post":{"operationId":"siteAudit_schedule_create","summary":"Create Site Audit schedule","description":"Creates a bounded recurring Site Audit schedule through source-owned authorization, plan limits, budget policy, timezone normalization, and next-run calculation.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1,"maximum":1000000},"maxRunsPerMonth":{"type":"integer","minimum":1,"maximum":31},"monthlyBudgetEurCents":{"type":"integer","minimum":0,"maximum":1000000},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0,"maximum":180},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["cadence","timezone","hour","minute","siteId"],"additionalProperties":false},"example":{"cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"siteId":"sit_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_schedule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SCHEDULE_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sas_openapi123456","siteId":"sit_openapi123456","status":"active","cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"runPolicy":"full_site","maxUrlsPerRun":1,"maxRunsPerMonth":1,"monthlyBudgetEurCents":0,"pauseOnFailure":false,"pauseOnInsufficientBalance":false,"jitterMinutes":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.schedule.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/schedules","x-contextter-capability-id":"siteAudit.schedule.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"f28b8ec6975840c1fb95f31b5323814f268db9f9f1d85352bef804ae848de857","x-contextter-capability-output-schema-hash":"b60d7319158f9b0bf55f2fb61723283429291ec3611c5cd986937a3fe400cdca","x-contextter-input-schema-hash":"f28b8ec6975840c1fb95f31b5323814f268db9f9f1d85352bef804ae848de857","x-contextter-output-schema-hash":"b60d7319158f9b0bf55f2fb61723283429291ec3611c5cd986937a3fe400cdca"}},"/api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/archive":{"post":{"operationId":"siteAudit_schedule_archive","summary":"Archive Site Audit schedule","description":"Archives a recurring Site Audit schedule while retaining its stable public identity and audit history.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SCHEDULE_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sas_openapi123456","siteId":"sit_openapi123456","status":"active","cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"runPolicy":"full_site","maxUrlsPerRun":1,"maxRunsPerMonth":1,"monthlyBudgetEurCents":0,"pauseOnFailure":false,"pauseOnInsufficientBalance":false,"jitterMinutes":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.schedule.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/archive","x-contextter-capability-id":"siteAudit.schedule.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"703978625e4fcc8883bb6df7505a0117820049f0aebaebf4535b3d973b30a4c2","x-contextter-capability-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74","x-contextter-input-schema-hash":"703978625e4fcc8883bb6df7505a0117820049f0aebaebf4535b3d973b30a4c2","x-contextter-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74"}},"/api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/pause":{"post":{"operationId":"siteAudit_schedule_pause","summary":"Pause Site Audit schedule","description":"Pauses a recurring Site Audit schedule and records a bounded operator reason.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pauseReason":{"type":"string","maxLength":500}},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SCHEDULE_PAUSE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sas_openapi123456","siteId":"sit_openapi123456","status":"active","cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"runPolicy":"full_site","maxUrlsPerRun":1,"maxRunsPerMonth":1,"monthlyBudgetEurCents":0,"pauseOnFailure":false,"pauseOnInsufficientBalance":false,"jitterMinutes":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.schedule.pause","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/pause","x-contextter-capability-id":"siteAudit.schedule.pause","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"e72c21f259c3d47efdde81624d8881fa9c91cf06ba41d276defd4589b3bed256","x-contextter-capability-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74","x-contextter-input-schema-hash":"e72c21f259c3d47efdde81624d8881fa9c91cf06ba41d276defd4589b3bed256","x-contextter-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74"}},"/api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/resume":{"post":{"operationId":"siteAudit_schedule_resume","summary":"Resume Site Audit schedule","description":"Resumes a paused schedule and recalculates its next due time from the current source state.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SCHEDULE_RESUME","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sas_openapi123456","siteId":"sit_openapi123456","status":"active","cadence":"daily","timezone":"Europe/Berlin","hour":0,"minute":0,"runPolicy":"full_site","maxUrlsPerRun":1,"maxRunsPerMonth":1,"monthlyBudgetEurCents":0,"pauseOnFailure":false,"pauseOnInsufficientBalance":false,"jitterMinutes":0,"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.schedule.resume","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/resume","x-contextter-capability-id":"siteAudit.schedule.resume","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"703978625e4fcc8883bb6df7505a0117820049f0aebaebf4535b3d973b30a4c2","x-contextter-capability-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74","x-contextter-input-schema-hash":"703978625e4fcc8883bb6df7505a0117820049f0aebaebf4535b3d973b30a4c2","x-contextter-output-schema-hash":"ef1752905f9b0785f608dc01f24dfd7c5f761227a0010b19fd61b8b216f50b74"}},"/api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/archive":{"post":{"operationId":"siteAudit_site_archive","summary":"Archive Site Audit site","description":"Archives a Site Audit site and its schedules and alert rules, while refusing to race an active full audit run.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"siteId","in":"path","required":true,"description":"Opaque workspace-scoped siteId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_site_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SITE_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sit_openapi123456","baseUrl":"https://example.com/seo","siteHost":"example.com","includePatterns":[],"excludePatterns":[],"additionalHosts":[],"includeSubdomains":false,"respectRobotsTxt":false,"maxUrls":1,"maxDepth":0,"perHostConcurrency":1,"crawlDelayMs":0,"taskBatchSize":1,"renderingPolicy":"disabled","authorizationStatus":"unverified","state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"changed":false,"archivedSchedules":0,"archivedAlertRules":0},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.site.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/archive","x-contextter-capability-id":"siteAudit.site.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"87da22f5a7296e7fcf4843a6abc8f1c9998cab447c43988e4cf6941c6fe2ecab","x-contextter-capability-output-schema-hash":"c9ed87baeae2aa3bae835068d124f5bf5fe1d3d0f1e7b8255379c3f8db267ddd","x-contextter-input-schema-hash":"87da22f5a7296e7fcf4843a6abc8f1c9998cab447c43988e4cf6941c6fe2ecab","x-contextter-output-schema-hash":"c9ed87baeae2aa3bae835068d124f5bf5fe1d3d0f1e7b8255379c3f8db267ddd"}},"/api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-challenges":{"post":{"operationId":"siteAudit_verification_start","summary":"Start Site Audit domain verification","description":"Creates or reuses a bounded ownership challenge for a Site Audit site through the same source-owned lifecycle as the product UI. The result contains the DNS, HTML-file, and meta-tag instructions for the selected method.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"siteId","in":"path","required":true,"description":"Opaque workspace-scoped siteId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]}},"required":["method"],"additionalProperties":false},"example":{"method":"dns_txt"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_verification_start_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_VERIFICATION_START","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"siteId":"sit_openapi123456","authorizationStatus":"unverified","changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.verification.start","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-challenges","x-contextter-capability-id":"siteAudit.verification.start","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"4c2e08f7e5b13ad86d8668f1c07f8d6e0905641200cc958b0f066eea554b6965","x-contextter-capability-output-schema-hash":"7ebc07b393608ff34268de3bd47f470237b6acb72bf6ca64c76afec9252d3980","x-contextter-input-schema-hash":"4c2e08f7e5b13ad86d8668f1c07f8d6e0905641200cc958b0f066eea554b6965","x-contextter-output-schema-hash":"7ebc07b393608ff34268de3bd47f470237b6acb72bf6ca64c76afec9252d3980"}},"/api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-checks":{"post":{"operationId":"siteAudit_verification_check","summary":"Check Site Audit domain verification","description":"Checks the active DNS, HTML-file, or meta-tag ownership proof against the stored Site Audit site and records either verified status or a bounded failure.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"siteId","in":"path","required":true,"description":"Opaque workspace-scoped siteId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]}},"required":["method"],"additionalProperties":false},"example":{"method":"dns_txt"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_verification_check_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_VERIFICATION_CHECK","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"siteId":"sit_openapi123456","verified":false,"authorizationStatus":"unverified","checkedAt":"2026-01-01T00:00:00.000Z","changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.verification.check","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-checks","x-contextter-capability-id":"siteAudit.verification.check","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"60025a766d8d9af1e6fc03a2278fe2839ed136152c63f0da1c1ea83650d921b2","x-contextter-capability-output-schema-hash":"be48a1eec43e8856ab2e5e78fcf843f9ab194f744e024e1ffa6b999af042a52b","x-contextter-input-schema-hash":"60025a766d8d9af1e6fc03a2278fe2839ed136152c63f0da1c1ea83650d921b2","x-contextter-output-schema-hash":"be48a1eec43e8856ab2e5e78fcf843f9ab194f744e024e1ffa6b999af042a52b"}},"/api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revision-activations":{"post":{"operationId":"strategy_revision_activate","summary":"Activate strategy revision","description":"Atomically activates an immutable strategy revision using an expected revision.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"strategyId","in":"path","required":true,"description":"Opaque workspace-scoped strategyId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"revisionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["expectedRevision","revisionId"],"additionalProperties":false},"example":{"expectedRevision":1,"revisionId":"rev_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/strategy_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-STRATEGY_REVISION_ACTIVATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"strategy.revision.activate","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revision-activations","x-contextter-capability-id":"strategy.revision.activate","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:write"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"cb22da883d2ae67c9e03c1e29ef638a627b73c439c30c874f044806da3e5e5ef","x-contextter-capability-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3","x-contextter-input-schema-hash":"cb22da883d2ae67c9e03c1e29ef638a627b73c439c30c874f044806da3e5e5ef","x-contextter-output-schema-hash":"d05c8be19e20f74ef4a5bd2517c247144cab8db2c841cf3ffea5240ea7d7fad3"}},"/api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revisions":{"post":{"operationId":"strategy_revision_append","summary":"Append strategy revision","description":"Appends an immutable revision with optimistic concurrency control.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"strategyId","in":"path","required":true,"description":"Opaque workspace-scoped strategyId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false}},"required":["expectedRevision","payload"],"additionalProperties":false},"example":{"expectedRevision":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/strategy_revision_append_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-STRATEGY_REVISION_APPEND","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"strategy":{"id":"str_openapi123456","status":"active","revision":1,"activeRevision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"revision":{"id":"rev_openapi123456","revisionNumber":1,"payload":{"objective":"example","markets":[],"audiences":[],"constraints":[],"priorities":["example"],"excludedWork":[],"measurementPlan":["example"],"reviewCadenceDays":1,"evidenceRefs":[],"decisionRefs":[]},"createdBy":{"type":"human","publicId":"usr_openapi123456"},"createdAt":"2026-01-01T00:00:00.000Z"}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"strategy.revision.append","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revisions","x-contextter-capability-id":"strategy.revision.append","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["strategy:write"],"x-contextter-minimum-role":"manager","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"7456acc31792401ff3f2e1edf620719c4b9526f280d44b6bad92eff6df3b1c4e","x-contextter-capability-output-schema-hash":"f9d84fc5e2d9c692d521a26d30573f02a1f3e70f852bbbaea7b047b4c00513cc","x-contextter-input-schema-hash":"7456acc31792401ff3f2e1edf620719c4b9526f280d44b6bad92eff6df3b1c4e","x-contextter-output-schema-hash":"f9d84fc5e2d9c692d521a26d30573f02a1f3e70f852bbbaea7b047b4c00513cc"}},"/api/v1/workspaces/{workspaceId}/tracking-schedules":{"post":{"operationId":"tracking_schedule_create","summary":"Create tracking schedule","description":"Creates a SERP schedule. Defaults: weekly, mobile, Top 10, workspace country/language. Use keywords for a fixed selection (up to 200), listIds with optional keywords and excludeKeywords to copy and combine lists, or listId for live membership (up to 500 per run). For larger lists read/select keywords first; lists are never silently truncated. A monthly budget remains required for agent-created recurring spending. Creating, updating or resuming a tracking schedule requires an admin, an approved bounded_auto connection, tracking:read, tracking:write, actions:quote, actions:approve and actions:execute, and a positive monthlyBudgetCapEurCents (minimum 500). Each recurring run revalidates the connection and executes through the paid-action budget and settlement lifecycle. Revocation stops future runs. Unbound legacy schedules require renewed authorization. Pausing and archiving do not require paid-execution permission.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["monthlyBudgetCapEurCents","keywords"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Saved list whose current members are resolved before each run; do not also pass keywords."}},"required":["monthlyBudgetCapEurCents","listId"],"additionalProperties":false},{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,6})?$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"listIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":5,"description":"Copy current members into a fixed selection. Source lists remain unchanged. For large lists, read and select keywords explicitly."},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":200},"excludeKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":200}},"required":["monthlyBudgetCapEurCents","listIds"],"additionalProperties":false}]},"example":{"cadence":"weekly","serpDepth":"top10","devices":["mobile"],"monthlyBudgetCapEurCents":500,"keywords":["example"]}}}},"responses":{"201":{"description":"Resource created.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Location":{"$ref":"#/components/headers/Location"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_schedule_update_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-201-TRACKING_SCHEDULE_CREATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Resource created successfully.","data":{"item":{"id":"trs_openapi123456","dataKind":"serp","status":"active","cadence":"daily","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["desktop"],"nextRunAt":"2026-01-01T00:00:00.000Z","createdAt":"2026-01-01T00:00:00.000Z","keywords":["example"]}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.schedule.create","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/tracking-schedules","x-contextter-capability-id":"tracking.schedule.create","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write","tracking:read","actions:quote","actions:approve","actions:execute"],"x-contextter-minimum-role":"admin","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"86c0e5dd79163c4fabbb7c14f0682d45a102cfa7dded8a23f053c79f2a87305f","x-contextter-capability-output-schema-hash":"1950c71f11d5d08e02edfe78887a549e92eed571fadae2a8ce8ade8daff7635c","x-contextter-input-schema-hash":"86c0e5dd79163c4fabbb7c14f0682d45a102cfa7dded8a23f053c79f2a87305f","x-contextter-output-schema-hash":"1950c71f11d5d08e02edfe78887a549e92eed571fadae2a8ce8ade8daff7635c"}},"/api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/archive":{"post":{"operationId":"tracking_schedule_archive","summary":"Archive tracking schedule","description":"Archives a Position Tracking schedule and safely releases unfinished run reservations while retaining its audit identity.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_SCHEDULE_ARCHIVE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"trs_openapi123456","status":"active","nextRunAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.schedule.archive","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/archive","x-contextter-capability-id":"tracking.schedule.archive","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-capability-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5","x-contextter-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5"}},"/api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/pause":{"post":{"operationId":"tracking_schedule_pause","summary":"Pause tracking schedule","description":"Pauses a recurring Position Tracking schedule and safely releases unfinished run reservations through the source-owned lifecycle.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_SCHEDULE_PAUSE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"trs_openapi123456","status":"active","nextRunAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.schedule.pause","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/pause","x-contextter-capability-id":"tracking.schedule.pause","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-capability-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5","x-contextter-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5"}},"/api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/resume":{"post":{"operationId":"tracking_schedule_resume","summary":"Resume tracking schedule","description":"Resumes a paused Position Tracking schedule, clears consecutive failures, and makes it due for its next source-owned run. Creating, updating or resuming a tracking schedule requires an admin, an approved bounded_auto connection, tracking:read, tracking:write, actions:quote, actions:approve and actions:execute, and a positive monthlyBudgetCapEurCents (minimum 500). Each recurring run revalidates the connection and executes through the paid-action budget and settlement lifecycle. Revocation stops future runs. Unbound legacy schedules require renewed authorization. Pausing and archiving do not require paid-execution permission.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"scheduleId","in":"path","required":true,"description":"Opaque workspace-scoped scheduleId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{},"additionalProperties":false},"example":{}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_schedule_archive_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_SCHEDULE_RESUME","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"trs_openapi123456","status":"active","nextRunAt":"2026-01-01T00:00:00.000Z"},"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.schedule.resume","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/resume","x-contextter-capability-id":"tracking.schedule.resume","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write","tracking:read","actions:quote","actions:approve","actions:execute"],"x-contextter-minimum-role":"admin","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-capability-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5","x-contextter-input-schema-hash":"5f7d0a1d951b4806ccceb460c308c09072c26811f8a600ccd02423030acf0814","x-contextter-output-schema-hash":"722a06b1ebc9f772c55b5ed0960d0650a67f60eb10861190bbb0e23fa7dbf4f5"}},"/api/v1/workspaces/{workspaceId}/tracking-workflow-preparations":{"post":{"operationId":"tracking_workflow_prepare","summary":"Prepare keyword tracking workflow","description":"Atomically saves a selected keyword list, verifies bounded membership, reuses a matching schedule and records market-specific search-volume coverage. Requires recurring tracking authority; does not acquire paid evidence.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"],"default":"weekly"},"serpDepth":{"type":"string","enum":["top10","top100"],"default":"top10"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2,"default":["mobile"]},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"selection":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["list"]},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["kind","listId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["selection"]},"organization":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"keywordDisplay":{"type":"string","minLength":1,"maxLength":500}},"required":["keyword"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["keywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"candidateKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":500},"minItems":1,"maxItems":100}},"required":["runId","candidateKeywords"],"additionalProperties":false},"list":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80}},"required":["name"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]}},"required":["label","color"],"additionalProperties":false},"maxItems":20,"default":[]},"workflowStatus":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["source","ingestion"],"additionalProperties":false}]}},"required":["kind","organization"],"additionalProperties":false}]},"metrics":{"type":"string","enum":["stored","refresh_missing"],"default":"stored"},"metricsMaxAgeDays":{"type":"integer","minimum":1,"maximum":90,"default":30},"baseline":{"type":"string","enum":["skip","run"],"default":"skip"},"taskId":{"type":"string","minLength":1,"maxLength":128}},"required":["locationCode","languageCode","monthlyBudgetCapEurCents","selection"],"additionalProperties":false},"example":{"cadence":"weekly","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["mobile"],"monthlyBudgetCapEurCents":500,"selection":{"kind":"list","listId":"kwl_openapi123456"},"metrics":"stored","metricsMaxAgeDays":30,"baseline":"skip"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/tracking_workflow_prepare_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-TRACKING_WORKFLOW_PREPARE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"trs_openapi123456","dataKind":"serp","status":"active","cadence":"daily","serpDepth":"top10","locationCode":1,"languageCode":"de","devices":["desktop"],"nextRunAt":"2026-01-01T00:00:00.000Z","createdAt":"2026-01-01T00:00:00.000Z","keywords":["example"]},"scheduleReused":false,"listId":"kwl_openapi123456","keywords":["example"],"memberCount":1,"preparedAt":"2026-01-01T00:00:00.000Z","metrics":{"packageId":"search_volume","freshKeywords":[],"noDataKeywords":[],"missingKeywords":[]}},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"tracking.workflow.prepare","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/tracking-workflow-preparations","x-contextter-capability-id":"tracking.workflow.prepare","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["tracking:write","tracking:read","keywords:read","keywords:write","keyword-data:read","evidence:read","actions:quote","actions:approve","actions:execute"],"x-contextter-minimum-role":"admin","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"6119a75642a3562a99711fdbeed79f0a489b958ea512ca223afeed73bbd2c61a","x-contextter-capability-output-schema-hash":"a754a6f265d9bcc60dcd5c3d8ea59172b251e499f2b12040d95531da3c453bd7","x-contextter-input-schema-hash":"6119a75642a3562a99711fdbeed79f0a489b958ea512ca223afeed73bbd2c61a","x-contextter-output-schema-hash":"a754a6f265d9bcc60dcd5c3d8ea59172b251e499f2b12040d95531da3c453bd7"}},"/api/v1/workspaces/{workspaceId}/verification-requests":{"post":{"operationId":"verification_request","summary":"Verify one completed SEO work item","description":"Atomically moves completed work into verification, prepares source-backed baseline evidence, creates one durable run, and schedules automatic measurement and outcome recording.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["metricDefinitions","observationWindow","workItemId"],"additionalProperties":false},"example":{"metricDefinitions":["example"],"observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"workItemId":"wrk_openapi123456"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/verification_request_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-VERIFICATION_REQUEST","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"workItem":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"verificationRun":{"id":"vrf_openapi123456","workItemId":"wrk_openapi123456","status":"queued","revision":1,"requestedBy":{"type":"human","publicId":"usr_openapi123456"},"metricDefinitions":["example"],"observationWindow":{"startAt":"2026-01-01T00:00:00.000Z","endAt":"2026-02-01T00:00:00.000Z"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"verification.request","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/verification-requests","x-contextter-capability-id":"verification.request","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write","verification:execute"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"a2d13a341d3819f9d1e2a077877eaaed30fea0af25a3c4a3cd108f302dd37b88","x-contextter-capability-output-schema-hash":"9c5a7c03418007503735ccc4277e6cd844476d8374952b200d63d78243063aa5","x-contextter-input-schema-hash":"a2d13a341d3819f9d1e2a077877eaaed30fea0af25a3c4a3cd108f302dd37b88","x-contextter-output-schema-hash":"9c5a7c03418007503735ccc4277e6cd844476d8374952b200d63d78243063aa5"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}/order-changes":{"post":{"operationId":"workItem_order_update","summary":"Change work-item order","description":"Changes bounded board order without exposing a free-form patch operation.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["expectedRevision","order","reasonCode"],"additionalProperties":false},"example":{"expectedRevision":1,"order":0,"reasonCode":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_ORDER_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.order.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/order-changes","x-contextter-capability-id":"workItem.order.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"ae4633bd0f60e4cb3b28785a302f04a37fce9f775698a307611a0e0ad3a39777","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"ae4633bd0f60e4cb3b28785a302f04a37fce9f775698a307611a0e0ad3a39777","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}/priority-changes":{"post":{"operationId":"workItem_priority_update","summary":"Change work-item priority","description":"Changes priority without exposing a free-form patch operation.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"priority":{"type":"string","enum":["critical","high","normal","low"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["expectedRevision","priority","reasonCode"],"additionalProperties":false},"example":{"expectedRevision":1,"priority":"critical","reasonCode":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_PRIORITY_UPDATE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.priority.update","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/priority-changes","x-contextter-capability-id":"workItem.priority.update","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"81792dc5f44fdfe38f3625ed37b1281b82e3b2f3e3add4335ba8e2b85f00e952","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"81792dc5f44fdfe38f3625ed37b1281b82e3b2f3e3add4335ba8e2b85f00e952","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}/progress":{"post":{"operationId":"workItem_progress_apply","summary":"Apply SEO work-item progress","description":"Atomically applies bounded priority, order, and lifecycle changes using one expected revision and one idempotency key.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"priority":{"type":"object","properties":{"priority":{"type":"string","enum":["critical","high","normal","low"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["priority","reasonCode"],"additionalProperties":false},"order":{"type":"object","properties":{"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["order","reasonCode"],"additionalProperties":false},"transition":{"type":"object","properties":{"toStatus":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"note":{"type":"string","minLength":1,"maxLength":2000}},"required":["toStatus","reasonCode"],"additionalProperties":false}},"required":["expectedRevision"],"additionalProperties":false},"example":{"expectedRevision":1,"order":{"order":0,"reasonCode":"example"}}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_PROGRESS_APPLY","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.progress.apply","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/progress","x-contextter-capability-id":"workItem.progress.apply","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"c61cacb52eff8027da3191f0ec29a6b8b28d443aea7cda895336e494df1e7335","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"c61cacb52eff8027da3191f0ec29a6b8b28d443aea7cda895336e494df1e7335","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/work-items/{workItemId}/transitions":{"post":{"operationId":"workItem_transition","summary":"Transition SEO work item","description":"Applies one allowed work-item lifecycle transition with expected revision.","tags":["Strategy, work and verification"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"workItemId","in":"path","required":true,"description":"Opaque workspace-scoped workItemId.","schema":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"expectedRevision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"toStatus":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"note":{"type":"string","minLength":1,"maxLength":2000}},"required":["expectedRevision","toStatus","reasonCode"],"additionalProperties":false},"example":{"expectedRevision":1,"toStatus":"proposed","reasonCode":"example"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/workItem_get_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-WORK_ITEM_TRANSITION","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"id":"wrk_openapi123456","title":"example","workType":"example","description":"example","status":"proposed","priority":"critical","order":0,"revision":1,"origin":{"type":"human","publicId":"usr_openapi123456"},"owner":{"type":"human","publicId":"usr_openapi123456"},"evidenceRefs":[],"targetRefs":[],"expectedEffect":"example","source":{"owner":"agent_platform"},"createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"workItem.transition","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_ALREADY_EXISTS, RESOURCE_CONFLICT, REVISION_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_REVISION_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_ALREADY_EXISTS":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_ALREADY_EXISTS"},"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"REVISION_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_REVISION_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/transitions","x-contextter-capability-id":"workItem.transition","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["work-items:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"ceb54aa731dbd00e44d6255e82e2facdb99d23f808750f3fcc8a0486c27fcd92","x-contextter-capability-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c","x-contextter-input-schema-hash":"ceb54aa731dbd00e44d6255e82e2facdb99d23f808750f3fcc8a0486c27fcd92","x-contextter-output-schema-hash":"a7134fb70a068856e72c1212df38fadd1199919a392ca6f085e5461b70180e5c"}},"/api/v1/workspaces/{workspaceId}/site-audit/sites":{"put":{"operationId":"siteAudit_site_configure","summary":"Configure Site Audit site","description":"Creates or updates a Site Audit site through source-owned normalization, plan limits, crawl-policy bounds, capacity rules, and stable public identity.","tags":["SEO workspace changes"],"security":[{"serviceCredential":[]}],"parameters":[{"name":"workspaceId","in":"path","required":true,"description":"Opaque workspace public ID. It must match the credential-bound workspace.","schema":{"$ref":"#/components/schemas/WorkspacePublicId"}},{"name":"X-Request-Id","in":"header","required":false,"description":"Optional opaque request ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"X-Correlation-Id","in":"header","required":false,"description":"Optional opaque correlation ID. A valid ID is echoed back.","schema":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"Opaque caller-generated key. Reusing it with a different canonical request is rejected.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[\\x21-\\x2B\\x2D-\\x7E]{1,255}$"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"includePatterns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1,"maximum":1000000},"maxDepth":{"type":"integer","minimum":0,"maximum":100},"perHostConcurrency":{"type":"integer","minimum":1,"maximum":100},"crawlDelayMs":{"type":"integer","minimum":0,"maximum":300000},"taskBatchSize":{"type":"integer","minimum":1,"maximum":10000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["baseUrl"],"additionalProperties":false},"example":{"baseUrl":"https://example.com/seo"}}}},"responses":{"200":{"description":"Successful bounded result.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/siteAudit_site_configure_Success"},"example":{"tid":"req_openapi123456","success":true,"code":"CTX-AGP-200-SITE_AUDIT_SITE_CONFIGURE","timestamp":"2026-01-01T00:00:00.000Z","message":"Request completed successfully.","data":{"item":{"id":"sit_openapi123456","baseUrl":"https://example.com/seo","siteHost":"example.com","includePatterns":[],"excludePatterns":[],"additionalHosts":[],"includeSubdomains":false,"respectRobotsTxt":false,"maxUrls":1,"maxDepth":0,"perHostConcurrency":1,"crawlDelayMs":0,"taskBatchSize":1,"renderingPolicy":"disabled","authorizationStatus":"unverified","state":"active","createdAt":"2026-01-01T00:00:00.000Z","updatedAt":"2026-01-01T00:00:00.000Z"},"created":false,"changed":false},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1","toolId":"siteAudit.site.configure","toolVersion":"1.0.0","scope":{"organizationId":"org_openapi123456","workspaceId":"ws_openapi123456"},"actor":{"type":"external_agent","publicId":"apc_openapi123456"},"billing":{"classification":"included"},"warnings":[],"dataGaps":[]}}}}},"400":{"description":"Request failed with one of: UNKNOWN_FILTER, VALIDATION_FAILED, IDEMPOTENCY_KEY_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNKNOWN_FILTER"},{"$ref":"#/components/schemas/AgentPlatformError_VALIDATION_FAILED"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}]},"examples":{"UNKNOWN_FILTER":{"$ref":"#/components/examples/AgentPlatformError_UNKNOWN_FILTER"},"VALIDATION_FAILED":{"$ref":"#/components/examples/AgentPlatformError_VALIDATION_FAILED"},"IDEMPOTENCY_KEY_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED"}}}}},"401":{"description":"Request failed with one of: AUTH_REQUIRED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"WWW-Authenticate":{"$ref":"#/components/headers/BearerChallenge"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_AUTH_REQUIRED"}]},"examples":{"AUTH_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_REQUIRED"}}}}},"403":{"description":"Request failed with one of: APPROVAL_REQUIRED, FEATURE_DISABLED, AUTH_SCOPE_DENIED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_APPROVAL_REQUIRED"},{"$ref":"#/components/schemas/AgentPlatformError_FEATURE_DISABLED"},{"$ref":"#/components/schemas/AgentPlatformError_AUTH_SCOPE_DENIED"}]},"examples":{"APPROVAL_REQUIRED":{"$ref":"#/components/examples/AgentPlatformError_APPROVAL_REQUIRED"},"FEATURE_DISABLED":{"$ref":"#/components/examples/AgentPlatformError_FEATURE_DISABLED"},"AUTH_SCOPE_DENIED":{"$ref":"#/components/examples/AgentPlatformError_AUTH_SCOPE_DENIED"}}}}},"404":{"description":"Request failed with one of: RESOURCE_NOT_FOUND.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_NOT_FOUND"}]},"examples":{"RESOURCE_NOT_FOUND":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_NOT_FOUND"}}}}},"405":{"description":"Request failed with one of: METHOD_NOT_ALLOWED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_METHOD_NOT_ALLOWED"}]},"examples":{"METHOD_NOT_ALLOWED":{"$ref":"#/components/examples/AgentPlatformError_METHOD_NOT_ALLOWED"}}}}},"409":{"description":"Request failed with one of: RESOURCE_CONFLICT, IDEMPOTENCY_CONFLICT, IDEMPOTENCY_IN_PROGRESS.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_CONFLICT"},{"$ref":"#/components/schemas/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}]},"examples":{"RESOURCE_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_CONFLICT"},"IDEMPOTENCY_CONFLICT":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_CONFLICT"},"IDEMPOTENCY_IN_PROGRESS":{"$ref":"#/components/examples/AgentPlatformError_IDEMPOTENCY_IN_PROGRESS"}}}}},"413":{"description":"Request failed with one of: RESPONSE_TOO_LARGE, RESULT_TOO_LARGE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESPONSE_TOO_LARGE"},{"$ref":"#/components/schemas/AgentPlatformError_RESULT_TOO_LARGE"}]},"examples":{"RESPONSE_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESPONSE_TOO_LARGE"},"RESULT_TOO_LARGE":{"$ref":"#/components/examples/AgentPlatformError_RESULT_TOO_LARGE"}}}}},"415":{"description":"Request failed with one of: UNSUPPORTED_TYPE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_UNSUPPORTED_TYPE"}]},"examples":{"UNSUPPORTED_TYPE":{"$ref":"#/components/examples/AgentPlatformError_UNSUPPORTED_TYPE"}}}}},"429":{"description":"Request failed with one of: RESOURCE_LIMIT_EXCEEDED, RATE_LIMITED.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"},"Retry-After":{"$ref":"#/components/headers/RetryAfter"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},{"$ref":"#/components/schemas/AgentPlatformError_RATE_LIMITED"}]},"examples":{"RESOURCE_LIMIT_EXCEEDED":{"$ref":"#/components/examples/AgentPlatformError_RESOURCE_LIMIT_EXCEEDED"},"RATE_LIMITED":{"$ref":"#/components/examples/AgentPlatformError_RATE_LIMITED"}}}}},"500":{"description":"Request failed with one of: SERVER_CONFIG_ERROR, INTERNAL_ERROR.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_SERVER_CONFIG_ERROR"},{"$ref":"#/components/schemas/AgentPlatformError_INTERNAL_ERROR"}]},"examples":{"SERVER_CONFIG_ERROR":{"$ref":"#/components/examples/AgentPlatformError_SERVER_CONFIG_ERROR"},"INTERNAL_ERROR":{"$ref":"#/components/examples/AgentPlatformError_INTERNAL_ERROR"}}}}},"503":{"description":"Request failed with one of: CAPABILITY_NOT_AVAILABLE.","headers":{"X-Request-Id":{"$ref":"#/components/headers/RequestId"},"X-Correlation-Id":{"$ref":"#/components/headers/CorrelationId"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}]},"examples":{"CAPABILITY_NOT_AVAILABLE":{"$ref":"#/components/examples/AgentPlatformError_CAPABILITY_NOT_AVAILABLE"}}}}}},"x-contextter-route-id":"PUT /api/v1/workspaces/{workspaceId}/site-audit/sites","x-contextter-capability-id":"siteAudit.site.configure","x-contextter-capability-version":"1.0.0","x-contextter-required-scopes":["site-audit:write"],"x-contextter-minimum-role":"member","x-contextter-idempotency":"required","x-contextter-request-body-maximum-bytes":131072,"x-contextter-response-maximum-bytes":240000,"x-contextter-capability-input-schema-hash":"be0aa42037872daba9d1d6a8a978b65092681aa63e97efcc5fc9c868b04555c2","x-contextter-capability-output-schema-hash":"47b14397b507a0cf9d84e46baa4128839ad994d6915870e7b2468e685c9329fa","x-contextter-input-schema-hash":"be0aa42037872daba9d1d6a8a978b65092681aa63e97efcc5fc9c868b04555c2","x-contextter-output-schema-hash":"47b14397b507a0cf9d84e46baa4128839ad994d6915870e7b2468e685c9329fa"}}},"components":{"headers":{"RequestId":{"description":"Opaque request ID for support and tracing.","schema":{"type":"string"}},"CorrelationId":{"description":"Opaque correlation ID for cross-operation tracing.","schema":{"type":"string"}},"BearerChallenge":{"description":"Bearer authentication challenge.","schema":{"type":"string"}},"Location":{"description":"Same-origin URL of the created or accepted resource.","schema":{"type":"string"}},"RetryAfter":{"description":"Seconds before a retry should be attempted, when present.","schema":{"type":"integer","minimum":1}}},"securitySchemes":{"serviceCredential":{"type":"http","scheme":"bearer","bearerFormat":"ctx_apk","description":"Crawl Foundry service credential. The raw token is accepted only by the Next.js API boundary."}},"schemas":{"WorkspacePublicId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"AgentPlatformError":{"type":"object","properties":{"tid":{"type":"string","pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[false]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"error":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100},"supportCode":{"type":"string","minLength":1,"maxLength":100},"displayMode":{"type":"string","enum":["inline","toast","blocking","boundary"]},"details":{"type":"object","additionalProperties":{}},"retryable":{"type":"boolean"},"retryAfter":{"type":"integer","minimum":0},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false}},"required":["code","supportCode","displayMode","reasonCode"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]}},"required":["correlationId","schemaVersion"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","error","meta"],"additionalProperties":false},"describeAgentPlatform_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"serviceId":{"type":"string","enum":["contextter-agent-platform"]},"serviceVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"apiVersion":{"type":"string","enum":["v1"]},"releaseChannel":{"type":"string","enum":["pilot"]},"transports":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["rest","mcp"]},"endpoint":{"type":"string","minLength":1,"maxLength":200,"pattern":"^\\/api\\/"},"enabled":{"type":"boolean"}},"required":["kind","endpoint","enabled"],"additionalProperties":false},"minItems":2,"maxItems":2},"links":{"type":"object","properties":{"capabilities":{"type":"string","enum":["/api/v1/capabilities"]},"workspaces":{"type":"string","enum":["/api/v1/workspaces"]},"openApi":{"type":"string","enum":["/api/v1/openapi.json"]},"docs":{"type":"string","enum":["/api/v1/docs"]}},"required":["capabilities","workspaces","openApi","docs"],"additionalProperties":false}},"required":["serviceId","serviceVersion","apiVersion","releaseChannel","transports","links"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"listAgentPlatformCapabilities_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"version":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"displayName":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":1000},"kind":{"type":"string","enum":["evidence","decision","memory","action","verification"]},"stability":{"type":"string","enum":["experimental","beta","stable"]},"availability":{"type":"string","enum":["internal","pilot","public"]},"inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":40},"hash":{"type":"string","minLength":16,"maxLength":128}},"required":["id","version"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":40},"hash":{"type":"string","minLength":16,"maxLength":128}},"required":["id","version"],"additionalProperties":false},"operationClass":{"type":"string","enum":["storedRead","computedRead","durableCommand","paidAction","verification"]},"executionMode":{"type":"string","enum":["sync","async","adaptive"]},"freshnessPolicies":{"type":"array","items":{"type":"string","enum":["storedOnly","storedPreferred","freshRequired"]},"minItems":1,"maxItems":3},"billingClassification":{"type":"string","enum":["freeStoredRead","included","metered","quotedPaid"]},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"minimumRole":{"type":"string","enum":["viewer","member","manager","admin","owner","service"]},"sourceDependencies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[a-z][a-z0-9_]*$"},"maxItems":20},"privacyClass":{"type":"string","enum":["public","workspaceConfidential","restricted"]},"limits":{"type":"object","properties":{"maxItems":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":10000},"maxBytes":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":10000000},"maxFanout":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":100},"timeoutMs":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":900000},"retentionSeconds":{"type":"integer","minimum":0,"maximum":31536000}},"required":["maxItems","maxBytes","maxFanout","timeoutMs","retentionSeconds"],"additionalProperties":false},"sideEffects":{"type":"string","enum":["none","durableWrite","externalCall","externalAndDurableWrite"]},"idempotency":{"type":"object","properties":{"supported":{"type":"boolean"},"required":{"type":"boolean"}},"required":["supported","required"],"additionalProperties":false},"approvalRequired":{"type":"boolean"},"handlerVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"deprecatedAt":{"type":"string","format":"date-time"},"sunsetAt":{"type":"string","format":"date-time"},"replacementId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["id","version","displayName","description","kind","stability","availability","inputSchema","outputSchema","operationClass","executionMode","freshnessPolicies","billingClassification","requiredScopes","minimumRole","sourceDependencies","privacyClass","limits","sideEffects","idempotency","approvalRequired","handlerVersion"],"additionalProperties":false},"maxItems":500}},"required":["items"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getAgentPlatformCapability_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"capability":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"version":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"displayName":{"type":"string","minLength":1,"maxLength":120},"description":{"type":"string","minLength":1,"maxLength":1000},"kind":{"type":"string","enum":["evidence","decision","memory","action","verification"]},"stability":{"type":"string","enum":["experimental","beta","stable"]},"availability":{"type":"string","enum":["internal","pilot","public"]},"inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":40},"hash":{"type":"string","minLength":16,"maxLength":128}},"required":["id","version"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":3,"maxLength":200},"version":{"type":"string","minLength":1,"maxLength":40},"hash":{"type":"string","minLength":16,"maxLength":128}},"required":["id","version"],"additionalProperties":false},"operationClass":{"type":"string","enum":["storedRead","computedRead","durableCommand","paidAction","verification"]},"executionMode":{"type":"string","enum":["sync","async","adaptive"]},"freshnessPolicies":{"type":"array","items":{"type":"string","enum":["storedOnly","storedPreferred","freshRequired"]},"minItems":1,"maxItems":3},"billingClassification":{"type":"string","enum":["freeStoredRead","included","metered","quotedPaid"]},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"minimumRole":{"type":"string","enum":["viewer","member","manager","admin","owner","service"]},"sourceDependencies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160,"pattern":"^[a-z][a-z0-9_]*$"},"maxItems":20},"privacyClass":{"type":"string","enum":["public","workspaceConfidential","restricted"]},"limits":{"type":"object","properties":{"maxItems":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":10000},"maxBytes":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":10000000},"maxFanout":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":100},"timeoutMs":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":900000},"retentionSeconds":{"type":"integer","minimum":0,"maximum":31536000}},"required":["maxItems","maxBytes","maxFanout","timeoutMs","retentionSeconds"],"additionalProperties":false},"sideEffects":{"type":"string","enum":["none","durableWrite","externalCall","externalAndDurableWrite"]},"idempotency":{"type":"object","properties":{"supported":{"type":"boolean"},"required":{"type":"boolean"}},"required":["supported","required"],"additionalProperties":false},"approvalRequired":{"type":"boolean"},"handlerVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"deprecatedAt":{"type":"string","format":"date-time"},"sunsetAt":{"type":"string","format":"date-time"},"replacementId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["id","version","displayName","description","kind","stability","availability","inputSchema","outputSchema","operationClass","executionMode","freshnessPolicies","billingClassification","requiredScopes","minimumRole","sourceDependencies","privacyClass","limits","sideEffects","idempotency","approvalRequired","handlerVersion"],"additionalProperties":false}},"required":["capability"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"listAgentPlatformDataProviders_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z][a-z0-9_-]+$"},"displayName":{"type":"string","minLength":2,"maxLength":120},"status":{"type":"string","enum":["active","connectionRequired","planned"]},"ownership":{"type":"string","enum":["contextterManaged","workspaceConnection","notIntegrated"]},"accessModes":{"type":"array","items":{"type":"string","enum":["normalized","stored","rawProxy"]},"minItems":1,"maxItems":3},"capabilityFamilies":{"type":"array","items":{"type":"string","enum":["keywordResearch","serp","domainIntelligence","backlinks","positionTracking","siteAudit","searchPerformance","aiVisibility","contentGeneration"]},"minItems":1,"maxItems":12},"billingMode":{"type":"string","enum":["included","quotedPaidAction","providerPassthrough","unavailable"]},"rawProxyAvailable":{"type":"boolean"},"note":{"type":"string","minLength":1,"maxLength":360}},"required":["id","displayName","status","ownership","accessModes","capabilityFamilies","billingMode","rawProxyAvailable","note"],"additionalProperties":false},"maxItems":32},"total":{"type":"integer","minimum":0,"maximum":32}},"required":["items","total"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"listAuthorizedAgentWorkspaces_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"name":{"type":"string","minLength":1,"maxLength":160},"domain":{"type":"string","minLength":1,"maxLength":253},"lifecycle":{"type":"string","enum":["active","restricted","deletionPending"]}},"required":["id","name","lifecycle"],"additionalProperties":false},"maxItems":1}},"required":["items"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getAgentWorkspaceContext_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"name":{"type":"string","minLength":1,"maxLength":160},"domain":{"type":"string","minLength":1,"maxLength":253},"lifecycle":{"type":"string","enum":["active","restricted","deletionPending"]}},"required":["id","name","lifecycle"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedWorkspaceContent"]},"languages":{"type":"array","items":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})?$"},"maxItems":20},"markets":{"type":"array","items":{"type":"object","properties":{"languageCode":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})?$"},"countryCode":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"location":{"type":"string","minLength":1,"maxLength":160}},"additionalProperties":false},"maxItems":20},"timezone":{"type":"string","minLength":1,"maxLength":100},"businessContextSummary":{"type":"string","minLength":1,"maxLength":2000}},"required":["workspace","contentTrust","languages","markets"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getActionApproval_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getActionExecution_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getActionQuote_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"aiVisibility_mentions_list_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"decision_list_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false}},"required":["items","pageInfo"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"decision_get_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getAgentOperation_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"getAgentWorkspaceSourceCoverage_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"sources":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50}},"required":["workspaceId","sources"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"strategy_list_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false}},"required":["items","pageInfo"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"strategy_get_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"verification_get_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"workItem_list_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false}},"required":["items","pageInfo"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"workItem_get_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"outcome_list_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["measured","partial","failed","inconclusive"]},"verdict":{"type":"string","enum":["improved","unchanged","worsened"]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"metrics":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"baselineValue":{"type":"number"},"observedValue":{"type":"number"},"unit":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["metric"],"additionalProperties":false},"maxItems":100},"attributionLimits":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"attributionConfidence":{"type":"string","enum":["high","medium","low","unattributed"],"default":"unattributed"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"recordedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["external_agent_reported","contextter_agent_reported","human_reported"]}},"required":["id","workItemId","status","observationWindow","metrics","attributionLimits","evidenceRefs","recordedBy","createdAt","source"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false}},"required":["items","pageInfo"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"workMemory_overview_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"activeStrategy":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false,"nullable":true},"decisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false},"maxItems":50},"work":{"type":"array","items":{"type":"object","properties":{"workItem":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"latestOutcome":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["measured","partial","failed","inconclusive"]},"verdict":{"type":"string","enum":["improved","unchanged","worsened"]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"metrics":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"baselineValue":{"type":"number"},"observedValue":{"type":"number"},"unit":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["metric"],"additionalProperties":false},"maxItems":100},"attributionLimits":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"attributionConfidence":{"type":"string","enum":["high","medium","low","unattributed"],"default":"unattributed"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"recordedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["external_agent_reported","contextter_agent_reported","human_reported"]}},"required":["id","workItemId","status","observationWindow","metrics","attributionLimits","evidenceRefs","recordedBy","createdAt","source"],"additionalProperties":false,"nullable":true},"openVerificationRun":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false,"nullable":true}},"required":["workItem","latestOutcome","openVerificationRun"],"additionalProperties":false},"maxItems":50},"includedTerminal":{"type":"boolean"},"truncated":{"type":"object","properties":{"decisions":{"type":"boolean"},"workItems":{"type":"boolean"}},"required":["decisions","workItems"],"additionalProperties":false}},"required":["activeStrategy","decisions","work","includedTerminal","truncated"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"content_project_brief_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"content_project_document_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"write":{"type":"object","properties":{"status":{"type":"string","enum":["applied","duplicate"]},"revision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0}},"required":["status","revision","wordCount"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","write","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"content_project_structure_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"structure":{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revision":{"type":"integer","minimum":0},"userRefined":{"type":"boolean"},"outline":{"type":"object","properties":{"h1":{"type":"string","minLength":1,"maxLength":300},"targetWordCount":{"type":"integer","minimum":100,"maximum":100000},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":300},"level":{"type":"integer","minimum":1,"maximum":4},"purpose":{"type":"string","minLength":1,"maxLength":1000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"targetWords":{"type":"integer","minimum":20,"maximum":5000}},"required":["heading","level","purpose","keyPoints","targetWords"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["h1","targetWordCount","sections"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["projectId","revision","userRefined","outline","createdAt","updatedAt"],"additionalProperties":false},"write":{"type":"object","properties":{"status":{"type":"string","enum":["applied","duplicate"]},"revision":{"type":"integer","minimum":0}},"required":["status","revision"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","structure","write","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordCluster_rename_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"clusterId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"changed":{"type":"boolean"}},"required":["clusterId","label","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordList_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordTag_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordTag_assignment_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keyword_workflowStatus_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_alertRule_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_linkOpportunity_status_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^slo_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"analysisId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sla_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["new","accepted","ignored","implemented","stale"]},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"targetUrl":{"type":"string","format":"uri","maxLength":2048},"sourceTitle":{"type":"string","maxLength":1000},"targetTitle":{"type":"string","maxLength":1000},"opportunityType":{"type":"string","enum":["contextual_inlink_gap","deep_page_support","topic_cluster_gap","authority_distribution","orphan_recovery","anchor_improvement"]},"priority":{"type":"string","enum":["critical","high","medium","low"]},"confidence":{"type":"string","enum":["high","medium","low"]},"score":{"type":"number"},"suggestedAnchorIntent":{"type":"string","maxLength":1000},"ignoredReason":{"type":"string","maxLength":2000},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","analysisId","status","sourceUrl","targetUrl","opportunityType","priority","confidence","score","suggestedAnchorIntent","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_schedule_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"tracking_schedule_update_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","keywords"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","listId"],"additionalProperties":false}]}},"required":["item"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"content_project_create_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false}},"required":["item"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_ai_visibility_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_backlinks_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_competitors_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_domain_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_rankings_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_search_performance_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_analyze_site_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]},{"type":"object","properties":{"kind":{"type":"string","enum":["domain","competitors","searchPerformance","rankings","siteAudit","backlinks"]},"status":{"type":"string","enum":["ready","partial","blocked"]},"requestedModules":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"minItems":1,"maxItems":32},"modules":{"type":"array","items":{"type":"object","properties":{"module":{"type":"string","minLength":1,"maxLength":80},"subject":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"availability":{"type":"string","enum":["notAvailable"]},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["availability","domain","market","reasonCode"],"additionalProperties":false},{"type":"object","properties":{"availability":{"type":"string","enum":["available"]},"profileId":{"type":"string","minLength":14,"maxLength":134,"pattern":"^dprof_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"market":{"type":"object","properties":{"locationCode":{"type":"integer","minimum":0,"maximum":100000000,"exclusiveMinimum":true},"languageCode":{"type":"string","minLength":2,"maxLength":5,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"}},"required":["locationCode","languageCode"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedExternalContent"]},"freshnessPolicyVersion":{"type":"string","enum":["domain-profile-freshness-v1.0.0"]},"profileStatus":{"type":"string","enum":["building","ready","failed"]},"projectionVersion":{"type":"number","enum":[1]},"latestAttemptAt":{"type":"string","format":"date-time"},"latestUsableAt":{"type":"string","format":"date-time"},"modules":{"type":"object","properties":{"rankOverview":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"history":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1970,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"organic":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false},"paid":{"type":"object","properties":{"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0},"estimatedPaidTrafficCostUsd":{"type":"number","minimum":0},"position1":{"type":"number","minimum":0},"positions2To3":{"type":"number","minimum":0},"positions4To10":{"type":"number","minimum":0},"positions11To20":{"type":"number","minimum":0},"positions21To30":{"type":"number","minimum":0},"positions31To40":{"type":"number","minimum":0},"positions41To50":{"type":"number","minimum":0},"positions51To100":{"type":"number","minimum":0},"newKeywords":{"type":"number","minimum":0},"improvedKeywords":{"type":"number","minimum":0},"declinedKeywords":{"type":"number","minimum":0},"lostKeywords":{"type":"number","minimum":0}},"additionalProperties":false}},"required":["year","month"],"additionalProperties":false},"maxItems":24}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"rankedKeywords":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"keyword":{"type":"string","minLength":1,"maxLength":500},"position":{"type":"number","minimum":0},"searchVolume":{"type":"number","minimum":0},"difficulty":{"type":"number","minimum":0,"maximum":100},"intent":{"type":"string","minLength":1,"maxLength":80},"rankingUrl":{"type":"string","maxLength":2048,"format":"uri"},"estimatedTraffic":{"type":"number","minimum":0},"cpcUsd":{"type":"number","minimum":0}},"required":["keyword"],"additionalProperties":false},"maxItems":50}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"competitors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"sharedKeywords":{"type":"number","minimum":0},"averagePosition":{"type":"number","minimum":0},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"topPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"keywordCount":{"type":"number","minimum":0},"estimatedTraffic":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"backlinksSummary":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"authorityRank":{"type":"number","minimum":0},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0},"referringMainDomains":{"type":"number","minimum":0},"brokenBacklinks":{"type":"number","minimum":0},"spamScore":{"type":"number","minimum":0},"crawledPages":{"type":"number","minimum":0},"brokenPages":{"type":"number","minimum":0},"referringIps":{"type":"number","minimum":0},"followBacklinks":{"type":"number","minimum":0},"nofollowBacklinks":{"type":"number","minimum":0},"indexedPages":{"type":"number","minimum":0},"firstSeenAt":{"type":"string","format":"date-time"},"types":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"tlds":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20},"countries":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":160},"count":{"type":"number","minimum":0}},"required":["key","count"],"additionalProperties":false},"maxItems":20}},"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"anchors":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":0,"maxLength":1000},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["text"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"referringDomains":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"domain":{"allOf":[{"allOf":[{"type":"string"},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"backlinks":{"type":"number","minimum":0},"authorityRank":{"type":"number","minimum":0}},"required":["domain"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false},"indexedPages":{"type":"object","properties":{"state":{"type":"string","enum":["current","lastKnown","unavailable"]},"status":{"type":"string","enum":["ready","empty","partial","stale","unavailable"]},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"returnedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"responseOmittedItemCount":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","maxLength":2048,"format":"uri"},"title":{"type":"string","minLength":1,"maxLength":500},"backlinks":{"type":"number","minimum":0},"referringDomains":{"type":"number","minimum":0}},"required":["url"],"additionalProperties":false},"maxItems":25}},"required":["items"],"additionalProperties":false}},"required":["state","status","freshness","truncated"],"additionalProperties":false}},"required":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"],"additionalProperties":false}},"required":["availability","profileId","domain","market","contentTrust","freshnessPolicyVersion","profileStatus","projectionVersion","modules"],"additionalProperties":false}]}]}},"required":["module","data"],"additionalProperties":false},"minItems":1,"maxItems":32},"generatedAt":{"type":"string","format":"date-time"}},"required":["kind","status","requestedModules","modules","generatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_build_seo_plan_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"mode":{"type":"string","enum":["create","revise"]},"activated":{"type":"boolean"},"strategy":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false},"revision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"decisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false},"maxItems":20},"workItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"maxItems":60}},"required":["mode","activated","strategy","revision","decisions","workItems"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_create_content_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["list"]},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"versionNumber":{"type":"integer"},"wordCount":{"type":"integer"},"sectionCount":{"type":"integer"},"source":{"type":"string"},"createdAt":{"type":"string"},"isProtected":{"type":"boolean"},"overallScore":{"type":"number"}},"required":["id","versionNumber","wordCount","sectionCount","source","createdAt","isProtected"],"additionalProperties":false}},"hasMore":{"type":"boolean"}},"required":["mode","items","hasMore"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["get"]},"version":{"type":"object","properties":{"id":{"type":"string"},"versionNumber":{"type":"integer"},"wordCount":{"type":"integer"},"sectionCount":{"type":"integer"},"source":{"type":"string"},"createdAt":{"type":"string"},"isProtected":{"type":"boolean"},"overallScore":{"type":"number"},"content":{"type":"string"},"offset":{"type":"integer"},"totalCharacters":{"type":"integer"},"nextOffset":{"type":"integer"}},"required":["id","versionNumber","wordCount","sectionCount","source","createdAt","isProtected","content","offset","totalCharacters"],"additionalProperties":false}},"required":["mode","version"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["compare"]},"first":{"type":"object","properties":{"id":{"type":"string"},"versionNumber":{"type":"integer"},"wordCount":{"type":"integer"},"sectionCount":{"type":"integer"},"source":{"type":"string"},"createdAt":{"type":"string"},"isProtected":{"type":"boolean"},"overallScore":{"type":"number"},"content":{"type":"string"},"offset":{"type":"integer"},"totalCharacters":{"type":"integer"},"nextOffset":{"type":"integer"}},"required":["id","versionNumber","wordCount","sectionCount","source","createdAt","isProtected","content","offset","totalCharacters"],"additionalProperties":false},"second":{"type":"object","properties":{"id":{"type":"string"},"versionNumber":{"type":"integer"},"wordCount":{"type":"integer"},"sectionCount":{"type":"integer"},"source":{"type":"string"},"createdAt":{"type":"string"},"isProtected":{"type":"boolean"},"overallScore":{"type":"number"},"content":{"type":"string"},"offset":{"type":"integer"},"totalCharacters":{"type":"integer"},"nextOffset":{"type":"integer"}},"required":["id","versionNumber","wordCount","sectionCount","source","createdAt","isProtected","content","offset","totalCharacters"],"additionalProperties":false},"wordCountDelta":{"type":"integer"},"sectionCountDelta":{"type":"integer"}},"required":["mode","first","second","wordCountDelta","sectionCountDelta"],"additionalProperties":false}]},{"type":"object","properties":{"mode":{"type":"string","enum":["context.check"]},"projectId":{"type":"string"},"check":{"type":"object","properties":{"overallScore":{"type":"integer","minimum":0,"maximum":100},"recommendation":{"type":"string"},"missingGaps":{"type":"array","items":{"type":"string"}},"suggestedQuestions":{"type":"array","items":{"type":"object","properties":{"question":{"type":"string"},"category":{"type":"string"},"impact":{"type":"integer","minimum":0,"maximum":100},"status":{"type":"string","nullable":true}},"required":["question","category","impact","status"],"additionalProperties":false}},"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"score":{"type":"integer","minimum":0,"maximum":100},"status":{"type":"string"},"details":{"type":"string"}},"required":["id","score","status","details"],"additionalProperties":false}},"observedAt":{"type":"integer"}},"required":["overallScore","recommendation","missingGaps","suggestedQuestions","categories","observedAt"],"additionalProperties":false,"nullable":true}},"required":["mode","projectId","check"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"intent":{"type":"string","enum":["quote"]},"operation":{"type":"string","enum":["structure.expand","structure.rewriteHeading","structure.refine"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"maximumEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["intent","operation","projectId","maximumEurCents"],"additionalProperties":false},{"type":"object","properties":{"intent":{"type":"string","enum":["run"]},"operation":{"type":"string","enum":["structure.expand","structure.rewriteHeading","structure.refine"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"maximumEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0},"actualEurCents":{"type":"integer","minimum":0},"preview":{"anyOf":[{"type":"object","properties":{"subsections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string"},"level":{"type":"number","minimum":2,"maximum":6},"purpose":{"type":"string"},"key_points":{"type":"array","items":{"type":"string"}},"target_words":{"type":"number"}},"required":["heading","level","purpose","key_points","target_words"],"additionalProperties":false},"minItems":2,"maxItems":5},"reasoning":{"type":"string"}},"required":["subsections","reasoning"],"additionalProperties":false},{"type":"object","properties":{"variations":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string"},"reason":{"type":"string"}},"required":["heading","reason"],"additionalProperties":false},"minItems":3,"maxItems":5},"originalAnalysis":{"type":"string"}},"required":["variations","originalAnalysis"],"additionalProperties":false},{"type":"object","properties":{"h1":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":80},"heading":{"type":"string","minLength":1,"maxLength":240},"level":{"type":"integer","minimum":2,"maximum":6},"purpose":{"type":"string","maxLength":1000},"key_points":{"type":"array","items":{"type":"string","minLength":1,"maxLength":400},"maxItems":12},"target_words":{"type":"integer","minimum":50,"maximum":2000}},"required":["id","heading","level","target_words"],"additionalProperties":false},"minItems":1,"maxItems":30},"reasoning":{"type":"string"}},"required":["h1","sections"],"additionalProperties":false}]},"next":{"type":"string"}},"required":["intent","operation","projectId","maximumEurCents","actualEurCents","preview","next"],"additionalProperties":false}]},{"type":"object","properties":{"state":{"type":"string","enum":["ready","preparing"]},"websiteUrl":{"type":"string"},"jobId":{"type":"string","nullable":true},"phase":{"type":"string","nullable":true},"percentComplete":{"type":"number","minimum":0,"maximum":100}},"required":["state","websiteUrl","jobId","phase","percentComplete"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false}},"required":["item"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false}},"required":["item"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"write":{"type":"object","properties":{"status":{"type":"string","enum":["applied","duplicate"]},"revision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0}},"required":["status","revision","wordCount"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","write","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"structure":{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revision":{"type":"integer","minimum":0},"userRefined":{"type":"boolean"},"outline":{"type":"object","properties":{"h1":{"type":"string","minLength":1,"maxLength":300},"targetWordCount":{"type":"integer","minimum":100,"maximum":100000},"sections":{"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","minLength":1,"maxLength":300},"level":{"type":"integer","minimum":1,"maximum":4},"purpose":{"type":"string","minLength":1,"maxLength":1000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"targetWords":{"type":"integer","minimum":20,"maximum":5000}},"required":["heading","level","purpose","keyPoints","targetWords"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["h1","targetWordCount","sections"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["projectId","revision","userRefined","outline","createdAt","updatedAt"],"additionalProperties":false},"write":{"type":"object","properties":{"status":{"type":"string","enum":["applied","duplicate"]},"revision":{"type":"integer","minimum":0}},"required":["status","revision"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","structure","write","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":150},"targetKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":150},"maxItems":1000},"mode":{"type":"string","enum":["full","lite"]},"status":{"type":"string","enum":["setup","research","context","structure","writing","scoring","edit","score","complete"]},"documentRevision":{"type":"integer","minimum":0},"wordCount":{"type":"integer","minimum":0},"hasContent":{"type":"boolean"},"isArchived":{"type":"boolean"},"approvalStatus":{"type":"string","enum":["draft","pending_review","approved","changes_requested"]},"currentScore":{"type":"number","minimum":0,"maximum":100},"bestScore":{"type":"number","minimum":0,"maximum":100},"contentUpdatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","targetKeyword","secondaryKeywords","mode","status","documentRevision","wordCount","hasContent","isArchived","createdAt","updatedAt"],"additionalProperties":false},"initialVersionId":{"type":"string","enum":["cvn_1"]},"quickScore":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100,"nullable":true},"measuredDimensions":{"type":"integer"},"totalDimensions":{"type":"integer"},"findingsCount":{"type":"integer"}},"required":["score","measuredDimensions","totalDimensions","findingsCount"],"additionalProperties":false}},"required":["item","initialVersionId","quickScore"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_find_opportunities_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ana_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"sourceSnapshotId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"sourceVersion":{"type":"string","enum":["3.0.0","3.0.1"]},"evaluatedAt":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["available","needsRefresh","notAvailable"]},"refresh":{"type":"object","properties":{"requiredCapabilityId":{"type":"string","enum":["opportunity.decision-system.refresh"]},"requiredScopes":{"type":"array","items":{"type":"string","enum":["decisions:write"]},"minItems":1,"maxItems":1},"nextTool":{"type":"string","enum":["seo_find_opportunities"]},"nextMode":{"type":"string","enum":["refresh"]}},"required":["requiredCapabilityId","requiredScopes","nextTool","nextMode"],"additionalProperties":false},"recommendations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^opp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","enum":["content","technical","rankings","internal_links","authority","research","data"]},"priority":{"type":"string","enum":["critical","high","medium","low"]},"tier":{"type":"string","enum":["protect_now","unblock","quick_progress","strategic_growth","confirm_or_measure","monitor"]},"guideBand":{"type":"string","enum":["now","next","confirm","monitor"]},"fit":{"type":"string","enum":["confirmed","supported_core","supported_adjacent","unknown","contradicted","market_mismatch"]},"scores":{"type":"object","properties":{"expectedImpact":{"type":"number","minimum":0,"maximum":100},"goalFit":{"type":"number","minimum":0,"maximum":100},"feasibility":{"type":"number","minimum":0,"maximum":100},"urgency":{"type":"number","minimum":0,"maximum":100},"evidenceConfidence":{"type":"number","minimum":0,"maximum":100},"effort":{"type":"number","minimum":0,"maximum":100}},"required":["expectedImpact","goalFit","feasibility","urgency","evidenceConfidence","effort"],"additionalProperties":false},"recommendedAction":{"type":"object","properties":{"family":{"type":"string","minLength":1,"maxLength":100},"target":{"type":"object","properties":{"id":{"type":"string","minLength":15,"maxLength":135,"pattern":"^target_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"kind":{"type":"string","enum":["keyword_detail","tracked_keyword","research_result","domain_entity","competitor_entity","audit_finding","internal_link_opportunity","content_execution","business_context_review","search_console","manual_external"]}},"required":["id","kind"],"additionalProperties":false},"verificationCode":{"type":"string","minLength":1,"maxLength":100}},"required":["family","target","verificationCode"],"additionalProperties":false},"rationaleCodes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":20},"limitationCodes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":30},"prerequisiteIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^opp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"maxItems":20},"evidence":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^fact_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"sourceId":{"type":"string","enum":["keyword_database","keyword_research","domain_overview","competitive_research","rank_tracking","search_console","site_audit","internal_links","content_execution"]},"metric":{"type":"string","minLength":1,"maxLength":100},"value":{"anyOf":[{"type":"string","maxLength":500},{"type":"number"},{"type":"boolean"}]},"unit":{"type":"string","minLength":1,"maxLength":40},"observedAt":{"type":"string","format":"date-time"},"freshness":{"type":"string","enum":["fresh","stale","aged","unknown"]},"limitationCodes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100},"maxItems":20},"subject":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["domain"]},"domain":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","domain"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["url"]},"url":{"type":"string","minLength":1,"maxLength":2000}},"required":["kind","url"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["keyword"]},"keyword":{"type":"string","minLength":1,"maxLength":500},"market":{"type":"object","properties":{"languageCode":{"type":"string","minLength":1,"maxLength":20,"nullable":true},"locationCode":{"type":"integer","nullable":true},"device":{"type":"string","enum":["desktop","mobile"],"nullable":true},"searchEngine":{"type":"string","minLength":1,"maxLength":40,"nullable":true}},"required":["languageCode","locationCode","device","searchEngine"],"additionalProperties":false}},"required":["kind","keyword"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["competitor_domain"]},"domain":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","domain"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["audit_issue"]},"issueKey":{"type":"string","minLength":1,"maxLength":200}},"required":["kind","issueKey"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["internal_link_edge"]},"sourceUrl":{"type":"string","minLength":1,"maxLength":2000},"targetUrl":{"type":"string","minLength":1,"maxLength":2000},"opportunityType":{"type":"string","minLength":1,"maxLength":100}},"required":["kind","sourceUrl","targetUrl","opportunityType"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["source_status"]},"sourceId":{"type":"string","enum":["keyword_database","keyword_research","domain_overview","competitive_research","rank_tracking","search_console","site_audit","internal_links","content_execution"]}},"required":["kind","sourceId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["content_plan_page"]},"headKeyword":{"type":"string","minLength":1,"maxLength":500}},"required":["kind","headKeyword"],"additionalProperties":false}]}},"required":["id","sourceId","metric","value","freshness","limitationCodes"],"additionalProperties":false},"maxItems":12}},"required":["id","label","category","priority","tier","guideBand","fit","scores","recommendedAction","rationaleCodes","limitationCodes","prerequisiteIds","evidence"],"additionalProperties":false},"maxItems":50},"primaryRecommendationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^opp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"question":{"type":"object","properties":{"recommendationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^opp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"targetLabel":{"type":"string","minLength":1,"maxLength":500},"affectedDecisionCode":{"type":"string","enum":["business_fit_admission"]}},"required":["recommendationId","targetLabel","affectedDecisionCode"],"additionalProperties":false},"basis":{"type":"object","properties":{"engineVersion":{"type":"string","minLength":1,"maxLength":100},"policyVersion":{"type":"string","minLength":1,"maxLength":100}},"required":["engineVersion","policyVersion"],"additionalProperties":false},"truncated":{"type":"boolean"}},"required":["id","sourceSnapshotId","sourceVersion","evaluatedAt","status","recommendations","basis","truncated"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_generate_metadata_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"title":{"type":"string"},"metaDescription":{"type":"string"},"slug":{"type":"string"},"titleCharacters":{"type":"integer"},"descriptionCharacters":{"type":"integer"},"keywordInTitle":{"type":"boolean"},"keywordInDescription":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"string"}},"current":{"type":"object","properties":{"title":{"type":"string","nullable":true},"metaDescription":{"type":"string","nullable":true}},"required":["title","metaDescription"],"additionalProperties":false},"saved":{"type":"object","properties":{"projectId":{"type":"string"}},"required":["projectId"],"additionalProperties":false},"costEurCents":{"type":"number"}},"required":["title","metaDescription","slug","titleCharacters","descriptionCharacters","keywordInTitle","keywordInDescription","warnings","costEurCents"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_get_account_status_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"execution":{"type":"object","properties":{"policy":{"type":"string","enum":["read_only","approval_required","bounded_auto"]},"automaticExecutionEnabled":{"type":"boolean"},"limits":{"type":"object","properties":{"maxPerActionEurCents":{"type":"integer","minimum":0},"maxPerUtcDayEurCents":{"type":"integer","minimum":0},"maxPerUtcMonthEurCents":{"type":"integer","minimum":0}},"required":["maxPerActionEurCents","maxPerUtcDayEurCents","maxPerUtcMonthEurCents"],"additionalProperties":false},"usage":{"type":"object","properties":{"utcDay":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"utcDayAuthorizedEurCents":{"type":"integer","minimum":0},"utcMonth":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"utcMonthAuthorizedEurCents":{"type":"integer","minimum":0},"updatedAt":{"type":"integer","minimum":0}},"required":["utcDay","utcDayAuthorizedEurCents","utcMonth","utcMonthAuthorizedEurCents","updatedAt"],"additionalProperties":false},"remainingUtcDayEurCents":{"type":"integer","minimum":0},"remainingUtcMonthEurCents":{"type":"integer","minimum":0},"budget":{"type":"object","properties":{"enabled":{"type":"boolean"},"source":{"type":"string","enum":["organization_default","workspace_override","disabled"]},"organizationMonthlyLimitEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0},"organizationAuthorizedThisMonthEurCents":{"type":"integer","minimum":0},"organizationRemainingThisMonthEurCents":{"type":"integer","minimum":0},"workspaceLimitEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0},"workspacePeriod":{"type":"string","enum":["one_time","monthly"]},"workspaceAuthorizedEurCents":{"type":"integer","minimum":0},"workspaceRemainingEurCents":{"type":"integer","minimum":0},"maxPerActionEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0},"allowedActionClasses":{"type":"array","items":{"type":"string","enum":["seo_research","content_generation"]}}},"required":["enabled","source","organizationMonthlyLimitEurCents","organizationAuthorizedThisMonthEurCents","organizationRemainingThisMonthEurCents","workspaceLimitEurCents","workspacePeriod","workspaceAuthorizedEurCents","workspaceRemainingEurCents","maxPerActionEurCents","allowedActionClasses"],"additionalProperties":false}},"required":["policy","automaticExecutionEnabled"],"additionalProperties":false},"balance":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"recentActivity":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"costBreakdown":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"dailyTrend":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false}},"required":["execution"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_get_workspace_overview_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"context":{"type":"object","properties":{"workspace":{"type":"object","properties":{"id":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"name":{"type":"string","minLength":1,"maxLength":160},"domain":{"type":"string","minLength":1,"maxLength":253},"lifecycle":{"type":"string","enum":["active","restricted","deletionPending"]}},"required":["id","name","lifecycle"],"additionalProperties":false},"contentTrust":{"type":"string","enum":["untrustedWorkspaceContent"]},"languages":{"type":"array","items":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})?$"},"maxItems":20},"markets":{"type":"array","items":{"type":"object","properties":{"languageCode":{"type":"string","minLength":2,"maxLength":20,"pattern":"^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})?$"},"countryCode":{"type":"string","minLength":2,"maxLength":2,"pattern":"^[A-Za-z]{2}$"},"location":{"type":"string","minLength":1,"maxLength":160}},"additionalProperties":false},"maxItems":20},"timezone":{"type":"string","minLength":1,"maxLength":100},"businessContextSummary":{"type":"string","minLength":1,"maxLength":2000}},"required":["workspace","contentTrust","languages","markets"],"additionalProperties":false},"sourceCoverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"readiness":{"type":"object","properties":{"status":{"type":"string","enum":["ready","needsAttention","blocked"]},"totalSources":{"type":"integer","minimum":0,"maximum":50},"readySources":{"type":"integer","minimum":0,"maximum":50},"attentionSources":{"type":"integer","minimum":0,"maximum":50},"blockedSources":{"type":"integer","minimum":0,"maximum":50}},"required":["status","totalSources","readySources","attentionSources","blockedSources"],"additionalProperties":false},"nextActions":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string","enum":["runJob","configureSource","grantSourceAccess","retryLater"]},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"priority":{"type":"integer","minimum":1,"maximum":100},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"jobId":{"type":"string","enum":["seo_get_account_status","seo_research_keywords","seo_analyze_domain","seo_analyze_search_performance","seo_analyze_rankings","seo_analyze_site","seo_analyze_backlinks","seo_find_opportunities","seo_organize_keywords","seo_manage_tracking","seo_manage_site_audit"]},"suggestedMode":{"type":"string","minLength":1,"maxLength":40},"suggestedArguments":{"type":"object","properties":{"mode":{"type":"string","minLength":1,"maxLength":40},"request":{"type":"object","properties":{"section":{"type":"string","minLength":1,"maxLength":80}},"required":["section"],"additionalProperties":false}},"required":["mode"],"additionalProperties":false}},"required":["kind","reasonCode","priority"],"additionalProperties":false},"maxItems":10}},"required":["context","sourceCoverage","readiness","nextActions"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_insert_links_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"format":{"type":"string","enum":["html","markdown"]},"content":{"type":"string"},"contentOmittedReason":{"type":"string"},"textUnchanged":{"type":"boolean","enum":[true]},"placements":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string"},"anchorText":{"type":"string"},"type":{"type":"string","enum":["internal","external"]}},"required":["url","anchorText","type"],"additionalProperties":false}},"candidatesConsidered":{"type":"integer"},"removedLinks":{"type":"integer"},"reason":{"type":"string"},"quality":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1},"overallScore":{"type":"integer","minimum":0,"maximum":100},"tier":{"type":"string","enum":["excellent","good","marginal","poor"]},"dimensions":{"type":"object","properties":{"d1":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false,"nullable":true},"d2":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false,"nullable":true},"d3":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false},"d4":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false},"d5":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false,"nullable":true},"d6":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false},"d7":{"type":"object","properties":{"score":{"type":"integer","minimum":0,"maximum":100},"label":{"type":"string"},"detail":{"type":"string"},"isNeutral":{"type":"boolean"}},"required":["score","label","detail"],"additionalProperties":false}},"required":["d1","d2","d3","d4","d5","d6","d7"],"additionalProperties":false},"summary":{"type":"string"},"actionSuggestion":{"type":"string","nullable":true}},"required":["id","overallScore","tier","dimensions","summary","actionSuggestion"],"additionalProperties":false},"maxItems":30},"saved":{"type":"object","properties":{"projectId":{"type":"string"},"documentRevision":{"type":"integer"}},"required":["projectId","documentRevision"],"additionalProperties":false},"costEurCents":{"type":"number"}},"required":["format","textUnchanged","placements","candidatesConsidered","removedLinks","costEurCents"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_manage_site_audit_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"siteHost":{"type":"string","minLength":1,"maxLength":253},"includePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1},"maxDepth":{"type":"integer","minimum":0},"perHostConcurrency":{"type":"integer","minimum":1},"crawlDelayMs":{"type":"integer","minimum":0},"taskBatchSize":{"type":"integer","minimum":1},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","baseUrl","siteHost","includePatterns","excludePatterns","additionalHosts","includeSubdomains","respectRobotsTxt","maxUrls","maxDepth","perHostConcurrency","crawlDelayMs","taskBatchSize","renderingPolicy","authorizationStatus","state","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"siteHost":{"type":"string","minLength":1,"maxLength":253},"includePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1},"maxDepth":{"type":"integer","minimum":0},"perHostConcurrency":{"type":"integer","minimum":1},"crawlDelayMs":{"type":"integer","minimum":0},"taskBatchSize":{"type":"integer","minimum":1},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","baseUrl","siteHost","includePatterns","excludePatterns","additionalHosts","includeSubdomains","respectRobotsTxt","maxUrls","maxDepth","perHostConcurrency","crawlDelayMs","taskBatchSize","renderingPolicy","authorizationStatus","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"},"archivedSchedules":{"type":"integer","minimum":0},"archivedAlertRules":{"type":"integer","minimum":0}},"required":["item","changed","archivedSchedules","archivedAlertRules"],"additionalProperties":false},{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"challenge":{"type":"object","properties":{"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]},"token":{"type":"string","minLength":1,"maxLength":256},"tokenValue":{"type":"string","minLength":1,"maxLength":512},"expiresAt":{"type":"string","format":"date-time"},"dnsTxt":{"type":"object","properties":{"host":{"type":"string","minLength":1,"maxLength":253},"value":{"type":"string","minLength":1,"maxLength":512}},"required":["host","value"],"additionalProperties":false},"htmlFile":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":2048},"url":{"type":"string","format":"uri","maxLength":2048},"content":{"type":"string","minLength":1,"maxLength":512}},"required":["path","url","content"],"additionalProperties":false},"metaTag":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"content":{"type":"string","minLength":1,"maxLength":256},"html":{"type":"string","minLength":1,"maxLength":1024}},"required":["name","content","html"],"additionalProperties":false}},"required":["method","token","tokenValue","expiresAt","dnsTxt","htmlFile","metaTag"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["siteId","authorizationStatus","changed"],"additionalProperties":false},{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verified":{"type":"boolean"},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"authorizationMethod":{"type":"string","enum":["dns_txt","html_file","meta_tag"]},"checkedAt":{"type":"string","format":"date-time"},"changed":{"type":"boolean"}},"required":["siteId","verified","authorizationStatus","checkedAt","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sla_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","completed","failed","stale"]},"mode":{"type":"string","enum":["deterministic","ai_assisted"]},"recommendationGoal":{"type":"string","enum":["balanced","cluster","deep_pages","authority"]},"keywordSource":{"type":"string","enum":["none","manual","keyword_list"]},"recommendationCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","runId","status","mode","recommendationGoal","keywordSource","recommendationCount","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"reused":{"type":"boolean"},"restarted":{"type":"boolean"}},"required":["item","created","reused","restarted"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^slo_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"analysisId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sla_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["new","accepted","ignored","implemented","stale"]},"sourceUrl":{"type":"string","format":"uri","maxLength":2048},"targetUrl":{"type":"string","format":"uri","maxLength":2048},"sourceTitle":{"type":"string","maxLength":1000},"targetTitle":{"type":"string","maxLength":1000},"opportunityType":{"type":"string","enum":["contextual_inlink_gap","deep_page_support","topic_cluster_gap","authority_distribution","orphan_recovery","anchor_improvement"]},"priority":{"type":"string","enum":["critical","high","medium","low"]},"confidence":{"type":"string","enum":["high","medium","low"]},"score":{"type":"number"},"suggestedAnchorIntent":{"type":"string","maxLength":1000},"ignoredReason":{"type":"string","maxLength":2000},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","analysisId","status","sourceUrl","targetUrl","opportunityType","priority","confidence","score","suggestedAnchorIntent","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_manage_tracking_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["prepared","pending","blocked","partial","complete","failed"]},"phase":{"type":"string","enum":["membership","metrics","baseline","verification"]},"preparation":{"type":"object","properties":{"item":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","keywords"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","listId"],"additionalProperties":false}]},"scheduleReused":{"type":"boolean"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":100},"memberCount":{"type":"integer","minimum":1,"maximum":100},"preparedAt":{"type":"string","format":"date-time"},"metrics":{"type":"object","properties":{"packageId":{"type":"string","enum":["search_volume"]},"freshKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"noDataKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"missingKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"oldestObservedAt":{"type":"string","format":"date-time"}},"required":["packageId","freshKeywords","noDataKeywords","missingKeywords"],"additionalProperties":false}},"required":["item","scheduleReused","listId","keywords","memberCount","preparedAt","metrics"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"metricsOperation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"baselineOperation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"blockingAction":{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]},"metricsEvidence":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"baselineEvidence":{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},"reasonCode":{"type":"string"},"next":{"type":"string","enum":["repeat_setup","resolve_blocker","done"]},"retryAfterSeconds":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["status","phase","preparation","next"],"additionalProperties":false},{"type":"object","properties":{"item":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","keywords"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","listId"],"additionalProperties":false}]}},"required":["item"],"additionalProperties":false},{"type":"object","properties":{"item":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","keywords"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","listId"],"additionalProperties":false}]}},"required":["item"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"nextRunAt":{"type":"string","format":"date-time"}},"required":["id","status","nextRunAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"nextRunAt":{"type":"string","format":"date-time"}},"required":["id","status","nextRunAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"nextRunAt":{"type":"string","format":"date-time"}},"required":["id","status","nextRunAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_manage_work_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"activeStrategy":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false,"nullable":true},"decisions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false},"maxItems":50},"work":{"type":"array","items":{"type":"object","properties":{"workItem":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"latestOutcome":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["measured","partial","failed","inconclusive"]},"verdict":{"type":"string","enum":["improved","unchanged","worsened"]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"metrics":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"baselineValue":{"type":"number"},"observedValue":{"type":"number"},"unit":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["metric"],"additionalProperties":false},"maxItems":100},"attributionLimits":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"attributionConfidence":{"type":"string","enum":["high","medium","low","unattributed"],"default":"unattributed"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"recordedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["external_agent_reported","contextter_agent_reported","human_reported"]}},"required":["id","workItemId","status","observationWindow","metrics","attributionLimits","evidenceRefs","recordedBy","createdAt","source"],"additionalProperties":false,"nullable":true},"openVerificationRun":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false,"nullable":true}},"required":["workItem","latestOutcome","openVerificationRun"],"additionalProperties":false},"maxItems":50},"includedTerminal":{"type":"boolean"},"truncated":{"type":"object","properties":{"decisions":{"type":"boolean"},"workItems":{"type":"boolean"}},"required":["decisions","workItems"],"additionalProperties":false}},"required":["activeStrategy","decisions","work","includedTerminal","truncated"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dec_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"origin":{"type":"string","enum":["contextter","external_agent","human"]},"actor":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"status":{"type":"string","enum":["recorded","accepted","rejected","superseded"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"choice":{"type":"string","minLength":1,"maxLength":2000},"reasonSummary":{"type":"string","minLength":1,"maxLength":2000},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"assumptions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"strategyRevisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"recommendationRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"evidenceGapReasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","origin","actor","status","revision","choice","reasonSummary","constraints","assumptions","evidenceRefs","recommendationRefs","createdAt","updatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_optimize_content_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"format":{"type":"string","enum":["html","markdown"]},"content":{"type":"string"},"contentOmittedReason":{"type":"string"},"scoreBefore":{"type":"integer","nullable":true},"scoreAfter":{"type":"integer","nullable":true},"measuredDimensions":{"type":"integer"},"totalDimensions":{"type":"integer"},"unmeasuredDimensionsNotice":{"type":"string"},"addressedFindings":{"type":"array","items":{"type":"string"}},"diff":{"type":"array","items":{"type":"object","properties":{"suggestionId":{"type":"string"},"findingId":{"type":"string"},"before":{"type":"string"},"after":{"type":"string"}},"required":["suggestionId","findingId","before","after"],"additionalProperties":false},"maxItems":30},"diffOmittedReason":{"type":"string"},"saved":{"type":"object","properties":{"projectId":{"type":"string"},"documentRevision":{"type":"integer"}},"required":["projectId","documentRevision"],"additionalProperties":false},"costEurCents":{"type":"number"}},"required":["format","scoreBefore","scoreAfter","measuredDimensions","totalDimensions","unmeasuredDimensionsNotice","addressedFindings","costEurCents"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["selectionQuote"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"documentRevision":{"type":"integer","minimum":0},"command":{"type":"string","enum":["improve","expand","shorten","fix","simplify","continue"]},"maximumEurCents":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["mode","projectId","documentRevision","command","maximumEurCents"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["selection"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"documentRevision":{"type":"integer","minimum":0},"command":{"type":"string","enum":["improve","expand","shorten","fix","simplify","continue"]},"before":{"type":"string"},"after":{"type":"string"},"saved":{"type":"object","properties":{"projectId":{"type":"string"},"documentRevision":{"type":"integer"}},"required":["projectId","documentRevision"],"additionalProperties":false},"costEurCents":{"type":"number","minimum":0}},"required":["mode","projectId","documentRevision","command","before","after","costEurCents"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["optimizerQuote"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"versionId":{"type":"string"},"requestId":{"type":"string"},"documentRevision":{"type":"integer"},"maximumEurCents":{"type":"integer"},"expiresAt":{"type":"integer"},"rewriteCount":{"type":"integer"},"models":{"type":"array","items":{"type":"string"}},"planSections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"heading":{"type":"string"},"findingIds":{"type":"array","items":{"type":"string"}}},"required":["id","heading","findingIds"],"additionalProperties":false}},"scoreBefore":{"type":"number","nullable":true}},"required":["mode","projectId","versionId","requestId","documentRevision","maximumEurCents","expiresAt","rewriteCount","models","planSections","scoreBefore"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["optimizerResult"]},"projectId":{"type":"string","pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Crawl Foundry content project ID, e.g. prj_…"},"versionId":{"type":"string"},"documentRevision":{"type":"integer"},"status":{"type":"string","enum":["completed","unchanged","partial"]},"content":{"type":"string"},"contentOmittedReason":{"type":"string"},"scoreBefore":{"type":"number","nullable":true},"scoreAfter":{"type":"number","nullable":true},"diff":{"type":"array","items":{"type":"object","properties":{"sectionId":{"type":"string"},"heading":{"type":"string"},"before":{"type":"string"},"after":{"type":"string"},"changeNotes":{"type":"string"}},"required":["sectionId","heading","before","after","changeNotes"],"additionalProperties":false}},"diffOmittedReason":{"type":"string"},"failedSections":{"type":"array","items":{"type":"string"}},"saved":{"type":"object","properties":{"projectId":{"type":"string"},"documentRevision":{"type":"integer"}},"required":["projectId","documentRevision"],"additionalProperties":false},"costEurCents":{"type":"number","minimum":0},"unmeasuredDimensionsNotice":{"type":"string"}},"required":["mode","projectId","versionId","documentRevision","status","scoreBefore","scoreAfter","failedSections","costEurCents","unmeasuredDimensionsNotice"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_organize_keywords_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"insertedCount":{"type":"integer","minimum":0,"maximum":100},"restoredCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["requestedCount","insertedCount","restoredCount","existingCount","items"],"additionalProperties":false},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"list":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"membership":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","membership"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"assignment":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","assignment"],"additionalProperties":false},"maxItems":20},"workflow":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false}},"required":["source","ingestion","keywordIds","tags"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"importedCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["runId","requestedCount","importedCount","existingCount","items"],"additionalProperties":false},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"list":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"membership":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","membership"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"assignment":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","assignment"],"additionalProperties":false},"maxItems":20},"workflow":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false}},"required":["source","ingestion","keywordIds","tags"],"additionalProperties":false}]},{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"insertedCount":{"type":"integer","minimum":0,"maximum":100},"restoredCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["requestedCount","insertedCount","restoredCount","existingCount","items"],"additionalProperties":false},{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"importedCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["runId","requestedCount","importedCount","existingCount","items"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"changed":{"type":"boolean"},"affectedRows":{"type":"integer","minimum":0,"maximum":10000}},"required":["item","changed","affectedRows"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"changed":{"type":"boolean"},"affectedRows":{"type":"integer","minimum":0,"maximum":10000}},"required":["item","changed","affectedRows"],"additionalProperties":false},{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false}},"required":["item"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false},{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean","enum":[true]}},"required":["item","created"],"additionalProperties":false},{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"removed":{"type":"boolean","enum":[true]},"assignmentsDeleted":{"type":"integer","minimum":0,"maximum":1000000},"tombstonesDeleted":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","removed","assignmentsDeleted","tombstonesDeleted"],"additionalProperties":false},{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false},{"type":"object","properties":{"clusterId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"changed":{"type":"boolean"}},"required":["clusterId","label","changed"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_publish_content_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_research_keywords_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"capabilityId":{"type":"string","enum":["keyword.list","keyword.get","keyword.getHistory","keyword.listMissingData","keywordList.list","keywordList.get","keywordList.members.list","keywordTag.list","keywordCluster.list","keywordResearch.seeds.suggest","keywordResearch.run.list","keywordResearch.run.get","keywordResearch.results.list","keywordResearch.results.search","keywordData.run.list","keywordData.run.get","contentBrief.list","contentBrief.get","contentProject.list","contentProject.get","contentProject.document.get","contentProject.structure.get","contentProject.score.get","domain.profile.get","domain.snapshot.list","domain.snapshot.get","domain.rankings.list","domain.pages.list","domain.competitors.list","domain.backlinks.list","domain.opportunitySignals.get","backlink.targetHealth.get","competitiveComparison.list","competitiveComparison.get","competitiveComparison.results.list","searchPerformance.snapshot.get","searchPerformance.compare","searchPerformance.queries.list","searchPerformance.pages.list","searchPerformance.coverage.get","tracking.schedule.list","tracking.schedule.get","tracking.run.list","tracking.run-group.get","tracking.overview.get","tracking.rankings.list","tracking.keywordHistory.list","tracking.competitors.list","siteAudit.site.list","siteAudit.site.get","siteAudit.schedule.list","siteAudit.schedule.get","siteAudit.alertRule.list","siteAudit.alertRule.get","siteAudit.linkAnalysis.get","siteAudit.linkOpportunity.list","siteAudit.linkOpportunity.get","siteAudit.run.list","siteAudit.run.get","siteAudit.findings.list","siteAudit.issueGroups.list","siteAudit.pages.list","siteAudit.page.get","siteAudit.links.get","siteAudit.run.logs.list","siteAudit.issueTrends.list","siteAudit.structure.get","siteAudit.aiReadiness.get","siteAudit.comparison.list","siteAudit.comparison.get","siteAudit.alert.list","siteAudit.export.get","backlink.snapshot.get","backlink.rows.list","aiVisibility.run.list","aiVisibility.mentions.list","evidence.opportunities.analyze","evidence.keyword.evaluate","evidence.bundle.get","evidence.query","decision.recommendNextActions","decision.explainRecommendation","decision.recommendPageOpportunity","usage.balance.get","usage.activity.list","usage.costBreakdown.get","usage.dailyTrend.get","publishing.destination.list","publishing.dispatch.list","publishing.dispatch.get"]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"projectionVersion":{"type":"string","enum":["1.0.0"]},"availability":{"type":"string","enum":["available","notAvailable"]},"state":{"type":"string","enum":["full","partial","empty","stale","denied","unavailable","malformed","oversized"]},"subject":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"summary":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64},"items":{"type":"array","items":{"type":"object","properties":{"publicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"parentPublicId":{"type":"string","minLength":12,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,20}_[A-Za-z0-9][A-Za-z0-9_-]{7,138}$"},"kind":{"type":"string","enum":["keyword","keywordHistoryPoint","keywordList","keywordTag","keywordCluster","researchRun","researchCandidate","keywordDataRun","contentBrief","contentProject","contentDocumentChunk","contentStructure","contentStructureSection","contentScore","contentScoreMetric","contentScoreInsight","domainProfile","domainSnapshot","competitiveComparison","competitiveGap","ranking","page","competitor","backlink","searchPerformanceSnapshot","searchQuery","trackingSchedule","trackingRun","trackingRunGroup","site","siteAuditRun","siteAuditSchedule","siteAuditRunLog","siteAuditIssueTrend","siteAuditStructure","siteAuditAiReadiness","siteAuditComparison","siteAuditComparisonDelta","siteAuditAlert","siteAuditExport","finding","issueGroup","link","evidenceBundle","opportunity","recommendation","usageBalance","usageActivity","publishingDestination","publishingDispatch","aiVisibilityRun","aiVisibilityMention"]},"research":{"type":"object","properties":{"essentialsStatus":{"type":"string","enum":["available","unavailable","failed"]},"sources":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":9},"provenance":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string","minLength":1,"maxLength":80},"seed":{"type":"string","minLength":1,"maxLength":1000},"prompt":{"type":"string","minLength":1,"maxLength":1000},"model":{"type":"string","minLength":1,"maxLength":120},"originalQuery":{"type":"string","minLength":1,"maxLength":1000},"competitorDomain":{"type":"string","minLength":1,"maxLength":253},"competitorPosition":{"type":"number","minimum":0},"observedAt":{"type":"string","format":"date-time"},"languageCode":{"type":"string","minLength":1,"maxLength":80},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0}},"required":["source"],"additionalProperties":false},"maxItems":128},"provenanceTruncated":{"type":"boolean"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":1000},"maxItems":100},"models":{"type":"array","items":{"type":"string","minLength":1,"maxLength":120},"maxItems":2},"fanoutScope":{"type":"string","enum":["compact","expanded"]},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]}},"strategies":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"maxItems":20},"depth":{"type":"string","enum":["narrow","broad"]},"limitPerDomain":{"type":"integer","exclusiveMinimum":true,"minimum":0},"gapOnly":{"type":"boolean"},"gapTargetDomain":{"type":"string","minLength":1,"maxLength":253},"observations":{"type":"array","items":{"type":"object","properties":{"model":{"type":"string","minLength":1,"maxLength":120},"prompt":{"type":"string","minLength":1,"maxLength":1000},"status":{"type":"string","enum":["observed","no_search","not_exposed","failed"]},"queryCount":{"type":"integer","minimum":0}},"required":["model","prompt","status","queryCount"],"additionalProperties":false},"maxItems":200}},"additionalProperties":false},"platform":{"type":"string","enum":["chat_gpt","google"]},"modelName":{"type":"string","minLength":1,"maxLength":200},"question":{"type":"string","minLength":1,"maxLength":4000},"answerMarkdown":{"type":"string","minLength":1,"maxLength":100000},"citations":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"snippet":{"type":"string","minLength":1,"maxLength":4000},"sourceName":{"type":"string","minLength":1,"maxLength":500},"markdown":{"type":"string","minLength":1,"maxLength":5000},"thumbnailUrl":{"type":"string","format":"uri","maxLength":4096},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"searchResults":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096},"description":{"type":"string","minLength":1,"maxLength":4000},"breadcrumb":{"type":"string","minLength":1,"maxLength":1000},"publishedAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"maxItems":100},"aiSearchVolume":{"type":"number","minimum":0},"monthlySearches":{"type":"array","items":{"type":"object","properties":{"year":{"type":"integer","minimum":1900,"maximum":2200},"month":{"type":"integer","minimum":1,"maximum":12},"searchVolume":{"type":"number","minimum":0}},"required":["year","month","searchVolume"],"additionalProperties":false},"maxItems":24},"firstObservedAt":{"type":"string","format":"date-time"},"lastObservedAt":{"type":"string","format":"date-time"},"brandEntities":{"type":"array","items":{"type":"object","properties":{"rank":{"type":"number","minimum":0},"title":{"type":"string","minLength":1,"maxLength":500},"category":{"type":"string","minLength":1,"maxLength":200}},"required":["title"],"additionalProperties":false},"maxItems":100},"title":{"type":"string","minLength":1,"maxLength":500},"description":{"type":"string","minLength":1,"maxLength":2000},"content":{"type":"string","maxLength":2000},"keyPoints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":300},"maxItems":20},"keyword":{"type":"string","minLength":1,"maxLength":500},"domain":{"type":"string","minLength":3,"maxLength":253,"pattern":"^(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)+[a-z](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"url":{"type":"string","format":"uri","maxLength":4096,"nullable":true},"rankedUrls":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","maxLength":4096},"position":{"type":"number","minimum":0,"nullable":true},"absolutePosition":{"type":"number","minimum":0,"nullable":true}},"required":["url","position","absolutePosition"],"additionalProperties":false},"maxItems":5},"serpFeatures":{"type":"array","items":{"type":"string","minLength":1,"maxLength":80},"maxItems":32},"sourceUrl":{"type":"string","format":"uri","maxLength":4096},"targetUrl":{"type":"string","format":"uri","maxLength":4096},"status":{"type":"string","minLength":1,"maxLength":80},"category":{"type":"string","minLength":1,"maxLength":120},"countryCode":{"type":"string","minLength":1,"maxLength":80},"intent":{"type":"string","minLength":1,"maxLength":80},"severity":{"type":"string","enum":["info","warning","error","critical"]},"device":{"type":"string","enum":["desktop","mobile"]},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":99999999},"position":{"type":"number","minimum":0,"nullable":true},"priority":{"type":"integer","minimum":0,"maximum":100},"confidence":{"type":"number","minimum":0,"maximum":1},"observedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"metrics":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":80,"pattern":"^[a-z][A-Za-z0-9]*$"},"value":{"type":"number","minimum":-9007199254740991,"maximum":9007199254740991},"unit":{"type":"string","enum":["count","percent","score","position","milliseconds","seconds","eurMinor","usd","ratio"]}},"required":["key","value"],"additionalProperties":false},"maxItems":64,"default":[]}},"required":["kind"],"additionalProperties":false},"maxItems":200},"pageInfo":{"type":"object","properties":{"nextCursor":{"type":"string","minLength":1,"maxLength":2048},"hasMore":{"type":"boolean"},"returnedCount":{"type":"integer","minimum":0,"maximum":200}},"required":["hasMore","returnedCount"],"additionalProperties":false},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"minItems":1,"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["capabilityId","capabilityVersion","projectionVersion","availability","state","summary","items","coverage","warnings","dataGaps"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"status":{"type":"string","enum":["authorization_required"]},"authorization":{"type":"object","properties":{"code":{"type":"string","enum":["ADDITIONAL_AUTHORIZATION_REQUIRED"]},"requestId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^arq_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedScopes":{"type":"array","items":{"type":"string","enum":["platform:read","capabilities:read","workspaces:read","evidence:read","domains:read","competition:read","keywords:read","keyword-research:read","keyword-data:read","backlinks:read","search-performance:read","search-performance:write","tracking:read","site-audit:read","site-audit:export","site-audit:write","usage:read","strategy:read","strategy:write","work-items:read","work-items:write","operations:read","operations:cancel","actions:quote","actions:approve","actions:execute","decisions:read","decisions:write","outcomes:read","outcomes:write","verification:read","verification:execute","learning:read","learning:write","keywords:write","tracking:write","content:read","content:write","publishing:read","publishing:write"]},"minItems":1,"maxItems":20},"requestedCapabilities":{"type":"array","items":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"minItems":1,"maxItems":20},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"},"workspaceSlug":{"type":"string","minLength":1,"maxLength":160},"maximumSpend":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"amount":{"type":"number","minimum":0}},"required":["currency","amountMinor","amount"],"additionalProperties":false},"reason":{"type":"string","minLength":1,"maxLength":500},"approvalUrl":{"type":"string","format":"uri","maxLength":2048},"expiresAt":{"type":"string","format":"date-time"},"riskTier":{"type":"string","enum":["normal","confirmed","highly_sensitive"]},"allowedGrantTypes":{"type":"array","items":{"type":"string","enum":["one_time","task","time_limited","persistent"]},"minItems":1,"maxItems":4}},"required":["code","requestId","requestedScopes","requestedCapabilities","workspaceId","workspaceSlug","reason","approvalUrl","expiresAt","riskTier","allowedGrantTypes"],"additionalProperties":false},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","authorization","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["approval_required"]},"reasonCode":{"type":"string","enum":["ACTION_HUMAN_APPROVAL_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMITS_REQUIRED","ACTION_AUTOMATIC_EXECUTION_LIMIT_EXCEEDED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["funding_required"]},"reasonCode":{"type":"string","enum":["ACTION_BALANCE_RESERVATION_REJECTED"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false}},"required":["status","reasonCode","quote","approval"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["accepted"]},"quote":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"revision":{"type":"number","enum":[1]},"status":{"type":"string","enum":["active","expired","consumed"]},"normalizedInput":{"anyOf":[{"type":"object","properties":{"siteHost":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"maxUrls":{"type":"integer","minimum":1,"maximum":5000},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]}},"required":["siteHost","maxUrls","renderingPolicy"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick","deep","autocomplete","competitors","ai_fanout","ai_recommendations","question_discovery"],"description":"quick = compact keyword ideas; deep = expanded ideas; autocomplete = standalone suggestions and questions; competitors = ranking keywords; ai_fanout = observed native web searches; ai_recommendations = generated keyword ideas without measured metrics; question_discovery = prepare questions from autocomplete and/or AI, then review results and submit selected questions to ai_fanout with parentRunId"},"seeds":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"fanoutScope":{"type":"string","enum":["compact","expanded"],"description":"compact: one requested search per model; expanded: three. Customer charge is capped by the quote."},"questionSources":{"type":"array","items":{"type":"string","enum":["autocomplete","ai_recommendations"]},"minItems":1,"maxItems":2},"parentRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$","description":"Completed question_discovery public run ID. Select/edit its questions as seeds; existing candidates and provenance are reused."},"models":{"type":"array","items":{"type":"string","enum":["openai/gpt-5.6-luna","google/gemini-3.8-flash"]},"minItems":1,"maxItems":2},"strategies":{"type":"array","items":{"type":"string","enum":["questions","prepositions","modifiers","alphabet","comparisons","years","local"]},"minItems":1,"maxItems":7},"domains":{"type":"array","items":{"type":"string","minLength":1,"maxLength":253},"minItems":1,"maxItems":20},"limitPerDomain":{"anyOf":[{"type":"number","enum":[250]},{"type":"number","enum":[500]},{"type":"number","enum":[1000]}]},"gapOnly":{"type":"boolean"}},"required":["mode","seeds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":1000},"packageIds":{"type":"array","items":{"type":"string","enum":["essentials","live_volume","clickstream_volume","intent_only","search_volume","difficulty","categories","ad_potential","historical_volume"]},"minItems":1,"maxItems":9},"languageCode":{"type":"string","pattern":"^[a-z]{2}$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999}},"required":["keywords","packageIds","languageCode","locationCode"],"additionalProperties":false},{"type":"object","properties":{"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"mode":{"type":"string","enum":["standard","priority"]}},"required":["scheduleId","mode"],"additionalProperties":false},{"type":"object","properties":{"domain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"plan":{"type":"object","properties":{"rankedKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000},"competitorsLimit":{"type":"integer","minimum":1,"maximum":100},"anchorsLimit":{"type":"integer","minimum":1,"maximum":500},"referringDomainsLimit":{"type":"integer","minimum":1,"maximum":500},"indexedPagesLimit":{"type":"integer","minimum":1,"maximum":200},"historyMonthsLimit":{"type":"integer","minimum":1,"maximum":120},"topPagesLimit":{"type":"integer","minimum":1,"maximum":200},"gapKeywordsLimit":{"type":"integer","minimum":1,"maximum":1000}},"required":["rankedKeywordsLimit","competitorsLimit","anchorsLimit","referringDomainsLimit","indexedPagesLimit","historyMonthsLimit","topPagesLimit","gapKeywordsLimit"],"additionalProperties":false},"modules":{"type":"array","items":{"type":"string","enum":["rankOverview","history","rankedKeywords","competitors","topPages","backlinksSummary","anchors","referringDomains","indexedPages"]},"minItems":1,"maxItems":9},"gapComparisonDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]}},"required":["domain","locationCode","languageCode","plan"],"additionalProperties":false},{"type":"object","properties":{"ownDomain":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"competitorDomains":{"type":"array","items":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"minItems":1,"maxItems":10},"locationCode":{"type":"integer","minimum":1,"maximum":100000000},"languageCode":{"type":"string","pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"analysisDepth":{"type":"string","enum":["summary","deep"]}},"required":["ownDomain","competitorDomains","locationCode","languageCode","analysisDepth"],"additionalProperties":false},{"type":"object","properties":{"primaryKeyword":{"type":"string","minLength":1,"maxLength":200},"secondaryKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":10},"languageCode":{"type":"string","minLength":2,"maxLength":10,"pattern":"^[a-z]{2}(?:-[a-z]{2})?$"},"locationCode":{"type":"integer","minimum":1,"maximum":999999999},"countryLocationCode":{"type":"integer","minimum":1,"maximum":999999999},"locationLabel":{"type":"string","minLength":1,"maxLength":120},"serpContext":{"type":"string","minLength":1,"maxLength":120}},"required":["primaryKeyword","secondaryKeywords","languageCode","locationCode","locationLabel","serpContext"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision"],"additionalProperties":false},{"type":"object","properties":{"projectId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^prj_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseRevision":{"type":"integer","minimum":0,"maximum":9007199254740991},"structureRevision":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["projectId","baseRevision","structureRevision"],"additionalProperties":false},{"type":"object","properties":{"editionId":{"type":"string","format":"uuid"},"expectedEditionUpdatedAt":{"type":"string","format":"date-time"},"destinationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^dst_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"target":{"type":"object","properties":{"type":{"type":"string","minLength":1,"maxLength":80},"reference":{"type":"string","minLength":1,"maxLength":500}},"required":["type","reference"],"additionalProperties":false},"scheduledFor":{"type":"string","format":"date-time"},"timezone":{"type":"string","minLength":1,"maxLength":80},"providerSettings":{"anyOf":[{"type":"object","properties":{"youtube":{"type":"object","properties":{"privacyStatus":{"type":"string","enum":["private","unlisted","public"]},"madeForKids":{"type":"boolean"},"playlistId":{"type":"string","minLength":1,"maxLength":200},"thumbnailAssetId":{"type":"string","minLength":1,"maxLength":200}},"required":["privacyStatus","madeForKids"],"additionalProperties":false}},"required":["youtube"],"additionalProperties":false},{"type":"object","properties":{"tiktok":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["direct"]},"privacyLevel":{"type":"string","enum":["PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR","SELF_ONLY"]},"disableComment":{"type":"boolean"},"disableDuet":{"type":"boolean"},"disableStitch":{"type":"boolean"},"coverTimestampMs":{"type":"integer","minimum":0,"maximum":86400000},"brandContent":{"type":"boolean"},"brandOrganic":{"type":"boolean"},"isAiGenerated":{"type":"boolean"},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","privacyLevel","disableComment","disableDuet","disableStitch","brandContent","brandOrganic","isAiGenerated","explicitConsent"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["inbox"]},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["mode","explicitConsent"],"additionalProperties":false}]}},"required":["tiktok"],"additionalProperties":false},{"type":"object","properties":{"reddit":{"type":"object","properties":{"subreddit":{"type":"string","minLength":1,"maxLength":100},"postKind":{"type":"string","enum":["self","link"]},"flairId":{"type":"string","minLength":1,"maxLength":200},"destinationUrl":{"type":"string","format":"uri","pattern":"^https\\:\\/\\/","maxLength":2000},"rulesFingerprint":{"type":"string","minLength":1,"maxLength":500},"reviewProof":{"type":"string","minLength":1,"maxLength":4000},"explicitConsent":{"type":"boolean","enum":[true]}},"required":["subreddit","postKind","rulesFingerprint","reviewProof","explicitConsent"],"additionalProperties":false}},"required":["reddit"],"additionalProperties":false},{"type":"object","properties":{"x":{"type":"object","properties":{"billingMode":{"type":"string","enum":["pay_per_use"]},"pricingRevision":{"type":"string","minLength":1,"maxLength":200},"estimatedCostUsd":{"type":"number","minimum":0,"maximum":10000},"requestCount":{"type":"integer","minimum":1,"maximum":25},"requestsWithUrl":{"type":"integer","minimum":0,"maximum":25},"explicitCostConsent":{"type":"boolean","enum":[true]}},"required":["billingMode","pricingRevision","estimatedCostUsd","requestCount","requestsWithUrl","explicitCostConsent"],"additionalProperties":false}},"required":["x"],"additionalProperties":false}]}},"required":["editionId","expectedEditionUpdatedAt","destinationId","scheduledFor","timezone"],"additionalProperties":false},{"type":"object","properties":{"targets":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["domain"]},"value":{"allOf":[{"type":"string","minLength":1,"maxLength":254},{"type":"string","minLength":1,"maxLength":253,"pattern":"^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\\.)*[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"}]},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","sources","search_results"]}},"includeSubdomains":{"type":"boolean"}},"required":["type","value","searchFilter","searchScopes","includeSubdomains"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keyword"]},"value":{"type":"string","minLength":1,"maxLength":250},"searchFilter":{"type":"string","enum":["include","exclude"]},"searchScopes":{"type":"array","items":{"type":"string","enum":["any","question","answer","brand_entities","fan_out_queries"]}},"matchType":{"type":"string","enum":["word_match","partial_match"]}},"required":["type","value","searchFilter","searchScopes","matchType"],"additionalProperties":false}]},"minItems":1,"maxItems":10},"platforms":{"type":"array","items":{"type":"string","enum":["chat_gpt","google"]},"minItems":1,"maxItems":2},"locationCode":{"type":"integer","minimum":1,"maximum":99999999},"languageCode":{"type":"string","pattern":"^[a-z]{2,3}(?:-[a-z0-9]{2,8})?$"},"limit":{"type":"integer","minimum":1,"maximum":1000}},"required":["targets","platforms","locationCode","languageCode","limit"],"additionalProperties":false}]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"pricing":{"type":"object","properties":{"contractVersion":{"type":"number","enum":[1]},"policyVersionId":{"type":"string","minLength":1,"maxLength":160},"executionChannel":{"type":"string","enum":["rest","mcp"]},"channelMultiplier":{"type":"number","minimum":0.01,"maximum":20},"channelPricingSource":{"type":"string","enum":["default","admin"]},"customerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"maximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelCustomerEstimate":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"preChannelMaximumCustomerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"channelDiscount":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false}},"required":["contractVersion","executionChannel","channelMultiplier","channelPricingSource","customerEstimate","maximumCustomerCharge","preChannelCustomerEstimate","preChannelMaximumCustomerCharge","channelDiscount"],"additionalProperties":false},"bounds":{"type":"object","properties":{"maxItems":{"type":"integer","minimum":0,"maximum":1000000,"exclusiveMinimum":true},"maxFanout":{"type":"integer","minimum":0,"maximum":1000,"exclusiveMinimum":true}},"required":["maxItems","maxFanout"],"additionalProperties":false},"requiredScopes":{"type":"array","items":{"type":"string","minLength":3,"maxLength":100,"pattern":"^[a-z][a-z0-9_-]*:[a-z][a-z0-9_-]*$"},"minItems":1,"maxItems":20},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","capabilityId","capabilityVersion","revision","status","normalizedInput","inputFingerprint","pricing","bounds","requiredScopes","createdAt","expiresAt"],"additionalProperties":false},"approval":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"quoteRevision":{"type":"number","enum":[1]},"inputFingerprint":{"type":"string","pattern":"^[a-f0-9]{64}$"},"status":{"type":"string","enum":["active","expired","consumed"]},"approvedMaxCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["human","external_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false},"apiClientId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"createdAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","quoteId","quoteRevision","inputFingerprint","status","approvedMaxCharge","actor","apiClientId","createdAt","expiresAt"],"additionalProperties":false},"execution":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"acceptedAt":{"type":"string","format":"date-time"}},"required":["id","approvalId","operationId","status","acceptedAt"],"additionalProperties":false},"operation":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aop_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"executionId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aex_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"capabilityId":{"anyOf":[{"type":"string","enum":["action.site-audit.run"]},{"type":"string","enum":["action.keyword-research.run"]},{"type":"string","enum":["action.keyword-data.refresh"]},{"type":"string","enum":["action.rank-tracking.run-now"]},{"type":"string","enum":["action.domain-snapshot.refresh"]},{"type":"string","enum":["action.competitive-research.run"]},{"type":"string","enum":["action.content-brief.generate"]},{"type":"string","enum":["action.content-structure.generate"]},{"type":"string","enum":["action.content-writer.generate"]},{"type":"string","enum":["action.publishing.dispatch"]},{"type":"string","enum":["action.ai-visibility.analyze"]}]},"capabilityVersion":{"type":"string","enum":["1.0.0"]},"quoteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"approvalId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["accepted","dispatching","running","succeeded","partial","failed","canceled","reconciliationRequired"]},"revision":{"type":"integer","minimum":0,"maximum":9007199254740991,"exclusiveMinimum":true},"source":{"anyOf":[{"type":"object","properties":{"owner":{"type":"string","enum":["site_audit"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["keyword_data"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["tracking"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["domain_overview"]},"runId":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["competitive_research"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_brief"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_structure"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["content_writer"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["publishing"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false},{"type":"object","properties":{"owner":{"type":"string","enum":["ai_visibility"]},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["owner","runId"],"additionalProperties":false}]},"result":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["siteAuditRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordResearchRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["keywordDataRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kdr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["trackingRunGroup"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["domainSnapshot"]},"id":{"type":"string","minLength":13,"maxLength":133,"pattern":"^snap_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["competitiveComparison"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cmp_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentBrief"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cbr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentStructureGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^csg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contentWriterGeneration"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cwg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["publishingDispatch"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^pds_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["aiVisibilityRun"]},"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aiv_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","id"],"additionalProperties":false}]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["pending","settled","released","notBillable","skippedBalance","reconciliationRequired"]},"providerCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"customerCharge":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"explicitSubsidy":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"absorbedCost":{"type":"object","properties":{"currency":{"type":"string","enum":["EUR"]},"amountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["currency","amountMinor"],"additionalProperties":false},"finalizedAt":{"type":"string","format":"date-time"},"receipt":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"number","enum":[1]},"evidenceKind":{"type":"string","enum":["sourceLedger","reservationRelease","notBillable","skippedBalance"]},"evidenceHash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"providerRoutes":{"type":"array","items":{"type":"string","minLength":1,"maxLength":160},"maxItems":20},"observedAt":{"type":"string","format":"date-time"}},"required":["id","schemaVersion","evidenceKind","evidenceHash","providerRoutes","observedAt"],"additionalProperties":false}},"required":["status"],"additionalProperties":false},"failure":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"additionalProperties":false},"cancelRequestedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"}},"required":["id","executionId","capabilityId","capabilityVersion","quoteId","approvalId","status","revision","createdAt","updatedAt"],"additionalProperties":false},"replayed":{"type":"boolean"}},"required":["status","quote","approval","execution","operation","replayed"],"additionalProperties":false}]}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_score_content_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["quote"]},"kind":{"type":"string","enum":["deep","suggestions"]},"projectId":{"type":"string"},"maximumEurCents":{"type":"integer"},"evaluatorAvailable":{"type":"boolean"}},"required":["mode","kind","projectId","maximumEurCents","evaluatorAvailable"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["quick"]},"source":{"type":"object","properties":{"kind":{"type":"string","enum":["project","inline"]},"projectId":{"type":"string"},"documentRevision":{"type":"integer"}},"required":["kind"],"additionalProperties":false},"score":{"type":"integer","minimum":0,"maximum":100,"nullable":true},"tone":{"type":"string","enum":["good","warn","bad","neutral"]},"status":{"type":"string"},"summary":{"type":"string"},"measuredDimensions":{"type":"integer"},"totalDimensions":{"type":"integer"},"dimensions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"score":{"type":"integer","minimum":0,"maximum":100,"nullable":true},"tone":{"type":"string","enum":["good","warn","bad","neutral"]},"notMeasurableReason":{"type":"string"}},"required":["id","score","tone"],"additionalProperties":false}},"findings":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"dimension":{"type":"string"},"tone":{"type":"string","enum":["good","warn","bad","neutral"]},"issue":{"type":"string"},"action":{"type":"string"},"section":{"type":"string"},"quote":{"type":"string"}},"required":["id","dimension","tone","issue","action"],"additionalProperties":false}},"nextAction":{"type":"string","nullable":true},"deepCheck":{"type":"string"},"evaluatorAvailable":{"type":"boolean"}},"required":["mode","source","score","tone","status","summary","measuredDimensions","totalDimensions","dimensions","findings","nextAction","deepCheck","evaluatorAvailable"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["deep"]},"projectId":{"type":"string"},"requestId":{"type":"string"},"status":{"type":"string","enum":["queued","alreadyRequested"]},"maximumEurCents":{"type":"integer"},"documentRevision":{"type":"integer"},"next":{"type":"string"},"evaluatorAvailable":{"type":"boolean"}},"required":["mode","projectId","requestId","status","maximumEurCents","documentRevision","next","evaluatorAvailable"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["suggestions"]},"projectId":{"type":"string"},"requestId":{"type":"string"},"status":{"type":"string","enum":["queued","alreadyRequested"]},"maximumEurCents":{"type":"integer"},"documentRevision":{"type":"integer"},"next":{"type":"string"},"evaluatorAvailable":{"type":"boolean"}},"required":["mode","projectId","requestId","status","maximumEurCents","documentRevision","next","evaluatorAvailable"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"seo_verify_results_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"workItem":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"verificationRun":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"}},"required":["workItem","verificationRun","created"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordList_create_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false}},"required":["item"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordList_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordList_members_remove_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keyword_organization_apply_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"anyOf":[{"type":"object","properties":{"source":{"type":"string","enum":["create"]},"ingestion":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"insertedCount":{"type":"integer","minimum":0,"maximum":100},"restoredCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["requestedCount","insertedCount","restoredCount","existingCount","items"],"additionalProperties":false},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"list":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"membership":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","membership"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"assignment":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","assignment"],"additionalProperties":false},"maxItems":20},"workflow":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false}},"required":["source","ingestion","keywordIds","tags"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"string","enum":["research"]},"ingestion":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"importedCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["runId","requestedCount","importedCount","existingCount","items"],"additionalProperties":false},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100},"list":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":500},"mode":{"type":"string","enum":["manual","smart","hybrid"]},"color":{"type":"string","minLength":1,"maxLength":40},"icon":{"type":"string","minLength":1,"maxLength":80},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"sortOrder":{"type":"integer","minimum":0},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","name","mode","memberCount","sortOrder","state","createdAt","updatedAt"],"additionalProperties":false},"membership":{"type":"object","properties":{"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["listId","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","membership"],"additionalProperties":false},"tags":{"type":"array","items":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"assignment":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"operation":{"type":"string","enum":["assign","unassign"]},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"memberCount":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","operation","requestedCount","changedCount","unchangedCount","memberCount"],"additionalProperties":false}},"required":["item","assignment"],"additionalProperties":false},"maxItems":20},"workflow":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"changedCount":{"type":"integer","minimum":0,"maximum":100},"unchangedCount":{"type":"integer","minimum":0,"maximum":100},"statusName":{"type":"string","minLength":1,"maxLength":40,"nullable":true},"keywordIds":{"type":"array","items":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"minItems":1,"maxItems":100}},"required":["requestedCount","changedCount","unchangedCount","statusName","keywordIds"],"additionalProperties":false}},"required":["source","ingestion","keywordIds","tags"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordResearch_candidates_import_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^krr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"requestedCount":{"type":"integer","minimum":1,"maximum":100},"importedCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["runId","requestedCount","importedCount","existingCount","items"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordTag_create_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"label":{"type":"string","minLength":1,"maxLength":100},"color":{"type":"string","enum":["blue","green","amber","red","purple","teal","gray"]},"memberCount":{"type":"integer","minimum":0,"maximum":1000000},"systemManaged":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","label","color","memberCount","systemManaged","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean","enum":[true]}},"required":["item","created"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keywordTag_remove_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"tagId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^ktg_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"removed":{"type":"boolean","enum":[true]},"assignmentsDeleted":{"type":"integer","minimum":0,"maximum":1000000},"tombstonesDeleted":{"type":"integer","minimum":0,"maximum":1000000}},"required":["tagId","removed","assignmentsDeleted","tombstonesDeleted"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keyword_create_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"requestedCount":{"type":"integer","minimum":1,"maximum":100},"insertedCount":{"type":"integer","minimum":0,"maximum":100},"restoredCount":{"type":"integer","minimum":0,"maximum":100},"existingCount":{"type":"integer","minimum":0,"maximum":100},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"minItems":1,"maxItems":100}},"required":["requestedCount","insertedCount","restoredCount","existingCount","items"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"keyword_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwd_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keyword":{"type":"string","minLength":1,"maxLength":500},"displayName":{"type":"string","minLength":1,"maxLength":500},"state":{"type":"string","enum":["active","archived"]}},"required":["id","keyword","state"],"additionalProperties":false},"changed":{"type":"boolean"},"affectedRows":{"type":"integer","minimum":0,"maximum":10000}},"required":["item","changed","affectedRows"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"opportunity_decision_system_refresh_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"state":{"type":"string","enum":["active"]},"reused":{"type":"boolean"},"sourceFingerprint":{"type":"string","minLength":1,"maxLength":200},"candidateCount":{"type":"integer","minimum":0,"maximum":10000},"projectionCount":{"type":"integer","minimum":0,"maximum":100000},"observationCount":{"type":"integer","minimum":0,"maximum":1000000},"computeDurationMs":{"type":"integer","minimum":0,"maximum":300000},"refreshedAt":{"type":"string","format":"date-time"}},"required":["state","reused","sourceFingerprint","candidateCount","projectionCount","observationCount","computeDurationMs","refreshedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"searchPerformance_refresh_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["reused","completed","partial"]},"returnedKeywordCount":{"type":"integer","minimum":0,"maximum":25000},"returnedPageCount":{"type":"integer","minimum":0,"maximum":25000},"currentWindow":{"type":"object","properties":{"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"}},"required":["startDate","endDate"],"additionalProperties":false},"previousWindow":{"type":"object","properties":{"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"}},"required":["startDate","endDate"],"additionalProperties":false},"refreshedAt":{"type":"string","format":"date-time"}},"required":["siteId","status","returnedKeywordCount","returnedPageCount","currentWindow","previousWindow","refreshedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_alertRule_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sar_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"scheduleId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"name":{"type":"string","minLength":1,"maxLength":500},"alertKind":{"type":"string","enum":["new_broken_links","new_noindex","robots_changed","canonical_changed","title_changed","meta_description_changed","structured_data_regression","sitemap_regression","health_score_drop","bot_anomaly"]},"severityThreshold":{"type":"string","enum":["info","low","medium","high","critical"]},"threshold":{"type":"object","properties":{"points":{"type":"integer","minimum":1,"maximum":80},"dropPoints":{"type":"integer","minimum":1,"maximum":80},"failedUrlIncrease":{"type":"integer","minimum":1,"maximum":10000}},"additionalProperties":false},"comparisonPolicy":{"type":"string","enum":["previous_successful_run"]},"suppressionWindowHours":{"type":"integer","minimum":0,"maximum":720},"digestFrequency":{"type":"string","enum":["run_digest","daily_digest","weekly_digest"]},"recipientCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","name","alertKind","comparisonPolicy","suppressionWindowHours","digestFrequency","recipientCount","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_linkAnalysis_start_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sla_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"runId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^aud_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","completed","failed","stale"]},"mode":{"type":"string","enum":["deterministic","ai_assisted"]},"recommendationGoal":{"type":"string","enum":["balanced","cluster","deep_pages","authority"]},"keywordSource":{"type":"string","enum":["none","manual","keyword_list"]},"recommendationCount":{"type":"integer","minimum":0},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","runId","status","mode","recommendationGoal","keywordSource","recommendationCount","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"reused":{"type":"boolean"},"restarted":{"type":"boolean"}},"required":["item","created","reused","restarted"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_schedule_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sas_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused","archived"]},"cadence":{"type":"string","enum":["daily","weekly","monthly"]},"timezone":{"type":"string","minLength":1,"maxLength":100},"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59},"dayOfWeek":{"type":"integer","minimum":0,"maximum":6},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"runPolicy":{"type":"string","enum":["full_site","changed_urls"]},"maxUrlsPerRun":{"type":"integer","minimum":1},"maxRunsPerMonth":{"type":"integer","minimum":1},"monthlyBudgetEurCents":{"type":"integer","minimum":0},"pauseOnFailure":{"type":"boolean"},"pauseOnInsufficientBalance":{"type":"boolean"},"jitterMinutes":{"type":"integer","minimum":0},"nextDueAt":{"type":"string","format":"date-time"},"pauseReason":{"type":"string","maxLength":500},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","siteId","status","cadence","timezone","hour","minute","runPolicy","maxUrlsPerRun","maxRunsPerMonth","monthlyBudgetEurCents","pauseOnFailure","pauseOnInsufficientBalance","jitterMinutes","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_site_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"siteHost":{"type":"string","minLength":1,"maxLength":253},"includePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1},"maxDepth":{"type":"integer","minimum":0},"perHostConcurrency":{"type":"integer","minimum":1},"crawlDelayMs":{"type":"integer","minimum":0},"taskBatchSize":{"type":"integer","minimum":1},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","baseUrl","siteHost","includePatterns","excludePatterns","additionalHosts","includeSubdomains","respectRobotsTxt","maxUrls","maxDepth","perHostConcurrency","crawlDelayMs","taskBatchSize","renderingPolicy","authorizationStatus","state","createdAt","updatedAt"],"additionalProperties":false},"changed":{"type":"boolean"},"archivedSchedules":{"type":"integer","minimum":0},"archivedAlertRules":{"type":"integer","minimum":0}},"required":["item","changed","archivedSchedules","archivedAlertRules"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_verification_start_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"challenge":{"type":"object","properties":{"method":{"type":"string","enum":["dns_txt","html_file","meta_tag"]},"token":{"type":"string","minLength":1,"maxLength":256},"tokenValue":{"type":"string","minLength":1,"maxLength":512},"expiresAt":{"type":"string","format":"date-time"},"dnsTxt":{"type":"object","properties":{"host":{"type":"string","minLength":1,"maxLength":253},"value":{"type":"string","minLength":1,"maxLength":512}},"required":["host","value"],"additionalProperties":false},"htmlFile":{"type":"object","properties":{"path":{"type":"string","minLength":1,"maxLength":2048},"url":{"type":"string","format":"uri","maxLength":2048},"content":{"type":"string","minLength":1,"maxLength":512}},"required":["path","url","content"],"additionalProperties":false},"metaTag":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":200},"content":{"type":"string","minLength":1,"maxLength":256},"html":{"type":"string","minLength":1,"maxLength":1024}},"required":["name","content","html"],"additionalProperties":false}},"required":["method","token","tokenValue","expiresAt","dnsTxt","htmlFile","metaTag"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["siteId","authorizationStatus","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_verification_check_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"siteId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verified":{"type":"boolean"},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"authorizationMethod":{"type":"string","enum":["dns_txt","html_file","meta_tag"]},"checkedAt":{"type":"string","format":"date-time"},"changed":{"type":"boolean"}},"required":["siteId","verified","authorizationStatus","checkedAt","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"strategy_revision_append_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"strategy":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^str_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","archived"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"activeRevision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","status","revision","activeRevision","createdBy","createdAt","updatedAt"],"additionalProperties":false},"revision":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^rev_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"revisionNumber":{"type":"integer","exclusiveMinimum":true,"minimum":0},"payload":{"type":"object","properties":{"objective":{"type":"string","minLength":1,"maxLength":2000},"markets":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"audiences":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":20},"timeHorizonStart":{"type":"string","format":"date-time"},"timeHorizonEnd":{"type":"string","format":"date-time"},"constraints":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"priorities":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"excludedWork":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"maxItems":50},"measurementPlan":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"reviewCadenceDays":{"type":"integer","minimum":1,"maximum":365},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"decisionRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100}},"required":["objective","markets","audiences","constraints","priorities","excludedWork","measurementPlan","reviewCadenceDays","evidenceRefs","decisionRefs"],"additionalProperties":false},"createdBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","revisionNumber","payload","createdBy","createdAt"],"additionalProperties":false}},"required":["strategy","revision"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"tracking_schedule_archive_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"nextRunAt":{"type":"string","format":"date-time"}},"required":["id","status","nextRunAt"],"additionalProperties":false},"changed":{"type":"boolean"}},"required":["item","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"tracking_workflow_prepare_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":200}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","keywords"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^trs_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"dataKind":{"type":"string","enum":["serp"]},"status":{"type":"string","enum":["active","paused_balance","paused_user","archived"]},"cadence":{"type":"string","enum":["daily","weekly","biweekly","monthly","quarterly"]},"serpDepth":{"type":"string","enum":["top10","top100"]},"locationCode":{"type":"integer","exclusiveMinimum":true,"minimum":0,"maximum":999999999},"languageCode":{"type":"string","minLength":2,"maxLength":10},"devices":{"type":"array","items":{"type":"string","enum":["desktop","mobile"]},"minItems":1,"maxItems":2},"monthlyBudgetCapEurCents":{"type":"integer","minimum":500},"nextRunAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["id","dataKind","status","cadence","serpDepth","locationCode","languageCode","devices","nextRunAt","createdAt","listId"],"additionalProperties":false}]},"scheduleReused":{"type":"boolean"},"listId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^kwl_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"keywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"minItems":1,"maxItems":100},"memberCount":{"type":"integer","minimum":1,"maximum":100},"preparedAt":{"type":"string","format":"date-time"},"metrics":{"type":"object","properties":{"packageId":{"type":"string","enum":["search_volume"]},"freshKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"noDataKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"missingKeywords":{"type":"array","items":{"type":"string","minLength":1,"maxLength":200},"maxItems":100},"oldestObservedAt":{"type":"string","format":"date-time"}},"required":["packageId","freshKeywords","noDataKeywords","missingKeywords"],"additionalProperties":false}},"required":["item","scheduleReused","listId","keywords","memberCount","preparedAt","metrics"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"verification_request_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"workItem":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"title":{"type":"string","minLength":1,"maxLength":200},"workType":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"description":{"type":"string","minLength":1,"maxLength":2000},"status":{"type":"string","enum":["proposed","planned","in_progress","blocked","completed","verification_pending","verified","inconclusive","canceled"]},"priority":{"type":"string","enum":["critical","high","normal","low"]},"order":{"type":"integer","minimum":0,"maximum":9007199254740991},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"origin":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"owner":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"assignee":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"strategyRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"decisionRef":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"targetRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"expectedEffect":{"type":"string","minLength":1,"maxLength":2000},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"verificationPlan":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"expectedDirection":{"type":"string","enum":["increase","decrease","hold"]},"reviewAfterAt":{"type":"string","format":"date-time"},"minimumMeaningfulDelta":{"type":"number","minimum":0}},"required":["metric","expectedDirection","reviewAfterAt"],"additionalProperties":false},"dueAt":{"type":"string","format":"date-time"},"reviewAfterAt":{"type":"string","format":"date-time"},"source":{"type":"object","properties":{"owner":{"type":"string","enum":["agent_platform","action_center"]},"fingerprint":{"type":"string","minLength":1,"maxLength":200},"capturedAt":{"type":"string","format":"date-time"}},"required":["owner"],"additionalProperties":false},"completedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","title","workType","description","status","priority","order","revision","origin","owner","evidenceRefs","targetRefs","expectedEffect","source","createdAt","updatedAt"],"additionalProperties":false},"verificationRun":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["queued","running","cancel_requested","completed","failed","canceled"]},"revision":{"type":"integer","exclusiveMinimum":true,"minimum":0},"requestedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"metricDefinitions":{"type":"array","items":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"minItems":1,"maxItems":50},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"outcomeId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"startedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"cancelRequestedAt":{"type":"string","format":"date-time"}},"required":["id","workItemId","status","revision","requestedBy","metricDefinitions","observationWindow","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"}},"required":["workItem","verificationRun","created"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"outcome_record_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^out_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"workItemId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^wrk_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"verificationRunId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^vrf_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"status":{"type":"string","enum":["measured","partial","failed","inconclusive"]},"verdict":{"type":"string","enum":["improved","unchanged","worsened"]},"baselineSummary":{"type":"string","minLength":1,"maxLength":2000},"observationWindow":{"type":"object","properties":{"startAt":{"type":"string","format":"date-time"},"endAt":{"type":"string","format":"date-time"}},"required":["startAt","endAt"],"additionalProperties":false},"metrics":{"type":"array","items":{"type":"object","properties":{"metric":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"metricVersion":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"baselineValue":{"type":"number"},"observedValue":{"type":"number"},"unit":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"}},"required":["metric"],"additionalProperties":false},"maxItems":100},"attributionLimits":{"type":"array","items":{"type":"string","minLength":1,"maxLength":2000},"minItems":1,"maxItems":50},"attributionConfidence":{"type":"string","enum":["high","medium","low","unattributed"],"default":"unattributed"},"evidenceRefs":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":10,"maxLength":160,"pattern":"^[a-z][a-z0-9]{1,15}_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"version":{"type":"string","minLength":1,"maxLength":40}},"required":["id"],"additionalProperties":false},"maxItems":100},"failureCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Za-z][A-Za-z0-9_.:-]*$"},"recordedBy":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","enum":["human"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^usr_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["contextter_agent"]},"publicId":{"anyOf":[{"type":"string","minLength":12,"maxLength":132,"pattern":"^agt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^ctx_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]}},"required":["type","publicId"],"additionalProperties":false}]},"createdAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["external_agent_reported","contextter_agent_reported","human_reported"]}},"required":["id","workItemId","status","observationWindow","metrics","attributionLimits","evidenceRefs","recordedBy","createdAt","source"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"siteAudit_site_configure_Success":{"type":"object","properties":{"tid":{"type":"string","minLength":12,"maxLength":132,"pattern":"^req_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"success":{"type":"boolean","enum":[true]},"code":{"type":"string","minLength":12,"maxLength":240,"pattern":"^CTX-AGP-[1-5]\\d{2}-[A-Z0-9]+(?:_[A-Z0-9]+)*$"},"timestamp":{"type":"string","format":"date-time"},"message":{"type":"string","minLength":1,"maxLength":500},"data":{"type":"object","properties":{"item":{"type":"object","properties":{"id":{"type":"string","minLength":12,"maxLength":132,"pattern":"^sit_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"baseUrl":{"type":"string","format":"uri","maxLength":2048},"siteHost":{"type":"string","minLength":1,"maxLength":253},"includePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"excludePatterns":{"type":"array","items":{"type":"string","maxLength":2048},"maxItems":100},"additionalHosts":{"type":"array","items":{"type":"string","maxLength":253},"maxItems":100},"includeSubdomains":{"type":"boolean"},"respectRobotsTxt":{"type":"boolean"},"maxUrls":{"type":"integer","minimum":1},"maxDepth":{"type":"integer","minimum":0},"perHostConcurrency":{"type":"integer","minimum":1},"crawlDelayMs":{"type":"integer","minimum":0},"taskBatchSize":{"type":"integer","minimum":1},"renderingPolicy":{"type":"string","enum":["disabled","eligible","required"]},"authorizationStatus":{"type":"string","enum":["unverified","verified","admin_approved","blocked"]},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"required":["id","baseUrl","siteHost","includePatterns","excludePatterns","additionalHosts","includeSubdomains","respectRobotsTxt","maxUrls","maxDepth","perHostConcurrency","crawlDelayMs","taskBatchSize","renderingPolicy","authorizationStatus","state","createdAt","updatedAt"],"additionalProperties":false},"created":{"type":"boolean"},"changed":{"type":"boolean"}},"required":["item","created","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"correlationId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^cor_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},"schemaVersion":{"type":"string","enum":["1"]},"toolId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"},"toolVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"capabilityVersion":{"type":"string","pattern":"^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$"},"scope":{"type":"object","properties":{"organizationId":{"type":"string","pattern":"^org_[A-Za-z0-9_-]{3,124}$"},"workspaceId":{"type":"string","pattern":"^ws_[A-Za-z0-9_-]{3,124}$"}},"required":["organizationId"],"additionalProperties":false},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["external_agent"]},"publicId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^apc_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["type","publicId"],"additionalProperties":false},"billing":{"anyOf":[{"type":"object","properties":{"classification":{"type":"string","enum":["freeStoredRead"]}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["included"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["metered"]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification"],"additionalProperties":false},{"type":"object","properties":{"classification":{"type":"string","enum":["quotedPaid"]},"quoteId":{"anyOf":[{"type":"string","minLength":14,"maxLength":134,"pattern":"^quote_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"},{"type":"string","minLength":12,"maxLength":132,"pattern":"^aqt_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}]},"settlementId":{"type":"string","minLength":12,"maxLength":132,"pattern":"^set_[A-Za-z0-9][A-Za-z0-9_-]{7,127}$"}},"required":["classification","quoteId"],"additionalProperties":false}]},"coverage":{"type":"array","items":{"type":"object","properties":{"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"status":{"type":"string","enum":["ready","partial","stale","aged","notConfigured","unavailable","denied","noData","malformed","truncated"]},"includedItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"availableItemCount":{"type":"integer","minimum":0,"maximum":1000000000},"truncated":{"type":"boolean"},"freshness":{"type":"object","properties":{"observedAt":{"type":"string","format":"date-time"},"fetchedAt":{"type":"string","format":"date-time"},"ageSeconds":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["fresh","stale","aged","unknown"]}},"required":["status"],"additionalProperties":false},"reasonCode":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"}},"required":["sourceId","status"],"additionalProperties":false},"maxItems":50},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","enum":["info","warning"]},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"}},"required":["code","message","severity"],"additionalProperties":false},"maxItems":100},"dataGaps":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[A-Z][A-Z0-9_]*$"},"sourceId":{"type":"string","minLength":1,"maxLength":100,"pattern":"^[a-z][a-z0-9_]*$"},"severity":{"type":"string","enum":["info","warning","blocking"]},"message":{"type":"string","minLength":1,"maxLength":500},"resolution":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["configure"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["grantAccess"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["quoteAction"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind","capabilityId"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["retryLater"]},"capabilityId":{"type":"string","minLength":3,"maxLength":160,"pattern":"^[a-z][A-Za-z0-9-]*(?:\\.[a-z][A-Za-z0-9-]*)+$"}},"required":["kind"],"additionalProperties":false}]}},"required":["code","severity","message"],"additionalProperties":false},"maxItems":100}},"required":["correlationId","schemaVersion","toolId","toolVersion","scope","actor","billing","warnings","dataGaps"],"additionalProperties":false}},"required":["tid","success","code","timestamp","message","data","meta"],"additionalProperties":false},"AgentPlatformError_APPROVAL_REQUIRED":{"title":"APPROVAL_REQUIRED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-403-APPROVAL_REQUIRED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["APPROVAL_REQUIRED"]}}}}}]},"AgentPlatformError_AUTH_REQUIRED":{"title":"AUTH_REQUIRED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-401-AUTH_REQUIRED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["AUTH_REQUIRED"]}}}}}]},"AgentPlatformError_AUTH_SCOPE_DENIED":{"title":"AUTH_SCOPE_DENIED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-403-AUTH_SCOPE_DENIED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["AUTH_SCOPE_DENIED"]}}}}}]},"AgentPlatformError_BOUNDS_EXCEEDED":{"title":"BOUNDS_EXCEEDED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-422-BOUNDS_EXCEEDED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["BOUNDS_EXCEEDED"]}}}}}]},"AgentPlatformError_CAPABILITY_NOT_AVAILABLE":{"title":"CAPABILITY_NOT_AVAILABLE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-503-CAPABILITY_NOT_AVAILABLE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["CAPABILITY_NOT_AVAILABLE"]}}}}}]},"AgentPlatformError_CREDITS_INSUFFICIENT":{"title":"CREDITS_INSUFFICIENT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-402-CREDITS_INSUFFICIENT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["CREDITS_INSUFFICIENT"]}}}}}]},"AgentPlatformError_FEATURE_DISABLED":{"title":"FEATURE_DISABLED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-403-FEATURE_DISABLED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["FEATURE_DISABLED"]}}}}}]},"AgentPlatformError_IDEMPOTENCY_CONFLICT":{"title":"IDEMPOTENCY_CONFLICT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-IDEMPOTENCY_CONFLICT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["IDEMPOTENCY_CONFLICT"]}}}}}]},"AgentPlatformError_IDEMPOTENCY_IN_PROGRESS":{"title":"IDEMPOTENCY_IN_PROGRESS","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-IDEMPOTENCY_IN_PROGRESS"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["IDEMPOTENCY_IN_PROGRESS"]}}}}}]},"AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED":{"title":"IDEMPOTENCY_KEY_REQUIRED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-400-IDEMPOTENCY_KEY_REQUIRED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["IDEMPOTENCY_KEY_REQUIRED"]}}}}}]},"AgentPlatformError_INTERNAL_ERROR":{"title":"INTERNAL_ERROR","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-500-INTERNAL_ERROR"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["INTERNAL_ERROR"]}}}}}]},"AgentPlatformError_METHOD_NOT_ALLOWED":{"title":"METHOD_NOT_ALLOWED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-405-METHOD_NOT_ALLOWED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["METHOD_NOT_ALLOWED"]}}}}}]},"AgentPlatformError_OPERATION_ALREADY_RUNNING":{"title":"OPERATION_ALREADY_RUNNING","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-OPERATION_ALREADY_RUNNING"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["OPERATION_ALREADY_RUNNING"]}}}}}]},"AgentPlatformError_OPERATION_STATE_CONFLICT":{"title":"OPERATION_STATE_CONFLICT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-OPERATION_STATE_CONFLICT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["OPERATION_STATE_CONFLICT"]}}}}}]},"AgentPlatformError_QUOTE_EXPIRED":{"title":"QUOTE_EXPIRED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-410-QUOTE_EXPIRED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["QUOTE_EXPIRED"]}}}}}]},"AgentPlatformError_QUOTE_INPUT_MISMATCH":{"title":"QUOTE_INPUT_MISMATCH","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-QUOTE_INPUT_MISMATCH"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["QUOTE_INPUT_MISMATCH"]}}}}}]},"AgentPlatformError_QUOTE_REQUIRED":{"title":"QUOTE_REQUIRED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-402-QUOTE_REQUIRED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["QUOTE_REQUIRED"]}}}}}]},"AgentPlatformError_RATE_LIMITED":{"title":"RATE_LIMITED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-429-RATE_LIMITED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RATE_LIMITED"]}}}}}]},"AgentPlatformError_RESOURCE_ALREADY_EXISTS":{"title":"RESOURCE_ALREADY_EXISTS","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-RESOURCE_ALREADY_EXISTS"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESOURCE_ALREADY_EXISTS"]}}}}}]},"AgentPlatformError_RESOURCE_CONFLICT":{"title":"RESOURCE_CONFLICT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-RESOURCE_CONFLICT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESOURCE_CONFLICT"]}}}}}]},"AgentPlatformError_RESOURCE_LIMIT_EXCEEDED":{"title":"RESOURCE_LIMIT_EXCEEDED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-429-RESOURCE_LIMIT_EXCEEDED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESOURCE_LIMIT_EXCEEDED"]}}}}}]},"AgentPlatformError_RESOURCE_NOT_FOUND":{"title":"RESOURCE_NOT_FOUND","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-404-RESOURCE_NOT_FOUND"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESOURCE_NOT_FOUND"]}}}}}]},"AgentPlatformError_RESPONSE_TOO_LARGE":{"title":"RESPONSE_TOO_LARGE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-413-RESPONSE_TOO_LARGE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESPONSE_TOO_LARGE"]}}}}}]},"AgentPlatformError_RESULT_TOO_LARGE":{"title":"RESULT_TOO_LARGE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-413-RESULT_TOO_LARGE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["RESULT_TOO_LARGE"]}}}}}]},"AgentPlatformError_REVISION_CONFLICT":{"title":"REVISION_CONFLICT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-409-REVISION_CONFLICT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["REVISION_CONFLICT"]}}}}}]},"AgentPlatformError_SERVER_CONFIG_ERROR":{"title":"SERVER_CONFIG_ERROR","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-500-SERVER_CONFIG_ERROR"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["SERVER_CONFIG_ERROR"]}}}}}]},"AgentPlatformError_SOURCE_DATA_UNAVAILABLE":{"title":"SOURCE_DATA_UNAVAILABLE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-503-SOURCE_DATA_UNAVAILABLE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["SOURCE_DATA_UNAVAILABLE"]}}}}}]},"AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE":{"title":"SOURCE_SCHEMA_INCOMPATIBLE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-502-SOURCE_SCHEMA_INCOMPATIBLE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["SOURCE_SCHEMA_INCOMPATIBLE"]}}}}}]},"AgentPlatformError_TIMEOUT":{"title":"TIMEOUT","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-504-TIMEOUT"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["TIMEOUT"]}}}}}]},"AgentPlatformError_UNKNOWN_FILTER":{"title":"UNKNOWN_FILTER","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-400-UNKNOWN_FILTER"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["UNKNOWN_FILTER"]}}}}}]},"AgentPlatformError_UNSUPPORTED_TYPE":{"title":"UNSUPPORTED_TYPE","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-415-UNSUPPORTED_TYPE"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["UNSUPPORTED_TYPE"]}}}}}]},"AgentPlatformError_VALIDATION_FAILED":{"title":"VALIDATION_FAILED","allOf":[{"$ref":"#/components/schemas/AgentPlatformError"},{"type":"object","required":["code","error"],"properties":{"code":{"type":"string","enum":["CTX-AGP-400-VALIDATION_FAILED"]},"error":{"type":"object","required":["code"],"properties":{"code":{"type":"string","enum":["VALIDATION_FAILED"]}}}}}]}},"examples":{"InvalidCredential":{"value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-401-AUTH_REQUIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"You must sign in to continue.","error":{"code":"AUTH_REQUIRED","supportCode":"CTX-AUTH-001","displayMode":"boundary","retryable":false,"reasonCode":"EXAMPLE_AUTH_REQUIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_APPROVAL_REQUIRED":{"summary":"APPROVAL_REQUIRED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-403-APPROVAL_REQUIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"Explicit approval is required before this action can run.","error":{"code":"APPROVAL_REQUIRED","supportCode":"CTX-AGP-016","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_APPROVAL_REQUIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_AUTH_REQUIRED":{"summary":"AUTH_REQUIRED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-401-AUTH_REQUIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"You must sign in to continue.","error":{"code":"AUTH_REQUIRED","supportCode":"CTX-AUTH-001","displayMode":"boundary","retryable":false,"reasonCode":"EXAMPLE_AUTH_REQUIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_AUTH_SCOPE_DENIED":{"summary":"AUTH_SCOPE_DENIED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-403-AUTH_SCOPE_DENIED","timestamp":"2026-01-01T00:00:00.000Z","message":"This credential does not grant the required scope.","error":{"code":"AUTH_SCOPE_DENIED","supportCode":"CTX-AGP-001","displayMode":"blocking","retryable":false,"reasonCode":"EXAMPLE_AUTH_SCOPE_DENIED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_BOUNDS_EXCEEDED":{"summary":"BOUNDS_EXCEEDED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-422-BOUNDS_EXCEEDED","timestamp":"2026-01-01T00:00:00.000Z","message":"The request exceeds an allowed bound.","error":{"code":"BOUNDS_EXCEEDED","supportCode":"CTX-AGP-003","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_BOUNDS_EXCEEDED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_CAPABILITY_NOT_AVAILABLE":{"summary":"CAPABILITY_NOT_AVAILABLE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-503-CAPABILITY_NOT_AVAILABLE","timestamp":"2026-01-01T00:00:00.000Z","message":"The requested capability is temporarily unavailable.","error":{"code":"CAPABILITY_NOT_AVAILABLE","supportCode":"CTX-AGP-010","displayMode":"blocking","retryable":false,"reasonCode":"EXAMPLE_CAPABILITY_NOT_AVAILABLE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_CREDITS_INSUFFICIENT":{"summary":"CREDITS_INSUFFICIENT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-402-CREDITS_INSUFFICIENT","timestamp":"2026-01-01T00:00:00.000Z","message":"There are not enough credits to complete this action.","error":{"code":"CREDITS_INSUFFICIENT","supportCode":"CTX-BIL-001","displayMode":"toast","retryable":false,"reasonCode":"EXAMPLE_CREDITS_INSUFFICIENT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_FEATURE_DISABLED":{"summary":"FEATURE_DISABLED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-403-FEATURE_DISABLED","timestamp":"2026-01-01T00:00:00.000Z","message":"This feature is currently disabled.","error":{"code":"FEATURE_DISABLED","supportCode":"CTX-INF-009","displayMode":"blocking","retryable":false,"reasonCode":"EXAMPLE_FEATURE_DISABLED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_IDEMPOTENCY_CONFLICT":{"summary":"IDEMPOTENCY_CONFLICT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-IDEMPOTENCY_CONFLICT","timestamp":"2026-01-01T00:00:00.000Z","message":"The idempotency key was already used for a different request.","error":{"code":"IDEMPOTENCY_CONFLICT","supportCode":"CTX-AGP-007","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_IDEMPOTENCY_CONFLICT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_IDEMPOTENCY_IN_PROGRESS":{"summary":"IDEMPOTENCY_IN_PROGRESS","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-IDEMPOTENCY_IN_PROGRESS","timestamp":"2026-01-01T00:00:00.000Z","message":"A request with this idempotency key is still in progress.","error":{"code":"IDEMPOTENCY_IN_PROGRESS","supportCode":"CTX-AGP-008","displayMode":"inline","retryable":true,"reasonCode":"EXAMPLE_IDEMPOTENCY_IN_PROGRESS"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_IDEMPOTENCY_KEY_REQUIRED":{"summary":"IDEMPOTENCY_KEY_REQUIRED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-400-IDEMPOTENCY_KEY_REQUIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"An idempotency key is required for this request.","error":{"code":"IDEMPOTENCY_KEY_REQUIRED","supportCode":"CTX-AGP-006","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_IDEMPOTENCY_KEY_REQUIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_INTERNAL_ERROR":{"summary":"INTERNAL_ERROR","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-500-INTERNAL_ERROR","timestamp":"2026-01-01T00:00:00.000Z","message":"An unexpected error occurred.","error":{"code":"INTERNAL_ERROR","supportCode":"CTX-INF-001","displayMode":"boundary","retryable":false,"reasonCode":"EXAMPLE_INTERNAL_ERROR"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_METHOD_NOT_ALLOWED":{"summary":"METHOD_NOT_ALLOWED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-405-METHOD_NOT_ALLOWED","timestamp":"2026-01-01T00:00:00.000Z","message":"The requested HTTP method is not supported by this endpoint.","error":{"code":"METHOD_NOT_ALLOWED","supportCode":"CTX-AGP-025","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_METHOD_NOT_ALLOWED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_OPERATION_ALREADY_RUNNING":{"summary":"OPERATION_ALREADY_RUNNING","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-OPERATION_ALREADY_RUNNING","timestamp":"2026-01-01T00:00:00.000Z","message":"An equivalent operation is already running.","error":{"code":"OPERATION_ALREADY_RUNNING","supportCode":"CTX-AGP-017","displayMode":"toast","retryable":false,"reasonCode":"EXAMPLE_OPERATION_ALREADY_RUNNING"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_OPERATION_STATE_CONFLICT":{"summary":"OPERATION_STATE_CONFLICT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-OPERATION_STATE_CONFLICT","timestamp":"2026-01-01T00:00:00.000Z","message":"The operation cannot transition from its current state.","error":{"code":"OPERATION_STATE_CONFLICT","supportCode":"CTX-AGP-018","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_OPERATION_STATE_CONFLICT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_QUOTE_EXPIRED":{"summary":"QUOTE_EXPIRED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-410-QUOTE_EXPIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"The action quote has expired.","error":{"code":"QUOTE_EXPIRED","supportCode":"CTX-AGP-014","displayMode":"toast","retryable":false,"reasonCode":"EXAMPLE_QUOTE_EXPIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_QUOTE_INPUT_MISMATCH":{"summary":"QUOTE_INPUT_MISMATCH","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-QUOTE_INPUT_MISMATCH","timestamp":"2026-01-01T00:00:00.000Z","message":"The approved quote does not match this action input.","error":{"code":"QUOTE_INPUT_MISMATCH","supportCode":"CTX-AGP-015","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_QUOTE_INPUT_MISMATCH"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_QUOTE_REQUIRED":{"summary":"QUOTE_REQUIRED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-402-QUOTE_REQUIRED","timestamp":"2026-01-01T00:00:00.000Z","message":"A valid quote is required before this action can run.","error":{"code":"QUOTE_REQUIRED","supportCode":"CTX-AGP-013","displayMode":"toast","retryable":false,"reasonCode":"EXAMPLE_QUOTE_REQUIRED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RATE_LIMITED":{"summary":"RATE_LIMITED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-429-RATE_LIMITED","timestamp":"2026-01-01T00:00:00.000Z","message":"Too many requests were made. Please try again shortly.","error":{"code":"RATE_LIMITED","supportCode":"CTX-INF-003","displayMode":"toast","retryable":true,"reasonCode":"EXAMPLE_RATE_LIMITED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESOURCE_ALREADY_EXISTS":{"summary":"RESOURCE_ALREADY_EXISTS","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-RESOURCE_ALREADY_EXISTS","timestamp":"2026-01-01T00:00:00.000Z","message":"The resource already exists.","error":{"code":"RESOURCE_ALREADY_EXISTS","supportCode":"CTX-RES-002","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_RESOURCE_ALREADY_EXISTS"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESOURCE_CONFLICT":{"summary":"RESOURCE_CONFLICT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-RESOURCE_CONFLICT","timestamp":"2026-01-01T00:00:00.000Z","message":"The request conflicts with the current resource state.","error":{"code":"RESOURCE_CONFLICT","supportCode":"CTX-RES-003","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_RESOURCE_CONFLICT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESOURCE_LIMIT_EXCEEDED":{"summary":"RESOURCE_LIMIT_EXCEEDED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-429-RESOURCE_LIMIT_EXCEEDED","timestamp":"2026-01-01T00:00:00.000Z","message":"A resource limit was exceeded.","error":{"code":"RESOURCE_LIMIT_EXCEEDED","supportCode":"CTX-RES-004","displayMode":"toast","retryable":false,"reasonCode":"EXAMPLE_RESOURCE_LIMIT_EXCEEDED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESOURCE_NOT_FOUND":{"summary":"RESOURCE_NOT_FOUND","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-404-RESOURCE_NOT_FOUND","timestamp":"2026-01-01T00:00:00.000Z","message":"The requested resource could not be found.","error":{"code":"RESOURCE_NOT_FOUND","supportCode":"CTX-RES-001","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_RESOURCE_NOT_FOUND"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESPONSE_TOO_LARGE":{"summary":"RESPONSE_TOO_LARGE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-413-RESPONSE_TOO_LARGE","timestamp":"2026-01-01T00:00:00.000Z","message":"The response is too large to process safely.","error":{"code":"RESPONSE_TOO_LARGE","supportCode":"CTX-VAL-008","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_RESPONSE_TOO_LARGE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_RESULT_TOO_LARGE":{"summary":"RESULT_TOO_LARGE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-413-RESULT_TOO_LARGE","timestamp":"2026-01-01T00:00:00.000Z","message":"The result exceeds the allowed response size.","error":{"code":"RESULT_TOO_LARGE","supportCode":"CTX-AGP-022","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_RESULT_TOO_LARGE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_REVISION_CONFLICT":{"summary":"REVISION_CONFLICT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-409-REVISION_CONFLICT","timestamp":"2026-01-01T00:00:00.000Z","message":"The resource changed since it was last read.","error":{"code":"REVISION_CONFLICT","supportCode":"CTX-AGP-009","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_REVISION_CONFLICT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_SERVER_CONFIG_ERROR":{"summary":"SERVER_CONFIG_ERROR","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-500-SERVER_CONFIG_ERROR","timestamp":"2026-01-01T00:00:00.000Z","message":"This request is temporarily unavailable.","error":{"code":"SERVER_CONFIG_ERROR","supportCode":"CTX-INF-011","displayMode":"blocking","retryable":false,"reasonCode":"EXAMPLE_SERVER_CONFIG_ERROR"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_SOURCE_DATA_UNAVAILABLE":{"summary":"SOURCE_DATA_UNAVAILABLE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-503-SOURCE_DATA_UNAVAILABLE","timestamp":"2026-01-01T00:00:00.000Z","message":"Required source data is temporarily unavailable.","error":{"code":"SOURCE_DATA_UNAVAILABLE","supportCode":"CTX-AGP-011","displayMode":"blocking","retryable":false,"reasonCode":"EXAMPLE_SOURCE_DATA_UNAVAILABLE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_SOURCE_SCHEMA_INCOMPATIBLE":{"summary":"SOURCE_SCHEMA_INCOMPATIBLE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-502-SOURCE_SCHEMA_INCOMPATIBLE","timestamp":"2026-01-01T00:00:00.000Z","message":"A source returned an incompatible data contract.","error":{"code":"SOURCE_SCHEMA_INCOMPATIBLE","supportCode":"CTX-AGP-020","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_SOURCE_SCHEMA_INCOMPATIBLE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_TIMEOUT":{"summary":"TIMEOUT","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-504-TIMEOUT","timestamp":"2026-01-01T00:00:00.000Z","message":"The request timed out.","error":{"code":"TIMEOUT","supportCode":"CTX-INF-017","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_TIMEOUT"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_UNKNOWN_FILTER":{"summary":"UNKNOWN_FILTER","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-400-UNKNOWN_FILTER","timestamp":"2026-01-01T00:00:00.000Z","message":"The request contains an unsupported filter.","error":{"code":"UNKNOWN_FILTER","supportCode":"CTX-AGP-002","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_UNKNOWN_FILTER"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_UNSUPPORTED_TYPE":{"summary":"UNSUPPORTED_TYPE","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-415-UNSUPPORTED_TYPE","timestamp":"2026-01-01T00:00:00.000Z","message":"The provided file or content type is not supported.","error":{"code":"UNSUPPORTED_TYPE","supportCode":"CTX-VAL-007","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_UNSUPPORTED_TYPE"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}},"AgentPlatformError_VALIDATION_FAILED":{"summary":"VALIDATION_FAILED","value":{"tid":"req_openapi123456","success":false,"code":"CTX-AGP-400-VALIDATION_FAILED","timestamp":"2026-01-01T00:00:00.000Z","message":"The request could not be validated.","error":{"code":"VALIDATION_FAILED","supportCode":"CTX-VAL-001","displayMode":"inline","retryable":false,"reasonCode":"EXAMPLE_VALIDATION_FAILED"},"meta":{"correlationId":"cor_openapi123456","schemaVersion":"1"}}}}},"x-contextter-route-ids":["GET /api/v1","GET /api/v1/capabilities","GET /api/v1/capabilities/{capabilityId}","GET /api/v1/providers","GET /api/v1/workspaces","GET /api/v1/workspaces/{workspaceId}","GET /api/v1/workspaces/{workspaceId}/action-approvals/{approvalId}","GET /api/v1/workspaces/{workspaceId}/action-executions/{executionId}","GET /api/v1/workspaces/{workspaceId}/action-quotes/{quoteId}","GET /api/v1/workspaces/{workspaceId}/ai-visibility-runs/{runId}/mentions","GET /api/v1/workspaces/{workspaceId}/content-briefs/{briefId}","GET /api/v1/workspaces/{workspaceId}/content-projects/{projectId}","GET /api/v1/workspaces/{workspaceId}/decisions","GET /api/v1/workspaces/{workspaceId}/decisions/{decisionId}","GET /api/v1/workspaces/{workspaceId}/domain-snapshots/{snapshotId}","GET /api/v1/workspaces/{workspaceId}/evidence-bundles/{bundleId}","GET /api/v1/workspaces/{workspaceId}/keyword-data-runs/{runId}","GET /api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}","GET /api/v1/workspaces/{workspaceId}/operations/{operationId}","GET /api/v1/workspaces/{workspaceId}/site-audit/runs/{runId}","GET /api/v1/workspaces/{workspaceId}/source-coverage","GET /api/v1/workspaces/{workspaceId}/strategies","GET /api/v1/workspaces/{workspaceId}/strategies/{strategyId}","GET /api/v1/workspaces/{workspaceId}/tracking-run-groups/{runGroupId}","GET /api/v1/workspaces/{workspaceId}/verification-runs/{verificationRunId}","GET /api/v1/workspaces/{workspaceId}/work-items","GET /api/v1/workspaces/{workspaceId}/work-items/{workItemId}","GET /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/outcomes","GET /api/v1/workspaces/{workspaceId}/work-memory","PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief","PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/document","PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/metadata","PATCH /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/structure","PATCH /api/v1/workspaces/{workspaceId}/keyword-clusters/{clusterId}","PATCH /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}","PATCH /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}","PATCH /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/assignments","PATCH /api/v1/workspaces/{workspaceId}/keywords/workflow-status","PATCH /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}","PATCH /api/v1/workspaces/{workspaceId}/site-audit/link-opportunities/{opportunityId}/status","PATCH /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}","PATCH /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}","POST /api/v1/workspaces/{workspaceId}/content-projects","POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/archive","POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/brief-guidance","POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/duplicate","POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/restore","POST /api/v1/workspaces/{workspaceId}/content-projects/{projectId}/sources","POST /api/v1/workspaces/{workspaceId}/decisions","POST /api/v1/workspaces/{workspaceId}/decisions/{decisionId}/transitions","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_ai_visibility","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_backlinks","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_competitors","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_domain","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_rankings","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_search_performance","POST /api/v1/workspaces/{workspaceId}/jobs/seo_analyze_site","POST /api/v1/workspaces/{workspaceId}/jobs/seo_build_seo_plan","POST /api/v1/workspaces/{workspaceId}/jobs/seo_cancel_operation","POST /api/v1/workspaces/{workspaceId}/jobs/seo_create_content","POST /api/v1/workspaces/{workspaceId}/jobs/seo_find_opportunities","POST /api/v1/workspaces/{workspaceId}/jobs/seo_generate_metadata","POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_account_status","POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_operation","POST /api/v1/workspaces/{workspaceId}/jobs/seo_get_workspace_overview","POST /api/v1/workspaces/{workspaceId}/jobs/seo_insert_links","POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_site_audit","POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_tracking","POST /api/v1/workspaces/{workspaceId}/jobs/seo_manage_work","POST /api/v1/workspaces/{workspaceId}/jobs/seo_optimize_content","POST /api/v1/workspaces/{workspaceId}/jobs/seo_organize_keywords","POST /api/v1/workspaces/{workspaceId}/jobs/seo_publish_content","POST /api/v1/workspaces/{workspaceId}/jobs/seo_research_keywords","POST /api/v1/workspaces/{workspaceId}/jobs/seo_score_content","POST /api/v1/workspaces/{workspaceId}/jobs/seo_verify_results","POST /api/v1/workspaces/{workspaceId}/keyword-lists","POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/archive","POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/member-removals","POST /api/v1/workspaces/{workspaceId}/keyword-lists/{listId}/members","POST /api/v1/workspaces/{workspaceId}/keyword-organization-workflows","POST /api/v1/workspaces/{workspaceId}/keyword-research-runs/{runId}/candidate-imports","POST /api/v1/workspaces/{workspaceId}/keyword-tags","POST /api/v1/workspaces/{workspaceId}/keyword-tags/{tagId}/removal","POST /api/v1/workspaces/{workspaceId}/keywords","POST /api/v1/workspaces/{workspaceId}/keywords/{keywordId}/archive","POST /api/v1/workspaces/{workspaceId}/keywords/{keywordId}/restore","POST /api/v1/workspaces/{workspaceId}/opportunities/refresh","POST /api/v1/workspaces/{workspaceId}/search-performance/refresh","POST /api/v1/workspaces/{workspaceId}/seo-plans","POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules","POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/archive","POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/pause","POST /api/v1/workspaces/{workspaceId}/site-audit/alert-rules/{alertRuleId}/resume","POST /api/v1/workspaces/{workspaceId}/site-audit/link-analyses","POST /api/v1/workspaces/{workspaceId}/site-audit/schedules","POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/archive","POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/pause","POST /api/v1/workspaces/{workspaceId}/site-audit/schedules/{scheduleId}/resume","POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/archive","POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-challenges","POST /api/v1/workspaces/{workspaceId}/site-audit/sites/{siteId}/verification-checks","POST /api/v1/workspaces/{workspaceId}/strategies","POST /api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revision-activations","POST /api/v1/workspaces/{workspaceId}/strategies/{strategyId}/revisions","POST /api/v1/workspaces/{workspaceId}/tracking-schedules","POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/archive","POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/pause","POST /api/v1/workspaces/{workspaceId}/tracking-schedules/{scheduleId}/resume","POST /api/v1/workspaces/{workspaceId}/tracking-workflow-preparations","POST /api/v1/workspaces/{workspaceId}/verification-requests","POST /api/v1/workspaces/{workspaceId}/work-items","POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/order-changes","POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/outcomes","POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/priority-changes","POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/progress","POST /api/v1/workspaces/{workspaceId}/work-items/{workItemId}/transitions","PUT /api/v1/workspaces/{workspaceId}/site-audit/sites"],"x-contextter-operation-ids":["describeAgentPlatform","listAgentPlatformCapabilities","getAgentPlatformCapability","listAgentPlatformDataProviders","listAuthorizedAgentWorkspaces","getAgentWorkspaceContext","getActionApproval","getActionExecution","getActionQuote","aiVisibility_mentions_list","contentBrief_get","contentProject_get","decision_list","decision_get","domain_snapshot_get","evidence_bundle_get","keywordData_run_get","keywordResearch_run_get","getAgentOperation","siteAudit_run_get","getAgentWorkspaceSourceCoverage","strategy_list","strategy_get","tracking_run-group_get","verification_get","workItem_list","workItem_get","outcome_list","workMemory_overview","content_project_brief_update","content_project_document_update","content_project_metadata_update","content_project_structure_update","keywordCluster_rename","keywordList_update","keywordTag_update","keywordTag_assignment_update","keyword_workflowStatus_update","siteAudit_alertRule_update","siteAudit_linkOpportunity_status_update","siteAudit_schedule_update","tracking_schedule_update","content_project_create","content_project_archive","content_project_brief_guidance_update","content_project_duplicate","content_project_restore","content_project_source_add","decision_record","decision_transition","seo_analyze_ai_visibility","seo_analyze_backlinks","seo_analyze_competitors","seo_analyze_domain","seo_analyze_rankings","seo_analyze_search_performance","seo_analyze_site","seo_build_seo_plan","seo_cancel_operation","seo_create_content","seo_find_opportunities","seo_generate_metadata","seo_get_account_status","seo_get_operation","seo_get_workspace_overview","seo_insert_links","seo_manage_site_audit","seo_manage_tracking","seo_manage_work","seo_optimize_content","seo_organize_keywords","seo_publish_content","seo_research_keywords","seo_score_content","seo_verify_results","keywordList_create","keywordList_archive","keywordList_members_remove","keywordList_members_add","keyword_organization_apply","keywordResearch_candidates_import","keywordTag_create","keywordTag_remove","keyword_create","keyword_archive","keyword_restore","opportunity_decision-system_refresh","searchPerformance_refresh","seoPlan_apply","siteAudit_alertRule_create","siteAudit_alertRule_archive","siteAudit_alertRule_pause","siteAudit_alertRule_resume","siteAudit_linkAnalysis_start","siteAudit_schedule_create","siteAudit_schedule_archive","siteAudit_schedule_pause","siteAudit_schedule_resume","siteAudit_site_archive","siteAudit_verification_start","siteAudit_verification_check","strategy_create","strategy_revision_activate","strategy_revision_append","tracking_schedule_create","tracking_schedule_archive","tracking_schedule_pause","tracking_schedule_resume","tracking_workflow_prepare","verification_request","workItem_create","workItem_order_update","outcome_record","workItem_priority_update","workItem_progress_apply","workItem_transition","siteAudit_site_configure"],"x-contextter-domain-location-code-maximum":100000000}