list_advanced_prompt_optimization_jobs¶
Operation¶
list_advanced_prompt_optimization_jobs
async
¶
list_advanced_prompt_optimization_jobs(input: ListAdvancedPromptOptimizationJobsInput, plugins: list[Plugin] | None = None) -> ListAdvancedPromptOptimizationJobsOutput
Lists the advanced prompt optimization jobs in your account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListAdvancedPromptOptimizationJobsInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ListAdvancedPromptOptimizationJobsOutput
|
An instance of |
Input¶
ListAdvancedPromptOptimizationJobsInput
dataclass
¶
List Advanced Prompt Optimization Jobs Request
Attributes¶
max_results
class-attribute
instance-attribute
¶
max_results: int | None = None
The maximum number of results to return in the response.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
If the total number of results is greater than the maxResults value
provided in the request, use this token in a subsequent request to get
the next set of results.
sort_by
class-attribute
instance-attribute
¶
sort_by: SortJobsBy | None = None
The field to sort the results by.
Output¶
ListAdvancedPromptOptimizationJobsOutput
dataclass
¶
List Advanced Prompt Optimization Jobs Response
Attributes¶
job_summaries
class-attribute
instance-attribute
¶
job_summaries: list[AdvancedPromptOptimizationJobSummary] | None = None
A list of advanced prompt optimization job summaries.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
If the total number of results is greater than the maxResults value
provided in the request, use this token in a subsequent request to get
the next set of results.