---
title: "Export the structured agent prompt"
method: POST
path: "/api/v0/tasks/{id}/prompt"
tags: ["Agent"]
---

# Export the structured agent prompt

`POST /api/v0/tasks/{id}/prompt`

## Request

- Base URL: `https://app.vibeflow.tools`
- URL: `https://app.vibeflow.tools/api/v0/tasks/{id}/prompt`
- Auth: HTTP bearer

MCP export_prompt REMOVED (ticket 53b622fc, BREAKING) — no MCP tool and no local handler remain. Endpoint unbuilt; runner marks NOT-RUNNABLE locally. Future v0 work must define its own shape.

## Path parameters

- `id` string, required

## Request body

- PromptExportInput
  - `scope` 'task' | 'board'

## Response `200`

Export the structured agent prompt — success

- PromptExport
  - `prompt` string, required

## Other responses

- `400`: Malformed request (includes invalid task/comment id form)
- `401`: Missing or invalid principal
- `403`: Lacking scope or membership
- `404`: Unknown id
- `429`: Rate limited — cloud per-token quota exceeded (reads 300/min, writes 60/min, token creation 10/hour); counters are per-replica, so the effective limit is the configured value × replicas. The response carries Retry-After.

---

[API](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0.md) · [All operations](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0/llms.txt) · [OpenAPI document](https://skmtc.dev/vibeflow/apis/vibeflow-api-v0/revisions/efd4ba944b0b?raw)
