User Task History
GET
https://api.piapi.ai/api/open/tasks/histories
Available Params
Parameter | Description | Notes |
---|---|---|
page | Specifies the page number of history records | • Starts from page 1 • Default: 1 |
page_size | Number of records per page | • Default: 10 • Max: 100 (returns error if exceeded) |
model | Filters history by task model | • Leave empty for all models • Available models: - diffrhythm - diffrythm - flux - gpts - hailuo - hug_video - hunyuan - image_toolkit - kling - llm - luma - mj - mmaudio - music-s - music-u - sd - skyreels - trellis - tts - video_toolkit - wan |
start_time | Filters records after this timestamp | • Unix timestamp (seconds) • No limit by default |
end_time | Filters records before this timestamp | • Unix timestamp (seconds) • No limit by default |
{{base_manager_url}}/api/open/tasks/histories?page=1&model=mj&page_size=20
Following the structure above and use the params porvided as filters.
Request
Header Params
x-api-key
string
required
Request samples
Responses
Modified at 2025-04-15 06:51:10