---
title: "Attach a screenshot"
method: POST
path: "/api/v0/tasks/{id}/screenshot"
tags: ["Files"]
---

# Attach a screenshot

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

## Request

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

Cloud stores as a system file. Write — Phase 3.

## Path parameters

- `id` string, required

## Request body

- ScreenshotInput
  - `screenshot` string, byte, required

## Response `200`

Attach a screenshot — success

- ScreenshotResult
  - `success` boolean, required
  - `screenshot` string

## 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)
