---
title: "POST /api/hyperion/courses/{courseId}/problem-statements/refine/global"
method: POST
path: "/api/hyperion/courses/{courseId}/problem-statements/refine/global"
tags: ["hyperion-problem-statement"]
---

# POST /api/hyperion/courses/{courseId}/problem-statements/refine/global

`POST /api/hyperion/courses/{courseId}/problem-statements/refine/global`

## Path parameters

- `courseId` integer, required

## Request body

- ProblemStatementGlobalRefinementRequest — Request to refine a problem statement globally using a user prompt
  - `problemStatementText` string, required — Original problem statement text to be refined (max 50,000 chars)
  - `userPrompt` string, required — User prompt for global refinement

## Response `200`

OK

- ProblemStatementRefinementResponse — Response containing refined problem statement
  - `refinedProblemStatement` string — Refined problem statement text

## Changes

- **2026-02-23** `0447cb75bafb` — 1 info
  - endpoint added
- **2025-06-29** `afd4091eb170` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ls1intum/apis/artemis-application-server-api/changes/api/hyperion/courses/:courseId/problem-statements/refine/global/post.md)

---

[API](https://skmtc.dev/ls1intum/apis/artemis-application-server-api.md) · [All operations](https://skmtc.dev/ls1intum/apis/artemis-application-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ls1intum/artemis-application-server-api/revisions/cecac5f6c8e5/schema)
