Skip to main content
GET
/
projects
/
{projectId}
/
environments
/
{environmentId}
/
observability
/
profiles
/
{uuid}
/
graph
Error
A valid request URL is required to generate request examples
{
  "_project_id": "abc123def456",
  "_environment_id": "main",
  "_branch_machine_name": "main-bvxea6i",
  "_agent": "a38f69ca-3b56-4ea6-beac-272b2568164a",
  "_uuid": "4b5266a2-fd71-468b-bf05-87b342079cbf",
  "dimensions": {},
  "root": "main()",
  "nodes": {},
  "edges": {},
  "comparison": false,
  "language": "php",
  "peaks": {},
  "arguments": {},
  "layers": {},
  "labels": {},
  "spans": {},
  "spans-ot": {},
  "hierarchy": {}
}

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"

uuid
string<uuid>
required

The profile UUID

Pattern: [0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
Example:

"4b5266a2-fd71-468b-bf05-87b342079cbf"

Response

Call graph 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"

_uuid
string<uuid>
required

Profile UUID

Example:

"4b5266a2-fd71-468b-bf05-87b342079cbf"

dimensions
object
required

Available metric dimensions (wt, cpu, mu, pmu, io, nw, ct)

root
string
required

Root node identifier

Example:

"main()"

nodes
object
required

Call graph nodes with inclusive/exclusive costs and percentages

edges
object
required

Call graph edges linking caller to callee nodes

comparison
boolean
required

Whether this is a comparison graph

Example:

false

language
enum<string>
required

Profiled application language

Available options:
php,
python
Example:

"php"

peaks
object

Peak inclusive and exclusive costs

arguments
object

Function arguments and metric data

layers
object

Layer information

labels
object

Timespan labels

spans
object

Span metadata

spans-ot
object

OpenTelemetry span data

hierarchy
object

Profile hierarchy data

Last modified on March 25, 2026