PromptDraftClient
adaline.prompts.draft reads the current working draft of a prompt — the unsaved version shown in the editor before a save is applied. Every method is async.
Access
adaline_api:
get()
Get the current draft for a prompt.Parameters
| Name | Type | Required | Description |
|---|---|---|---|
prompt_id | str | Yes | Prompt identifier. |
Returns
PromptDraft with config, messages, tools, and variables mirroring the PromptSnapshot shape.
Example
See Also
- PromptsClient — parent client
- PromptSnapshot
- API reference: Get prompt draft