PromptApi class

Constructors

PromptApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

deletePromptByName(String name) → Future<void>
Delete removes one of the caller org's prompts and every version of it, answering 204.
deletePromptByNameWithHttpInfo(String name) → Future<Response>
Delete removes one of the caller org's prompts and every version of it, answering 204.
getPrompt() → Future<PromptList?>
List returns the caller org's prompt library as one row per prompt: its name, type, every version number it has, its taxonomy and when it last changed.
getPromptByName(String name) → Future<PromptDetail?>
Get returns one of the caller org's prompts: its CURRENT template text plus the metadata of every version it has had.
getPromptByNameWithHttpInfo(String name) → Future<Response>
Get returns one of the caller org's prompts: its CURRENT template text plus the metadata of every version it has had.
getPromptCatalog() → Future<CatalogList?>
Catalog returns the read-only starter prompt library shipped with the binary — reference content every tenant sees the same, NOT the caller's own prompts and never mixed into them.
getPromptCatalogWithHttpInfo() → Future<Response>
Catalog returns the read-only starter prompt library shipped with the binary — reference content every tenant sees the same, NOT the caller's own prompts and never mixed into them.
getPromptMetrics() → Future<MetricList?>
Metrics returns real per-prompt statistics for the caller's org: how many versions each prompt has, which one is current, and when it was created and last changed.
getPromptMetricsWithHttpInfo() → Future<Response>
Metrics returns real per-prompt statistics for the caller's org: how many versions each prompt has, which one is current, and when it was created and last changed.
getPromptWithHttpInfo() → Future<Response>
List returns the caller org's prompt library as one row per prompt: its name, type, every version number it has, its taxonomy and when it last changed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postPrompt(PromptReq promptReq) → Future<PromptDetail?>
Create records a prompt for the caller's org and answers 201 with it.
postPromptWithHttpInfo(PromptReq promptReq) → Future<Response>
Create records a prompt for the caller's org and answers 201 with it.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited