OptionalaccountOptionalbrandOptionaltargetsDiscriminated list of validation targets. Each entry mirrors the target shape on validate-input-result.json so the request/response wire shapes match exactly. Multi-target requests enable universal-creative scenarios where one manifest targets multiple sellers' format declarations in a single round-trip; the response carries one result per target in the same order.
Request payload for the validate_input task. Lets buyers preflight a creative manifest against canonical formats and/or specific products before committing to a render or other expensive creative-production step. It validates manifest structure and target format constraints only: slot counts, asset types, parameter ranges, and format-shape constraints. It does not rehearse a seller's library mutation, creative_id upsert semantics, package assignments, account authorization, active-delivery protections, or other trafficking-time gates. When the question is final seller acceptance for a creative that is ready to traffic, call sync_creatives directly; use dry_run: true for a non-mutating rehearsal of that operation. Used by build_creative internally to validate inputs before producing output. For genuinely nondeterministic generative systems where predictive validation is impossible, the platform's own post-synthesis QA loop applies — validate_input is the predictable-case primitive.
The
targets[]array is a discriminated list of validation targets, mirroring the response shape onvalidate-input-result.json#target. Each entry has akind(canonical | product | third_party_format | capability) plus a kind-specific identifier. The capability kind is the canonical agent-local route for an advertised supported_formats entry whose operations contains validate; the other target kinds remain portable contract identifiers. Discriminated-by-kind on both sides eliminates a wire-shape mismatch: a previous draft usedformat_ids: string[]for canonical names alongsideproduct_ids: string[], which collided withProduct.format_ids: FormatId[]({agent_url, id}) — codegen would emit the same field name with two different types. Discriminatedtargets[]makes the intent explicit and codegen-clean.