NiCE Final Summary API

: Generate and retrieve final summaries for interactions.

GitHub OpenAPI

Operations 1

POST /eai-real-time-insight/v4/interaction-insights/final-summary Retrieve or generate the final summary for an interaction #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/nice:nice-final-summary-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

nice-final-summary-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Nice Final Summary API
  version: 1.0.0
  description: 'Operations tagged Final Summary across 2 of this provider''s published API definitions: nice-realtimeinsights.json, nice-realtimeinsights-openapi.yml. Each path carries the servers of the definition it was published in.'
security:
- Bearer: []
tags:
- name: Final Summary
  description: ': Generate and retrieve final summaries for interactions.'
paths:
  /eai-real-time-insight/v4/interaction-insights/final-summary:
    post:
      tags:
      - Final Summary
      summary: Retrieve or generate the final summary for an interaction
      description: 'Returns the final summary for a completed interaction, generating it on demand if one has not yet

        been produced. Returns 200 with the summary when available, or 252 when no summary can be produced yet.'
      operationId: retrieveOrGenerateFinalSummary
      requestBody:
        description: The FinalSummaryRequest object containing the Final Summary Request.
        content:
          application/json; x-api-version=4.0:
            schema:
              required:
              - meta
              allOf:
              - $ref: '#/components/schemas/FinalSummaryRequest'
              description: Request to retrieve or generate the final summary for an interaction.
          text/json; x-api-version=4.0:
            schema:
              required:
              - meta
              allOf:
              - $ref: '#/components/schemas/FinalSummaryRequest'
              description: Request to retrieve or generate the final summary for an interaction.
          application/*+json; x-api-version=4.0:
            schema:
              required:
              - meta
              allOf:
              - $ref: '#/components/schemas/FinalSummaryRequest'
              description: Request to retrieve or generate the final summary for an interaction.
      responses:
        '200':
          description: Returns the final summary for the interaction.
          content:
            text/plain; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
            application/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
            text/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
        '252':
          description: No final summary is available for the interaction yet.
          content:
            text/plain; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
            application/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
            text/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/FinalSummaryResponse'
        '400':
          description: Validation failed — e.g. missing meta.tenantId/contactNumber/channel/agentContactUid, or neither agentUid nor agentNumber supplied.
          content:
            text/plain; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: The bearer token is missing or invalid.
          content:
            text/plain; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: An unexpected error occurred while producing the final summary.
          content:
            text/plain; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            application/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
            text/json; x-api-version=4.0:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    FinalSummaryResponse:
      required:
      - uid
      type: object
      properties:
        timestamp:
          type: string
          description: Server timestamp of the response, in ISO 8601 format (UTC).
          format: date-time
          example: '2024-01-01T00:00:05.123Z'
        uid:
          type:
          - string
          - 'null'
          description: Unique identifier of the final summary.
          example: fs-9f8e7d6c
        summary:
          type:
          - string
          - 'null'
          description: The generated final summary text, if any.
          example: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
      additionalProperties: false
      description: Response containing the final summary for a completed interaction.
      example:
        timestamp: '2024-01-01T00:00:05.123Z'
        uid: fs-9f8e7d6c
        summary: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
    FinalSummaryMetaData:
      required:
      - agentContactUid
      - channel
      - contactNumber
      - tenantId
      type: object
      properties:
        tenantId:
          type:
          - string
          - 'null'
          description: Tenant identifier.
          example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        contactNumber:
          type:
          - integer
          - 'null'
          description: Unique identifier of the contact/interaction.
          format: int64
          example: 1234567890
        channel:
          type:
          - string
          - 'null'
          description: Channel of the interaction (e.g. digital or voice).
          example: voice
        agentUid:
          type:
          - string
          - 'null'
          description: Unique identifier of the agent.
          example: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
        agentNumber:
          type:
          - integer
          - 'null'
          description: Agent number.
          format: int32
          example: 4242
        agentContactUid:
          type:
          - string
          - 'null'
          description: Identifier of the agent's contact leg for the interaction.
          example: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
      additionalProperties: false
      description: Interaction metadata for a final summary request.
      example:
        tenantId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
        contactNumber: 1234567890
        channel: voice
        agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
        agentNumber: 4242
        agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
    FinalSummaryRequest:
      required:
      - meta
      type: object
      properties:
        meta:
          required:
          - tenantId
          - contactNumber
          - channel
          - agentContactUid
          allOf:
          - $ref: '#/components/schemas/FinalSummaryMetaData'
          description: Interaction metadata identifying the tenant, contact and agent.
      additionalProperties: false
      description: Request to retrieve or generate the final summary for an interaction.
      example:
        meta:
          tenantId: 3fa85f64-5717-4562-b3fc-2c963f66afa6
          contactNumber: 1234567890
          channel: voice
          agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
          agentNumber: 4242
          agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
    DependencyServiceFailure:
      type: object
      properties:
        service:
          type:
          - string
          - 'null'
        httpStatus:
          type: integer
          format: int32
        errorMessages:
          type:
          - array
          - 'null'
          items:
            type: string
      additionalProperties: false
      description: Details of a failure that originated from a downstream dependency.
    ErrorResponse:
      type: object
      properties:
        timestamp:
          type: string
          description: Timestamp when the error occurred (UTC).
          format: date-time
          example: '2024-01-01T00:00:05.123Z'
        errorMessages:
          type:
          - array
          - 'null'
          items:
            type: string
          description: Human-readable error messages describing what went wrong.
        debugInfo: {}
        httpStatusCode:
          type: integer
          format: int32
        dependency:
          allOf:
          - $ref: '#/components/schemas/DependencyServiceFailure'
          description: Details of a failure that originated from a downstream dependency.
      additionalProperties: false
      description: Standard error response returned by the API's exception-handling middleware.
      example:
        timestamp: '2024-01-01T00:00:05.123Z'
  securitySchemes:
    Bearer:
      type: http
      description: JWT Authorization header using the Bearer scheme.
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- nice-realtimeinsights.json
- nice-realtimeinsights-openapi.yml