Lists the processes that are available from which diagnostic information can be obtained.
GET /processes HTTP/1.1
Note
Process information (IDs, names, environment, etc) may change between invocations of these APIs. Processes may start or stop between API invocations, causing this information to change.
The default host address for these routes is https://localhost:52323
. This route is only available on the addresses configured via the --urls
command line parameter and the DOTNETMONITOR_URLS
environment variable.
Authentication is enforced for this route. See Authentication for further information.
Allowed schemes:
Bearer
Negotiate
(Windows only, running as unelevated)
Name | Type | Description | Content Type |
---|---|---|---|
200 OK | ProcessIdentifier[] | An array of process identifier objects. | application/json |
400 Bad Request | ValidationProblemDetails | An error occurred due to invalid input. The response body describes the specific problem(s). | application/problem+json |
401 Unauthorized | Authentication is required to complete the request. See Authentication for further information. |
GET /processes HTTP/1.1
Host: localhost:52323
Authorization: Bearer fffffffffffffffffffffffffffffffffffffffffff=
HTTP/1.1 200 OK
Content-Type: application/json
[
{
"pid": 15000,
"uid": "7b03fa5a-88ef-4630-899d-418bc0a3eb76"
},
{
"pid": 21632,
"uid": "cd4da319-fa9e-4987-ac4e-e57b2aac248b"
},
{
"pid": 3380,
"uid": "38f3eab1-c172-48b8-8dfd-b26986b37741"
}
]
Operating System | Runtime Version |
---|---|
Windows | .NET Core 3.1, .NET 5+ |
Linux | .NET Core 3.1, .NET 5+ |
MacOS | .NET Core 3.1, .NET 5+ |