latestSwagger 2.02026-08-19218237253.7 KB

3af866d68651

Misc

Get user's generation history by type (Roles: user)

get/generation-history/{type}

Path parameters

typestring required

Type of generation history to retrieve

Query parameters

pageSizenumber

Number of items per page (default: 20, max: 100)

pageNumbernumber

Page number (1-based, default: 1)

searchstring

Free-text search; whitespace-separated terms are AND-ed over tags, prompts, user inputs (hints), art style, perspective, and label

outputsOnlyboolean

When true, return only items that have a finished generated output for this type (drops image-only/intermediate items). Applied before pagination so number_pages reflects the filtered count. Combines with search as AND. No-op for types without outputs (audio, generated_image).

dateFromnumber

Inclusive lower bound (unix seconds) on the item's creation date. Combines with search/outputsOnly as AND; applied before pagination so number_pages reflects the filtered count.

dateTonumber

Inclusive upper bound (unix seconds) on the item's creation date. Callers pass end-of-day to keep a single-day range inclusive.

Response

Success

number_pagesinteger