v4

latestOpenAPI 3.1.02026-08-03427198448.4 KB
agent-scheduled-tasks

Get Prompt Template

Get the prompt template for a scheduled task.

For built-in tasks such as daily_brief, returns the system prompt template with the task's config values interpolated.

For custom_prompt tasks, returns the user's custom prompt.

get/api/agent-scheduled-tasks/{task_id}/prompt-template

Path parameters

task_idstring required

Query parameters

user_idstring
org_idstring

Response

Successful Response

{"stackTrail":"paths:/api/agent-scheduled-tasks/{task_id}/prompt-template:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}