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

# Create Scorecard Result

> Create Scorecard Result for a conversation



## OpenAPI

````yaml /api-reference/openapi.json post /createScorecardResult
openapi: 3.0.1
info:
  title: Attention Service V2
  description: Attention Service API V2
  termsOfService: https://www.attention.com/terms-of-use
  contact:
    name: Attention Team
    url: https://docs.attention.com/welcome
    email: support@attention.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.8.0
servers:
  - url: https://api.attention.tech/v2
security:
  - APIKeyHeader: []
paths:
  /createScorecardResult:
    post:
      tags:
        - Scorecard
      summary: Create Scorecard Result
      description: Create Scorecard Result for a conversation
      operationId: createScorecardResult
      requestBody:
        description: >-
          Scorecard result creation request containing the conversation UUID,
          scorecard UUID, and scorecard result details
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/createScorecardResultRequest'
          application/vnd.api+json:
            schema:
              $ref: '#/components/schemas/createScorecardResultRequest'
        required: true
      responses:
        '200':
          description: Scorecard result successfully created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/createScorecardResultResponse'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/createScorecardResultResponse'
        '401':
          description: Authentication failed - valid API key required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
        default:
          description: Unexpected error occurred while creating the scorecard result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    createScorecardResultRequest:
      required:
        - items
        - scorecard_uuid
        - summary
      type: object
      properties:
        scorecard_uuid:
          type: string
        conversation_uuid:
          type: string
        chat_uuid:
          type: string
        summary:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/ScorecardResultItemRequest'
      example:
        scorecard_uuid: sc-uuid-123
        summary: Excellent discovery process, identified 3 key pain points
        conversation_uuid: conv-uuid-789
        items:
          - scorecard_item_uuid: si-uuid-1
            numeric_result: 95
            description: Outstanding listening skills
          - scorecard_item_uuid: si-uuid-2
            numeric_result: 85
            description: Good closing technique
    createScorecardResultResponse:
      required:
        - success
      type: object
      properties:
        success:
          type: boolean
      example:
        success: true
    Error:
      type: object
      properties:
        id:
          type: string
          description: A unique identifier for the error.
        status:
          type: string
          description: >-
            The HTTP status code applicable to this problem, expressed as a
            string value.
        code:
          type: string
          description: An application-specific error code, expressed as a string value.
        title:
          type: string
          description: A short, human-readable summary of the problem.
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
        source:
          type: object
          properties:
            pointer:
              type: string
            parameter:
              type: string
        meta:
          type: object
          properties: {}
      example:
        id: not_found_error
        status: '404'
        code: '404'
        title: Not Found Error
        detail: The requested resource was not found
        source:
          pointer: /data/attributes/id
    ScorecardResultItemRequest:
      required:
        - description
        - scorecard_item_uuid
      type: object
      properties:
        scorecard_item_uuid:
          type: string
        numeric_result:
          type: integer
        description:
          type: string
      example:
        scorecard_item_uuid: si-uuid-123
        numeric_result: 90
        description: Demonstrated strong objection handling
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      name: Authorization
      in: header

````