---
title: "A project's current files as text"
method: POST
path: "/api/v0/desk/drafts/pull"
tags: ["Desk"]
---

# A project's current files as text

`POST /api/v0/desk/drafts/pull`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/desk/drafts/pull`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/desk/drafts/pull/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- DraftPullRequest
  - `project` string, required: A project's id, or its name: the caller's own first.

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-09** `ecd5b922e78a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/desk/drafts/pull/post.md)

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) - [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outerport/apis/outerport-api/revisions/08b5bf6f7f18?raw)
