Skip to main content
Monitoring & Collection/Profiling

GetBaseline

Get a single performance baseline record by its identifier.

GET/api/v1/profiling/baselines/{baselineId}

Operation ID

GetBaseline

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

  • baselineId
    StringRequired

    Unique identifier of the baseline record to retrieve.

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • baselineId
    String

    Unique identifier of this baseline record.

    Example: bl-20240101

  • baselineLabel
    String

    Human-readable label identifying this baseline.

    Example: v1.2.0-release

  • profileType
    String

    Profile type this baseline was captured from.

    Example: cpu

  • sessionId
    String

    Profiling session identifier used to create this baseline.

    Example: sess-abc123

  • description
    String

    Optional description providing context for this baseline.

    Example: Post-deploy baseline for v1.2.0

  • topFunctions
    List

    Top functions recorded at the time of baseline creation.

    Example: (nested array)

    • funcName
      String

      Fully-qualified function name including package path.

      Example: runtime.gcBgMarkWorker

    • package
      String

      Go package that contains this function.

      Example: runtime

    • selfPct
      Long

      Percentage of samples attributed solely to this function.

      Example: 12.5

    • cumulativePct
      Long

      Percentage of samples including callees of this function.

      Example: 18.3

    • sampleCount
      String

      Absolute number of profiling samples collected for this function.

      Example: 4200

  • createdAt
    String

    Timestamp when this baseline was created.

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

  • isLatest
    Boolean

    Whether this is the most recently created baseline for its type.

    Example: true

  • tags
    List

    User-defined tags for categorizing this baseline.

    Example: item1,item2