---
title: "Test long-running process handling"
method: GET
path: "/api/longprocess"
tags: ["System"]
---

# Test long-running process handling

`GET /api/longprocess`

## Request

- Base URL: `https://api.kolect.com`
- URL: `https://api.kolect.com/api/longprocess`
- Auth: HTTP bearer

Simulates a long-running process with configurable duration for testing timeouts

## Query parameters

- `duration` integer

## Response `200`

Process completed successfully

- object
  - `status` string
  - `message` string
  - `details` object
    - `requestedDuration` integer
    - `actualProcessingTime` number
    - `startTime` string, date-time
    - `endTime` string, date-time

---

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