Document Understanding
Predictor Management
Initiate Generate Prediction POST /v1/api/predictor/predictor
| Resource URL | /v1/api/predictor/predictor |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Description
Initiate the generation of a prediction for a specific opportunity.
Request Body
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| opportunity | Identifier of the opportunity | Yes | String | N/A |
| session_id | Unique session identifier | Yes | String | N/A |
| prediction_type | Type of prediction to generate | Yes | String | N/A |
Example Request
Example Response
HTTP Response
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Predictor Management
Get Prediction GET /v1/api/predictor/get_prediction
| Resource URL | /v1/api/predictor/get_prediction |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Description
Retrieve a prediction for a specific opportunity based on the prediction type.
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| opportunity | Identifier of the opportunity | Yes | String | N/A |
| prediction_type | Type of prediction to retrieve | Yes | String | N/A |
Example Request
Example Response
HTTP Response
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |
Initiate Generate Predictions
POST /v1/api/predictor/generate_predictions
| Resource URL | /v1/api/predictor/generate_predictions |
|---|---|
| Response Format | JSON |
| Method | POST |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Description
Initiate the generate of a prediction
Request Body
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| opportunity | Identifier of the opportunity | Yes | String | N/A |
| session_id | Unique session identifier | Yes | String | N/A |
| documentless | checking document | Yes | Boolean | false |
Example Request
Example Response
HTTP Responses
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 422 | Validation Error |
Predictor Operations
Get Generated Predictions GET /v1/api/predictor/get_generated_predictions
| Resource URL | /v1/api/predictor/get_generated_predictions |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Description
Retrieve previously generated predictions for a specified opportunity.
Parameters
| Parameter | Description | Required | Type | Default Value |
|---|---|---|---|---|
| opportunity | Query parameter: Identifier of the opportunity | Yes | String | N/A |
Example Request
Example Response
HTTP Response
| HTTP Code | Message |
|---|---|
| 200 | Successful Response |
| 422 | Validation Error |