| Name | Type | Description |
|---|---|---|
limit | int | Default: 100The maximum number of prompts to return. |
offset | int | Default: 0The number of prompts to skip. |
is_public | Optional[bool] | Default: None |
is_archived | Optional[bool] | Default: False |
sort_field | PromptSortField | Default: ls_schemas.PromptSortField.updated_at |
sort_direction | Literal['desc', 'asc'] | Default: 'desc' |
query | Optional[str] | Default: None |
List prompts with pagination.
Filter prompts by if they are public.
Filter prompts by if they are archived.
The field to sort by.
Defaults to 'updated_at'.
The order to sort by.
Filter prompts by a search query.