GET
/
api
/
prediction
/
v1.0
/
customer
/
{customerId}
/
predictionV21
curl --request GET \
  --url https://app.allyy.io/api/prediction/v1.0/customer/{customerId}/predictionV21 \
  --header 'Authorization: Bearer <token>'
{
  "meta": {
    "errors": [
      {
        "code": "<string>",
        "message": "<string>"
      }
    ],
    "validation": [
      {
        "property": "<string>",
        "message": "<string>"
      }
    ],
    "info": {}
  },
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "dataSetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "dataSet": "<string>",
      "name": "<string>",
      "description": "<string>",
      "type": 1,
      "entityType": 1,
      "models": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "name": "<string>"
        }
      ],
      "execution": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "status": 1,
        "started": "2023-11-07T05:31:56Z",
        "finished": "2023-11-07T05:31:56Z"
      },
      "recommenderSystemData": {
        "contactSegments": [
          "<string>"
        ],
        "entityLists": [
          "<string>"
        ],
        "predictionLists": [
          "<string>"
        ]
      },
      "churnData": {
        "contactSegments": [
          "<string>"
        ],
        "daysToFirstCutOffStart": 123
      },
      "responsePredictionData": {
        "contactSegments": [
          "<string>"
        ],
        "entityLists": [
          "<string>"
        ],
        "predictionLists": [
          "<string>"
        ]
      }
    }
  ],
  "totalItemsCount": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

customerId
string
required
version
string
required

Query Parameters

executionStatus
integer[]
orderBy
string
type
integer
dataSetId
string[]
orderByDesc
boolean
take
integer
skip
integer

Response

200
text/plain
OK
meta
object
data
object[] | null
totalItemsCount
integer