Skip to main content
Monitoring & Collection/Profiling
GETProfilingSince 1.0SynchronousAuth Required

GetGoroutineAnalysis

Retrieve goroutine analysis results for the given profiling session.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • sessionIdStringRequired

    Session identifier to retrieve goroutine analysis for.

Responses

200 OK

On success, this API returns the following response structure.

  • sessionIdString

    Session identifier this analysis belongs to.

    Example: sess-abc123

  • goroutineCountInteger

    Total number of goroutines found in the session.

    Example: 512

  • topStacksList

    Top goroutine stacks by occurrence count.

    Example: (nested array)

    • countInteger

      Number of goroutines sharing this stack trace.

      Example: 42

    • stateString

      Current goroutine state (e.g. running, waiting).

      Example: waiting

    • waitReasonString

      Reason the goroutine is waiting, if applicable.

      Example: channel receive

    • framesList

      Stack frames for this goroutine stack trace.

      Example: item1,item2

    • createdByString

      Function that created this goroutine.

      Example: main.startWorker

  • blockedGoroutinesList

    Goroutine stacks that are in a blocked state.

    Example: (nested array)

    • countInteger

      Number of goroutines sharing this stack trace.

      Example: 42

    • stateString

      Current goroutine state (e.g. running, waiting).

      Example: waiting

    • waitReasonString

      Reason the goroutine is waiting, if applicable.

      Example: channel receive

    • framesList

      Stack frames for this goroutine stack trace.

      Example: item1,item2

    • createdByString

      Function that created this goroutine.

      Example: main.startWorker

  • goroutineGrowthRateLong

    Rate of goroutine growth compared to previous baseline.

    Example: 1.25

  • analyzedAtString

    Timestamp when the analysis was completed.

    Example: 2026-01-15T08:00:00Z

Endpoint

GET/api/v1/profiling/sessions/{sessionId}/analysis

/api/v1/profiling/sessions/{sessionId}/analysis

Operation ID

GetGoroutineAnalysis

Permalink

Request Example

curl -X GET '{host}/api/v1/profiling/sessions/{sessionId}/analysis' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "sessionId": "sess-abc123",
  "goroutineCount": 512,
  "topStacks": [
    {}
  ],
  "blockedGoroutines": [
    {}
  ],
  "goroutineGrowthRate": 1.25,
  "analyzedAt": "example"
}

Change History

This API has no change history records yet.

View all change history