Skip to main content
Monitoring & Collection/Profiling

GetGoroutineAnalysis

Retrieve goroutine analysis results for the given profiling session.

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

Operation ID

GetGoroutineAnalysis

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • sessionId
    StringRequired

    Session identifier to retrieve goroutine analysis for.

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • sessionId
    String

    Session identifier this analysis belongs to.

    Example: sess-abc123

  • goroutineCount
    Integer

    Total number of goroutines found in the session.

    Example: 512

  • topStacks
    List

    Top goroutine stacks by occurrence count.

    Example: (nested array)

    • count
      Integer

      Number of goroutines sharing this stack trace.

      Example: 42

    • state
      String

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

      Example: waiting

    • waitReason
      String

      Reason the goroutine is waiting, if applicable.

      Example: channel receive

    • frames
      List

      Stack frames for this goroutine stack trace.

      Example: item1,item2

    • createdBy
      String

      Function that created this goroutine.

      Example: main.startWorker

  • blockedGoroutines
    List

    Goroutine stacks that are in a blocked state.

    Example: (nested array)

    • count
      Integer

      Number of goroutines sharing this stack trace.

      Example: 42

    • state
      String

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

      Example: waiting

    • waitReason
      String

      Reason the goroutine is waiting, if applicable.

      Example: channel receive

    • frames
      List

      Stack frames for this goroutine stack trace.

      Example: item1,item2

    • createdBy
      String

      Function that created this goroutine.

      Example: main.startWorker

  • goroutineGrowthRate
    Long

    Rate of goroutine growth compared to previous baseline.

    Example: 1.25

  • analyzedAt
    String

    Timestamp when the analysis was completed.

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