Misc

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

Changed on
get/generation-history/{type}

Request

  • Base URL
    https://api.ludo.ai/api
  • Auth
    API key in header Authorization

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

tagsstring[]

Labels picked deliberately (as opposed to typed). Each must match the item's tags EXACTLY, and they AND with each other and with search. Unlike search, this never matches prompts or other text, so picking a label narrows the list to the items actually carrying it. Values are normalized the same way stored tags are, so either "two-handed" or "Two Handed" works.

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.

source'web' | 'api' | 'all'

Which surface the items were generated from: web (default, studio generations only), api (public API/MCP generations only - these expire 7 days after creation unless kept), or all.

renderedFromstring

Spritesheets and generated images only: the history id of a 3D model (three_d_asset), to list only the sheets or stills rendered from it (3D to sprite). Combines with the other filters as AND, before pagination. Ignored for other types.

idstring

One item by its history id (at most one result). Lets the client re-read an item it already holds, e.g. a sprite whose sheet urls were served watermarked before the viewer subscribed. Combines with the other filters as AND.

Response

Success

number_pagesinteger

Changes