> ## Documentation Index
> Fetch the complete documentation index at: https://docs.erdo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CreateCriticReviewAPI reviews typed advertising creative on demand. Findings


> are advisory; no provider mutations or experiment predictions are recorded.




## OpenAPI

````yaml /api/openapi.json post /v1/critic/reviews
openapi: 3.0.0
info:
  title: Erdo API
  description: >-
    Erdo's REST API: query and write datasets, run agents, manage threads,
    integrations, pages, evals, workstreams, experiments, and bounded outreach.
    Authenticate with a Bearer API key (erdo_api_...) or scoped token
    (erdo_token_...).
  version: '2026-10-26'
servers:
  - url: https://api.erdo.ai
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/critic/reviews:
    post:
      summary: >
        CreateCriticReviewAPI reviews typed advertising creative on demand.
        Findings
      description: >
        are advisory; no provider mutations or experiment predictions are
        recorded.
      operationId: POST:mcp.CreateCriticReviewAPI
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ad:
                  $ref: '#/components/schemas/agents.CriticAd'
                judges:
                  items:
                    type: string
                  type: array
                  maxItems: 16
                  uniqueItems: true
                subject_kind:
                  type: string
                  enum:
                    - ad
              type: object
              required:
                - subject_kind
                - ad
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  evidence:
                    $ref: '#/components/schemas/agents.CriticEvidence'
                  lenses:
                    items:
                      $ref: '#/components/schemas/agents.CriticLensReview'
                    type: array
                  subject_kind:
                    $ref: '#/components/schemas/agents.ArtifactKind'
                  summary:
                    type: string
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    agents.CriticAd:
      description: >
        destinations are references: their text is resolved by the server, not
        asserted by the same writer whose claims the truthfulness lens is
        checking.
      properties:
        audience:
          type: string
        cta:
          type: string
        descriptions:
          items:
            $ref: '#/components/schemas/agents.CriticTextSlot'
          type: array
          maxItems: 20
        destination_artifact_id:
          type: string
        destination_url:
          type: string
        display_paths:
          items:
            type: string
          type: array
          maxItems: 2
        format:
          type: string
        headline:
          type: string
        headlines:
          items:
            $ref: '#/components/schemas/agents.CriticTextSlot'
          type: array
          maxItems: 20
        images:
          items:
            $ref: '#/components/schemas/agents.CriticImageReference'
          type: array
          maxItems: 8
        intro_text:
          type: string
        platform:
          type: string
          enum:
            - google_ads
            - meta_ads
            - linkedin_ads
            - other
        primary_text:
          type: string
        register:
          type: string
        sources:
          items:
            $ref: '#/components/schemas/agents.CriticSourceReference'
          type: array
          maxItems: 8
      title: >
        CriticAd preserves exact copy and placement, including RSA pins. Sources
        and
      type: object
      required:
        - platform
        - format
    agents.CriticEvidence:
      properties:
        destination:
          $ref: '#/components/schemas/agents.CriticTextEvidence'
        images:
          items:
            $ref: '#/components/schemas/agents.CriticImageEvidence'
          type: array
        sources:
          items:
            $ref: '#/components/schemas/agents.CriticTextEvidence'
          type: array
      type: object
    agents.CriticLensReview:
      properties:
        findings:
          items:
            $ref: '#/components/schemas/agents.CriticFinding'
          type: array
        lens_slug:
          type: string
        report_only:
          type: boolean
        summary:
          type: string
      type: object
    agents.ArtifactKind:
      description: >
        HTML builders use it to select a style guide. The critic also accepts
        typed non-HTML subjects without routing those through the page builder.
      title: >
        ArtifactKind identifies the content kind used by builders and critic
        lenses.
      type: string
    agents.CriticTextSlot:
      properties:
        pin:
          format: int64
          type: integer
          minimum: 1
          maximum: 3
        text:
          type: string
      type: object
      required:
        - text
    agents.CriticImageReference:
      properties:
        asset_id:
          type: string
        url:
          type: string
      type: object
    agents.CriticSourceReference:
      properties:
        record_id:
          type: string
        url:
          type: string
      type: object
    agents.CriticTextEvidence:
      properties:
        reason:
          type: string
        reference:
          type: string
        resolved_url:
          type: string
        status:
          type: string
          enum:
            - available
            - missing
            - unavailable
        text:
          type: string
      type: object
    agents.CriticImageEvidence:
      properties:
        reason:
          type: string
        reference:
          type: string
        resolved_url:
          type: string
        status:
          type: string
          enum:
            - available
            - missing
            - unavailable
      type: object
    agents.CriticFinding:
      properties:
        evidence:
          type: string
        issue:
          type: string
        severity:
          type: string
          enum:
            - low
            - medium
            - high
            - critical
        suggested_rewrite:
          type: string
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.