Run Prompt
aidelly_run_promptRun a saved prompt template by id with its template variables in input_values. Generates an AI result, spends the applicable AI credits, and saves the prompt run. Template ids come from aidelly_list_prompts. Returns the generated result. Retry-safe: a repeat call with the same idempotency_key returns the original result.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | No | Optional body override for endpoints with sparse parameter schemas. | |
| query | No | Optional query overrides for endpoints with sparse parameter schemas. | |
| brand_id | No | ||
| input_values | Yes | Key-value pairs for prompt template variables | |
| workspace_id | No | Workspace to operate in: the `id` of a workspace returned by aidelly_list_workspaces. Optional for read operations; required when creating content. | |
| idempotency_key | Yes |