Search my library
search_libraryRead-onlyIdempotent
Search the Library of past generations kept by this account, newest first: filter by words in the prompt or title and by kind (3d, image, …). Returns the job id, model, status and result file URLs of each run. Use next_cursor to page. Only runs of this account are ever searched. For the full detail of one run call get_job.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, 1 to 50. | |
| query | No | Words to look for in the prompt or title. | |
| cursor | No | The next_cursor of the previous result. | |
| media_type | No | Only runs of this kind, e.g. '3d' or 'image'. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| total | Yes | How many runs match in all. | |
| next_cursor | Yes | Pass as cursor for the next page; null at the end. |