---
title: "POST /reports/create/{workspaceId}"
method: POST
path: "/reports/create/{workspaceId}"
tags: ["reports"]
---

# POST /reports/create/{workspaceId}

`POST /reports/create/{workspaceId}`

## Request

- Base URL: `https://api.asters.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.asters.ai/reports/create/{workspaceId}`
- Auth: HTTP bearer

## Path parameters

- `workspaceId` string, required

## Request body

- CreateReportDTO
  - `info` object, required
    - `createdAt` string, date-time
    - `reportName` string
    - `reportLogo` string
    - `createdBy` object
    - `workspace` string
  - `data` string[], required
  - `reportId` string
  - `since` string, date-time
  - `until` string, date-time
  - `comparativeRange` object, required
    - `from` string
    - `to` string

## Response `201`

Report created successfully

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: User or workspace not found

---

[API](https://skmtc.dev/asters/apis/asters-api.md) · [All operations](https://skmtc.dev/asters/apis/asters-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asters/apis/asters-api/revisions/119ec56a03a9?raw)
