Skip to main content
GET
{baseUrlAdmin}
/
api
/
process-versions
/
compute
curl -X GET '{{baseUrlAdmin}}/api/process-versions/compute' \
  -H 'Authorization: Bearer YOUR_ADMIN_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Cache-Control: no-cache' \
  -H 'Accept: */*'
This endpoint triggers the computation of warnings and misconfigurations for all existing process definitions, particularly those created in previous FlowX.AI versions (< 4.1). Use this endpoint to ensure your legacy processes are analyzed for potential issues and compliance with current platform standards.
This operation analyzes process definitions to identify configuration issues, deprecated patterns, and potential optimization opportunities. It’s essential for maintaining process quality after platform upgrades.

Authentication

This endpoint requires admin-level authentication. Ensure you have proper administrative privileges to perform system-wide process analysis.
Authorization
string
required
Bearer token with admin privileges for API authentication. Format: Bearer YOUR_ADMIN_TOKEN

URL Parameters

baseUrlAdmin
string
required
The base URL of the FlowX Admin service where process management operations are performed.Example: https://admin.your-domain.com
api
string
required
Path segment indicating this is an API endpoint within the admin service.
process-versions
string
required
Path segment specifying that this endpoint operates on process version resources. This groups all process version management operations under a common path.
compute
string
required
Path segment identifying the specific operation to perform. This endpoint triggers the computation of warnings and misconfigurations for all process versions.

Headers

Content-Type
string
default:"application/json"
Content type for the request. Should be set to application/json.
Cache-Control
string
default:"no-cache"
Cache control directive. Use no-cache to ensure the computation runs fresh.
Accept
string
default:"*/*"
Content type that the client can accept. Supports */* for all types.

Request Examples

curl -X GET '{{baseUrlAdmin}}/api/process-versions/compute' \
  -H 'Authorization: Bearer YOUR_ADMIN_TOKEN' \
  -H 'Content-Type: application/json' \
  -H 'Cache-Control: no-cache' \
  -H 'Accept: */*'
const response = await fetch('{{baseUrlAdmin}}/api/process-versions/compute', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer YOUR_ADMIN_TOKEN',
    'Content-Type': 'application/json',
    'Cache-Control': 'no-cache',
    'Accept': '*/*'
  }
});

const result = await response.json();
⌘I