---
title: "Get Prompt Template"
method: GET
path: "/api/agent-scheduled-tasks/{task_id}/prompt-template"
tags: ["agent-scheduled-tasks"]
---

# Get Prompt Template

`GET /api/agent-scheduled-tasks/{task_id}/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.

## Path parameters

- `task_id` string, required

## Query parameters

- `user_id` string
- `org_id` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/versions/f8600f7a4ae3/schema)
