Documentation ›
Account & AI › Training status
GET
Training status
GEThttps://app.sendapp.ai/api/training_status
Check the status of a training process for the specified account.
Parameters
apikey
required
Your API Key.
token
required
Account token.
Request
curl 'https://app.sendapp.ai/api/training_status?apikey=YOUR_API_KEY&token=YOUR_ACCOUNT_TOKEN'<?php
$url = 'https://app.sendapp.ai/api/training_status?apikey=YOUR_API_KEY&token=YOUR_ACCOUNT_TOKEN';
print_r(json_decode(file_get_contents($url), true));const params = new URLSearchParams({ apikey: 'YOUR_API_KEY', token: 'YOUR_ACCOUNT_TOKEN' });
const res = await fetch('https://app.sendapp.ai/api/training_status?' + params);
console.log(await res.json());Response (200 OK)
{
"status": "completed",
"progress": 100
}Error
{
"status": "error",
"message": "Account not found."
}