Prediction API
Start prediction execution
API Documentation
Data API
- GETGet datasets
- GETGet datasources
- GETGet datasource
- GETGet datasource uploads
- POSTStart ActiveCampaign synchronization
- POSTStart Agillic synchronization
- POSTStart Big Query synchronization
- POSTUpload CSV file
- POSTStart Google Analytics 4 synchronization
- POSTStart Google Cloud Storage synchronization
- POSTUpload JSON file
- POSTStart MSSQL synchronization
- POSTStart Naviga synchronization
- POSTStart SFTP synchronization
Model API
- GETGet models
- GETGet model
- GETGet model trainings
- POSTStart model training
- GETGet model training statistics: feature impact
- GETGet model training statistics: beeswarm
- GETGet model training statistics: feature dependence
- GETGet model training statistics: feature dependence with secondary feature
- GETGet model training statistics: waterfall data
Prediction API
Export API
Recommendation API
Prediction API
Start prediction execution
POST
/
api
/
predictionexecution
/
v1.0
/
customer
/
{customerId}
/
predictionV21execution
curl --request POST \
--url https://app.allyy.io/api/predictionexecution/v1.0/customer/{customerId}/predictionV21execution \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"predictionConfigurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"take": 123,
"isDelta": true
}
}'
{
"meta": {
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"validation": [
{
"property": "<string>",
"message": "<string>"
}
],
"info": {}
},
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"predictionConfigurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"take": 123,
"isDelta": true,
"status": 1,
"created": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"exportedFiles": [
"<string>"
],
"errorCode": 123
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Response
200
text/plain
OK
curl --request POST \
--url https://app.allyy.io/api/predictionexecution/v1.0/customer/{customerId}/predictionV21execution \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"predictionConfigurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"take": 123,
"isDelta": true
}
}'
{
"meta": {
"errors": [
{
"code": "<string>",
"message": "<string>"
}
],
"validation": [
{
"property": "<string>",
"message": "<string>"
}
],
"info": {}
},
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"predictionConfigurationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"take": 123,
"isDelta": true,
"status": 1,
"created": "2023-11-07T05:31:56Z",
"finished": "2023-11-07T05:31:56Z",
"exportedFiles": [
"<string>"
],
"errorCode": 123
}
}