⚠️ This documentation is not complete and will change. Documentation and API References are actively being updated.
curl --request POST \
--url https://api.propops.app/api/analytics/ai-analysis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysis_type": "job_health",
"csrf_token": "abc123def456",
"branch_id": 1
}
'{
"success": true,
"message": "Operation completed successfully"
}Request a fresh AI analysis. Results are generated asynchronously. Required permission: api.analytics.ai-analysis.manage
curl --request POST \
--url https://api.propops.app/api/analytics/ai-analysis \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analysis_type": "job_health",
"csrf_token": "abc123def456",
"branch_id": 1
}
'{
"success": true,
"message": "Operation completed successfully"
}All API requests must include a valid Bearer token in the Authorization header.
Tokens are 64-character SHA-256 session hashes issued by the PropOps authentication system.
Example:
Authorization: Bearer a1b2c3d4e5f6...