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

# Get a placement test

> While the test is running the response carries `Retry-After`: wait that long before reading again.



## OpenAPI

````yaml /openapi.json get /v1/email/placement-tests/{test_id}
openapi: 3.1.0
info:
  title: Cluster API
  version: '1'
servers:
  - url: https://api.getcluster.ai
security: []
paths:
  /v1/email/placement-tests/{test_id}:
    get:
      tags:
        - Email
      summary: Get a placement test
      description: >-
        While the test is running the response carries `Retry-After`: wait that
        long before reading again.
      operationId: get_placement_test
      parameters:
        - name: test_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Test Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PlacementTest'
          headers:
            Retry-After:
              description: >-
                Seconds to wait before reading again. Sent only while the test
                is running.
              schema:
                type: string
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '402':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Payment Required
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '429':
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Too Many Requests
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
        '503':
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Service Unavailable
      security:
        - ApiKey: []
components:
  schemas:
    PlacementTest:
      properties:
        id:
          type: string
          title: Id
        created_at:
          type: string
          format: date-time
          title: Created At
        name:
          type: string
          title: Name
        status:
          type: string
          title: Status
        subject:
          type: string
          title: Subject
        credits_charged:
          type: integer
          title: Credits Charged
        sender_count:
          type: integer
          title: Sender Count
        summary:
          $ref: '#/components/schemas/PlacementSummary'
        senders:
          items:
            $ref: '#/components/schemas/PlacementSender'
          type: array
          title: Senders
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
      type: object
      required:
        - id
        - created_at
        - name
        - status
        - subject
        - credits_charged
        - sender_count
        - summary
        - senders
      title: PlacementTest
    ErrorResponse:
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
      type: object
      required:
        - error
      title: ErrorResponse
    PlacementSummary:
      properties:
        inbox:
          type: integer
          title: Inbox
          default: 0
        other:
          type: integer
          title: Other
          default: 0
        spam:
          type: integer
          title: Spam
          default: 0
        missing:
          type: integer
          title: Missing
          default: 0
        not_sent:
          type: integer
          title: Not Sent
          default: 0
        pending:
          type: integer
          title: Pending
          default: 0
        seeds:
          type: integer
          title: Seeds
          default: 0
        inbox_rate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Inbox Rate
        other_rate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Other Rate
        spam_rate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Spam Rate
        missing_rate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Missing Rate
      type: object
      title: PlacementSummary
    PlacementSender:
      properties:
        sender_id:
          type: string
          title: Sender Id
        email:
          type: string
          title: Email
        status:
          type: string
          title: Status
        seeds_total:
          type: integer
          title: Seeds Total
        seeds_sent:
          type: integer
          title: Seeds Sent
        summary:
          $ref: '#/components/schemas/PlacementSummary'
        providers:
          items:
            $ref: '#/components/schemas/PlacementMailboxProvider'
          type: array
          title: Providers
        report:
          anyOf:
            - $ref: '#/components/schemas/PlacementReport'
            - type: 'null'
        completed_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Completed At
      type: object
      required:
        - sender_id
        - email
        - status
        - seeds_total
        - seeds_sent
        - summary
        - providers
      title: PlacementSender
    ErrorBody:
      properties:
        code:
          type: string
          title: Code
        message:
          type: string
          title: Message
        request_id:
          type: string
          title: Request Id
        details:
          anyOf:
            - items:
                $ref: '#/components/schemas/ErrorDetail'
              type: array
            - type: 'null'
          title: Details
      type: object
      required:
        - code
        - message
        - request_id
      title: ErrorBody
    PlacementMailboxProvider:
      properties:
        inbox:
          type: integer
          title: Inbox
          default: 0
        other:
          type: integer
          title: Other
          default: 0
        spam:
          type: integer
          title: Spam
          default: 0
        missing:
          type: integer
          title: Missing
          default: 0
        not_sent:
          type: integer
          title: Not Sent
          default: 0
        pending:
          type: integer
          title: Pending
          default: 0
        provider:
          anyOf:
            - type: string
            - type: 'null'
          title: Provider
        groups:
          items:
            $ref: '#/components/schemas/PlacementGroup'
          type: array
          title: Groups
      type: object
      required:
        - groups
      title: PlacementMailboxProvider
    PlacementReport:
      properties:
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
        spf_valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Spf Valid
        dkim_valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dkim Valid
        dmarc_valid:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Dmarc Valid
        blocklists:
          items:
            type: string
          type: array
          title: Blocklists
        spam_words:
          items:
            type: string
          type: array
          title: Spam Words
      type: object
      required:
        - blocklists
        - spam_words
      title: PlacementReport
    ErrorDetail:
      properties:
        field:
          anyOf:
            - type: string
            - type: 'null'
          title: Field
        message:
          type: string
          title: Message
      type: object
      required:
        - message
      title: ErrorDetail
    PlacementGroup:
      properties:
        inbox:
          type: integer
          title: Inbox
          default: 0
        other:
          type: integer
          title: Other
          default: 0
        spam:
          type: integer
          title: Spam
          default: 0
        missing:
          type: integer
          title: Missing
          default: 0
        not_sent:
          type: integer
          title: Not Sent
          default: 0
        pending:
          type: integer
          title: Pending
          default: 0
        label:
          type: string
          title: Label
      type: object
      required:
        - label
      title: PlacementGroup
  securitySchemes:
    ApiKey:
      type: http
      description: A workspace API key, created under Settings, API keys.
      scheme: bearer

````

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