run_prompt_completion
Execute prompt templates with variables to generate model completions, requiring billing metadata for cost attribution.
Instructions
Execute a prompt template with variables and get the model completion response. REQUIRES billing metadata (client_id, app, env).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt_id | Yes | Prompt ID or slug to execute | |
| variables | Yes | Variable values to substitute into the template | |
| metadata | Yes | Billing metadata - client_id, app, env are REQUIRED for cost attribution | |
| hyperparameters | No | Override default hyperparameters |