Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

The unique identifier of the Upsun project

Pattern: [a-z0-9]+
Example:

"abc123def456"

environmentId
string
required

The environment identifier

Pattern: .+
Example:

"main"

Query Parameters

from
integer

Start of time range (Unix timestamp). Defaults to 2 weeks ago.

Example:

1704067200

to
integer

End of time range (Unix timestamp). Defaults to now.

Example:

1704326400

transaction
string

Filter recommendations to a specific transaction name.

Example:

"App\\Controller\\ProductController::list"

limit
integer

Maximum number of recommendation results to return. Clamped to range 10–200. Defaults to 10 (or 200 when filtering by transaction).

Required range: 10 <= x <= 200
Example:

50

Response

Recommendation statistics retrieved successfully

_project_id
string
required

Project identifier

Example:

"abc123def456"

_environment_id
string
required

Environment identifier

Example:

"main"

_branch_machine_name
string
required

Branch machine name

Example:

"main-bvxea6i"

_agent
string<uuid>
required

Blackfire Agent UUID

Example:

"a38f69ca-3b56-4ea6-beac-272b2568164a"

_from
integer
required

Start of time range (Unix timestamp)

Example:

1704067200

_to
integer
required

End of time range (Unix timestamp)

Example:

1704326400

recommendations
object[]
required

List of failing recommendations

total
integer
required

Total number of profiles with failing recommendations

Example:

42

_transaction
string

Filtered transaction name (only present when transaction filter is applied)

Example:

"App\\Controller\\ProductController::list"

tested_transactions
string[]

List of transaction names that have been tested by recommendations

untested_top_transactions
string[]

List of top transaction names that have not been tested by recommendations

Last modified on June 16, 2026