PromptPlaygroundsClient
adaline.prompts.playgrounds reads the playgrounds attached to a prompt — the saved test scenarios with their own messages, variables, and run history.
Access
@adaline/api:
list()
List all playgrounds attached to a prompt.Parameters
Returns
Promise<ListPlaygroundsResponse> with { data: Playground[] }.
Example
get()
Retrieve a single playground by ID.Parameters
Returns
Promise<PlaygroundDetail> — the full playground with its messages, variables, and recent runs.
Example
See Also
- PromptsClient — parent client
- API reference: List playgrounds · Get playground