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

# Get a placement test

> Full result of one placement test: placement per provider and market, Gmail tabs, authentication, spam-filter verdicts, blocklists, content checks and a list of issues with fixes. While `status` is `running`, the numbers fill in as seeds report.



## OpenAPI

````yaml /openapi-v1.json get /v2/placement/tests/{test_id}
openapi: 3.1.0
info:
  title: Mailercloud Marketing API
  version: 1.0.0
  description: >-
    Campaigns, contacts, lists, segments, automations, and webhooks for the
    Mailercloud Marketing Platform.
servers:
  - url: https://cloudapi.mailercloud.com/v1
security:
  - apiKey: []
tags:
  - name: Campaigns
  - name: Contacts
  - name: Lists
  - name: Tags
  - name: Segments
  - name: Custom Properties
  - name: Senders
  - name: Domains
  - name: Templates
  - name: Automations
  - name: Webhooks
  - name: Webforms
  - name: Inbox Tracker
  - name: Account
paths:
  /v2/placement/tests/{test_id}:
    get:
      tags:
        - Inbox Tracker
      summary: Get a placement test
      description: >-
        Full result of one placement test: placement per provider and market,
        Gmail tabs, authentication, spam-filter verdicts, blocklists, content
        checks and a list of issues with fixes. While `status` is `running`, the
        numbers fill in as seeds report.
      operationId: placement-get-test
      parameters:
        - name: test_id
          in: path
          required: true
          description: Test id returned by Start a placement test.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      test_id:
                        type: string
                      campaign_id:
                        type: string
                      status:
                        type: string
                        enum:
                          - running
                          - complete
                          - failed
                          - refunded
                      started_at:
                        type: string
                        format: date-time
                      sent_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                      completed_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                      seeds:
                        type: object
                        properties:
                          total:
                            type: integer
                          reported:
                            type: integer
                          pending:
                            type: integer
                          missing:
                            type: integer
                      totals:
                        type: object
                        description: >-
                          Percentages of all seeds. `inbox_pct` includes Gmail
                          tabs; `tab_pct` is the Gmail-tabs share of it.
                        properties:
                          inbox_pct:
                            type: number
                          spam_pct:
                            type: number
                          tab_pct:
                            type: number
                          missing_pct:
                            type: number
                          pending_pct:
                            type: number
                      by_provider:
                        type: array
                        items:
                          type: object
                          description: >-
                            One mailbox provider (`provider_id` set) or one
                            market (`group_id` set).
                          properties:
                            provider_id:
                              type: string
                            group_id:
                              type: string
                            country_code:
                              type:
                                - string
                                - 'null'
                            name:
                              type: string
                            seeds:
                              type: integer
                            inbox:
                              type: integer
                            spam:
                              type: integer
                            tab:
                              type: integer
                            pending:
                              type: integer
                            missing:
                              type: integer
                            inbox_pct:
                              type: number
                            spam_pct:
                              type: number
                            missing_pct:
                              type: number
                            median_delay_s:
                              type: integer
                              description: Median delivery delay in seconds, when known.
                            gmail_tabs:
                              type: object
                              additionalProperties:
                                type: integer
                              description: >-
                                This provider's Gmail seeds per tab (for example
                                `primary`, `promotions`). Set on Gmail-family
                                providers only.
                      by_market:
                        type: array
                        items:
                          type: object
                          description: >-
                            One mailbox provider (`provider_id` set) or one
                            market (`group_id` set).
                          properties:
                            provider_id:
                              type: string
                            group_id:
                              type: string
                            country_code:
                              type:
                                - string
                                - 'null'
                            name:
                              type: string
                            seeds:
                              type: integer
                            inbox:
                              type: integer
                            spam:
                              type: integer
                            tab:
                              type: integer
                            pending:
                              type: integer
                            missing:
                              type: integer
                            inbox_pct:
                              type: number
                            spam_pct:
                              type: number
                            missing_pct:
                              type: number
                            median_delay_s:
                              type: integer
                              description: Median delivery delay in seconds, when known.
                      gmail_tabs:
                        type: object
                        additionalProperties:
                          type: integer
                        description: >-
                          Gmail seeds per tab (for example `primary`,
                          `promotions`), totalled across every Gmail-family
                          provider. Each Gmail-family row in `by_provider`
                          carries its own counts.
                      auth:
                        type:
                          - object
                          - 'null'
                        properties:
                          spf:
                            type: string
                          dkim:
                            type: string
                          dmarc:
                            type: string
                          bimi:
                            type: string
                      identity:
                        type:
                          - object
                          - 'null'
                        properties:
                          sender_domain:
                            type: string
                          sender_ip:
                            type: string
                          return_path:
                            type: string
                          rdns:
                            type: string
                          helo:
                            type: string
                          sender_score:
                            type:
                              - integer
                              - 'null'
                      filters:
                        type: array
                        description: Spam-filter verdicts.
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            received:
                              type: boolean
                            verdict:
                              type:
                                - string
                                - 'null'
                            score:
                              type:
                                - number
                                - 'null'
                            threshold:
                              type:
                                - number
                                - 'null'
                      rules:
                        type: array
                        items:
                          type: object
                          properties:
                            filter:
                              type: string
                            tag:
                              type: string
                            description:
                              type: string
                            score:
                              type: number
                      blocklists:
                        type:
                          - object
                          - 'null'
                        properties:
                          ips:
                            type: array
                            items:
                              type: object
                              properties:
                                ip:
                                  type:
                                    - string
                                    - 'null'
                                rdns:
                                  type: string
                                listed:
                                  type: integer
                                lists:
                                  type: array
                                  items:
                                    type: string
                                shared_pool:
                                  type: boolean
                                  description: >-
                                    `true` for a shared sending IP; the IP
                                    itself is then hidden.
                          domains:
                            type: array
                            items:
                              type: object
                              properties:
                                domain:
                                  type: string
                                listed:
                                  type: integer
                                lists:
                                  type: array
                                  items:
                                    type: string
                      content:
                        type:
                          - object
                          - 'null'
                        properties:
                          message_bytes:
                            type: integer
                          html_bytes:
                            type: integer
                          plain_bytes:
                            type: integer
                          images:
                            type: array
                            items:
                              type: object
                              properties:
                                url:
                                  type: string
                                status_code:
                                  type: integer
                                bytes:
                                  type: integer
                                response_ms:
                                  type: integer
                                redirects:
                                  type: integer
                                broken:
                                  type: boolean
                          links:
                            type: array
                            items:
                              type: object
                              properties:
                                url:
                                  type: string
                                location:
                                  type: string
                                text:
                                  type: string
                                status_code:
                                  type: integer
                                redirects:
                                  type: integer
                                response_ms:
                                  type: integer
                                tracked:
                                  type: boolean
                                unsubscribe:
                                  type: boolean
                                broken:
                                  type: boolean
                      issues:
                        type: array
                        items:
                          type: object
                          properties:
                            code:
                              type: string
                            severity:
                              type: string
                              enum:
                                - blocking
                                - worth_fixing
                            title:
                              type: string
                            impact:
                              type: string
                            action:
                              type: string
                            cta:
                              type:
                                - object
                                - 'null'
                              properties:
                                label:
                                  type: string
                                kind:
                                  type: string
                                  enum:
                                    - edit_email
                                    - open_url
                                url:
                                  type:
                                    - string
                                    - 'null'
                            affected_seeds:
                              type: integer
                        description: Problems found, with what to do about each.
                      severity_counts:
                        type: object
                        properties:
                          blocking:
                            type: integer
                          worth_fixing:
                            type: integer
                          passing:
                            type: integer
                      eta_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: >-
                          Estimated finish time while the test is running;
                          `null` otherwise.
                      eta_seconds:
                        type:
                          - integer
                          - 'null'
                        description: >-
                          Estimated seconds from start to finish while running;
                          `null` otherwise.
        '401':
          description: Missing or invalid API key.
        '404':
          description: Campaign or test not found for this account.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Human-readable message.
                  code:
                    type: string
                    enum:
                      - CAMPAIGN_NOT_FOUND
        '503':
          description: Placement testing is not available right now. Nothing was charged.
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    description: Human-readable message.
                  code:
                    type: string
                    enum:
                      - PLACEMENT_UNAVAILABLE
      servers:
        - url: https://cloudapi.mailercloud.com
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Your Mailercloud API key (plain text, no Bearer prefix). Create keys in
        Settings → API.

````

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