Get recommendation statistics
Returns recommendation statistics for the environment, optionally filtered by transaction. Proxied from the Blackfire API. Each recommendation includes the constraint details, occurrence count, and links to the latest profile and documentation.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The unique identifier of the Upsun project
[a-z0-9]+"abc123def456"
The environment identifier
.+"main"
Query Parameters
Start of time range (Unix timestamp). Defaults to 2 weeks ago.
1704067200
End of time range (Unix timestamp). Defaults to now.
1704326400
Filter recommendations to a specific transaction name.
"App\\Controller\\ProductController::list"
Maximum number of recommendation results to return. Clamped to range 10–200. Defaults to 10 (or 200 when filtering by transaction).
10 <= x <= 20050
Response
Recommendation statistics retrieved successfully
Project identifier
"abc123def456"
Environment identifier
"main"
Branch machine name
"main-bvxea6i"
Blackfire Agent UUID
"a38f69ca-3b56-4ea6-beac-272b2568164a"
Start of time range (Unix timestamp)
1704067200
End of time range (Unix timestamp)
1704326400
List of failing recommendations
Total number of profiles with failing recommendations
42
Filtered transaction name (only present when transaction filter is applied)
"App\\Controller\\ProductController::list"
List of transaction names that have been tested by recommendations
List of top transaction names that have not been tested by recommendations