Skip to main content

Uniphore Help Center Portal

Reprocess API

Reprocessing of the conversation is performed when Facts and Scorecards are modified after processing.

The Reprocess API allows clients to re-evaluate an existing conversation with new or updated Facts and Scorecard.

This does not reprocess the entire pipeline; only Facts and Scorecards are re-evaluated.

Endpoint

Method: POST

URL: https:<hostname>/v1/reprocess/voice/<tenantId>

curl --location 'https://hostname/uzng-gateway/v1/reprocess/voice/15bb107e-0c5b-44be-84e1-5f276111583a' \
--header 'authorization: Bearer KdhjLgiy3Vo7d4gTzeTypphbRg8UEhtfZR-X1EW3-ZmNo_HGzYSZlKeSWBV9g3Sa0WZJ4y-CLW06aa57eBVD-R1FiL_O52fYHPvw8J41PnRlIle18FEuCjZ_uEuQ' \
--header 'content-type: application/json' \
--data '[
          "68e0c3be-75d2-bf5a-5f5c68634f58"
]'
Header Parameter
Authorization - Bearer <Token>

Note

To obtain an authorization token, click here.

Path Parameter

Parameter Name

Data Type

Description

Required/ Optional

tenand_id

String

ID of the tenant to which the conversation belongs.

Required

Request Parameter

An array of external conversation IDs should be passed. The external conversation ID is the unique ID given for a conversation by the organization/customer.

Sample Request
[
    "68e0c3be-4db9-bf5a-5f5c68634f58"
    "68e0c3be-45d9-cf5a-5f5c68634f58"
    "68e0c3be-85d1-2db0-5f5c68634f58"
]
Sample Response
{
  Request has been accepted and is subjective to reprocessing limits 
}

Note

The reprocessing limit is configurable at the environment level. By default, the limit is set to 1.

Response and Error Codes

Response Code

Condition

Message

Description

200

OK

The request was successful.

This message appears when the batch re-processing request is submitted.

400

Bad Request

The request was invalid or cannot be served.

Ensure the Path Parameter and Request Body parameters are correct and in the right format.

401

UnAuthorized

Invalid request format

Authentication failed, or the user does not have permissions.

Invalid token or invalid signature received for JSON Web Token validation. Ensure the correct token is input.

404

Not found

The requested resource could not be found.

The requested Conversation is not found.

500

Internal Server Error

Internal Server Error.

The server encountered an unexpected error that prevented it from fulfilling the request. Retry after some time.