---
title: "Submit an async log pull request for the caller's company. Returns the same response shape as M:Q2.Portal.Web.Server.Controllers.API.LogController.GetLogRequest(System.Int32) for immediate polling."
method: POST
path: "/api/v1/admin/log"
tags: ["Log"]
---

# Submit an async log pull request for the caller's company. Returns the same response shape as M:Q2.Portal.Web.Server.Controllers.API.LogController.GetLogRequest(System.Int32) for immediate polling.

`POST /api/v1/admin/log`

## Request body

- CreateLogRequestDto
  - `serviceId` string, required
  - `environmentId` string, nullable
  - `fromUtc` string, date-time, required
  - `toUtc` string, date-time, required
  - `extensions` string[], nullable
  - `levels` string[], nullable
  - `sdkSessions` string[], nullable

## Response `200`

OK

---

[API](https://skmtc.dev/q2developer/apis/q2-portal-web-server.md) · [All operations](https://skmtc.dev/q2developer/apis/q2-portal-web-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/q2developer/q2-portal-web-server/revisions/7225eea22612/schema)
