---
title: "Start profiler session"
method: POST
path: "/api/v1/profiler/sessions"
tags: ["profiler"]
---

# Start profiler session

`POST /api/v1/profiler/sessions`

Starts a new profiling session with the given sample interval.

## Request body

- object
  - `sampleIntervalMs` integer — Sampling interval in milliseconds.

## Response `200`

Session started.

- ProfilerSessionInfo — unresolved $ref

## Other responses

- `500` — Internal server error.

---

[API](https://skmtc.dev/dotnet/apis/devflow-agent-protocol.md) · [All operations](https://skmtc.dev/dotnet/apis/devflow-agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dotnet/devflow-agent-protocol/revisions/31dec8eed3de/schema)
