NiCE Edited Summary API
: Generate and retrieve edited summaries for interactions.
: Generate and retrieve edited summaries for interactions.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/nice:nice-edited-summary-api"
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.
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: 3.2.0
info:
title: Nice Edited Summary API
version: 1.0.0
description: 'Operations tagged Edited 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: Edited Summary
description: ': Generate and retrieve edited summaries for interactions.'
paths:
/eai-real-time-insight/v1/edited-summary:
post:
tags:
- Edited Summary
summary: Stores an agent-edited summary and publishes it to the data-warehouse Kafka…
description: 'Persists the agent-edited summary for the interaction and publishes it to the data-warehouse
Kafka topic for downstream analytics. Requires a user token.'
operationId: storeOrPublishToKafkaEditedSummary
requestBody:
description: The edited summary content and interaction metadata.
content:
application/json; x-api-version=1.0:
schema:
required:
- meta
allOf:
- $ref: '#/components/schemas/EditedSummaryRequest'
description: Request to store or publish an agent-edited summary.
text/json; x-api-version=1.0:
schema:
required:
- meta
allOf:
- $ref: '#/components/schemas/EditedSummaryRequest'
description: Request to store or publish an agent-edited summary.
application/*+json; x-api-version=1.0:
schema:
required:
- meta
allOf:
- $ref: '#/components/schemas/EditedSummaryRequest'
description: Request to store or publish an agent-edited summary.
responses:
'200':
description: The edited summary was stored and published; returns its summary UID and timestamp.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/EditedSummaryResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/EditedSummaryResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/EditedSummaryResponse'
'400':
description: Validation failed — e.g. missing meta, or meta.contactNumber/agentNumber/agentUid/channel, or an invalid channel or UUID.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: The bearer token is missing or invalid.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: An unexpected error occurred while storing the edited summary.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
/eai-real-time-insight/v1/edited-summary/get:
post:
tags:
- Edited Summary
summary: Retrieves the previously stored edited summary for the interaction
description: Returns the most recent agent-edited summary stored for the interaction, if any. Requires a user token.
operationId: getEditedSummary
requestBody:
description: The request identifying the interaction (contact metadata).
content:
application/json; x-api-version=1.0:
schema:
allOf:
- $ref: '#/components/schemas/GetEditedSummaryRequest'
description: Request to retrieve a stored edited summary.
text/json; x-api-version=1.0:
schema:
allOf:
- $ref: '#/components/schemas/GetEditedSummaryRequest'
description: Request to retrieve a stored edited summary.
application/*+json; x-api-version=1.0:
schema:
allOf:
- $ref: '#/components/schemas/GetEditedSummaryRequest'
description: Request to retrieve a stored edited summary.
responses:
'200':
description: Returns the stored edited summary for the interaction, if any.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/GetEditedSummaryResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/GetEditedSummaryResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/GetEditedSummaryResponse'
'400':
description: Validation failed — e.g. missing meta.contactNumber or meta.agentContactUid.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
'401':
description: The bearer token is missing or invalid.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: An unexpected error occurred while retrieving the edited summary.
content:
text/plain; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
application/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
text/json; x-api-version=1.0:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
GetEditedSummaryResponse:
required:
- timeStamp
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'
summary:
type:
- string
- 'null'
description: The stored edited summary text, if any.
example: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
summaryUid:
type:
- string
- 'null'
description: Unique identifier of the stored edited summary, if any.
example: es-9f8e7d6c
additionalProperties: false
description: Response containing the previously stored agent-edited summary for an interaction.
example:
timeStamp: '2024-01-01T00:00:05.123Z'
summary: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
summaryUid: es-9f8e7d6c
GetEditedSummaryMeta:
required:
- agentContactUid
- contactNumber
type: object
properties:
contactNumber:
type: integer
description: Unique identifier of the contact/interaction.
format: int64
example: 1234567890
agentUid:
type:
- string
- 'null'
description: Unique identifier of the agent.
example: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
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 retrieving an edited summary.
example:
contactNumber: 1234567890
agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
EditedSummaryRequest:
required:
- meta
type: object
properties:
meta:
required:
- contactNumber
- agentNumber
- agentUid
- channel
- agentContactUid
allOf:
- $ref: '#/components/schemas/EditedSummaryMeta'
description: Interaction metadata identifying the contact and agent.
summary:
type:
- string
- 'null'
description: The agent-edited summary text.
example: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
additionalProperties: false
description: Request to store or publish an agent-edited summary.
example:
meta:
contactNumber: 1234567890
agentNumber: 4242
agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
channel: voice
summary: Customer reported a billing discrepancy; issued a refund and confirmed resolution.
EditedSummaryMeta:
required:
- agentContactUid
- agentNumber
- agentUid
- channel
- contactNumber
type: object
properties:
contactNumber:
type:
- integer
- 'null'
description: Unique identifier of the contact/interaction.
format: int64
example: 1234567890
agentNumber:
type:
- integer
- 'null'
description: Agent number.
format: int32
example: 4242
agentUid:
type:
- string
- 'null'
description: Unique identifier of the agent.
example: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
agentContactUid:
type:
- string
- 'null'
description: Identifier of the agent's contact leg for the interaction.
example: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
channel:
type:
- string
- 'null'
description: Channel of the interaction (e.g. digital or voice).
example: voice
additionalProperties: false
description: Interaction metadata for an edited summary request.
example:
contactNumber: 1234567890
agentNumber: 4242
agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
channel: voice
GetEditedSummaryRequest:
required:
- meta
type: object
properties:
meta:
allOf:
- $ref: '#/components/schemas/GetEditedSummaryMeta'
description: Interaction metadata identifying the contact and agent.
additionalProperties: false
description: Request to retrieve a stored edited summary.
example:
meta:
contactNumber: 1234567890
agentUid: b7e6c1a2-8f3d-4e5a-9c1b-2d3e4f5a6b7c
agentContactUid: c9d8e7f6-1234-4a5b-8c9d-0e1f2a3b4c5d
EditedSummaryResponse:
required:
- summaryUid
- timeStamp
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'
summaryUid:
type:
- string
- 'null'
description: Unique identifier of the stored edited summary.
example: es-9f8e7d6c
additionalProperties: false
description: Response returned after storing and publishing an agent-edited summary.
example:
timeStamp: '2024-01-01T00:00:05.123Z'
summaryUid: es-9f8e7d6c
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