Monitoring & Collection/Profiling
POSTProfilingSince 1.0SynchronousAuth Required
CreateSession
Create a new profiling session for the specified target and profile type.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
profileTypeStringRequiredProfile type to capture: goroutine, heap, or cpu.
Example: goroutine
targetStringRequiredTarget endpoint or host to profile.
Example: my-service:6060
Responses
Endpoint
POST/api/v1/profiling/sessions
/api/v1/profiling/sessions
Request Example
curl -X POST '{host}/api/v1/profiling/sessions' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"profileType":"goroutine","target":"my-service:6060"}'
Response Example
200{
"sessionId": "sess-abc123",
"profileType": "goroutine",
"target": "my-service:6060",
"createdAt": "example",
"status": "completed",
"rawDataSizeBytes": 204800
}Change History
This API has no change history records yet.
