--- title: "Retrieve optimization status" slug: "datenaustausch-connect-api-bsp-id-status-lesen" updated: 2026-12-02T10:11:23Z published: 2026-12-02T10:11:23Z canonical: "docs.homag.cloud/datenaustausch-connect-api-bsp-id-status-lesen" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.homag.cloud/llms.txt > Use this file to discover all available pages before exploring further. # Retrieve optimization status **Purpose:** Check whether an intelliDivide optimization is still running, has finished, or has solutions available. **Prerequisites:** intelliDivide with the Connect interface, [IntelliDivideClient configured](/docs/de/datenaustausch-connect-api-bsp-intellidivide), and the `optimizationId` of a created optimization. ## Code **C#** ```csharp var optimizationId = Guid.Parse("a1b2c3d4-e5f6-7890-abcd-ef1234567890"); var status = await client.GetOptimizationStatus(optimizationId); Console.WriteLine(status); ``` **REST** ```http GET https://connect.homag.cloud/api/intelliDivide/optimizations/a1b2c3d4-e5f6-7890-abcd-ef1234567890/state Authorization: Basic Accept: application/json ``` `200 OK`: ```json "Optimized" ``` This call reads the status once. For `Queued` or `Started`, you can check again at longer intervals, with a fixed time limit. For `Optimized`, you can [list the solutions](/docs/en/datenaustausch-connect-api-bsp-id-loesungen-lesen). For `Faulted` or `Canceled`, stop polling. ## Contracts used | Contract | Usage | | --- | --- | | [`OptimizationStatus`](/docs/en/datenaustausch-connect-api-ct-intellidivide-optimizationstatus) | Output: status as a JSON string, as an enum in the SDK. | ## Common errors | REST status | What to check | | --- | --- | | `400 Bad Request` | `optimizationId` must be a valid UUID. | | `401 Unauthorized` | Check the SubscriptionId, authorization key, and app access. | **Next:** [Start and monitor an optimization](/docs/en/datenaustausch-connect-api-uc-zuschnitt-anstossen) · [View and test endpoint](https://connect.homag.cloud/intellidivide/#v1/tag/a1-managing-optimization-jobs/GET/api/intelliDivide/optimizations/{optimizationId}/state)