earned-media
Rewrite Earned Media Draft
Claim the project for a rewrite, then hand the model call to the worker.
The rewrite waits on one model call with nothing to stream, so the request is idle for its whole duration and the proxy closes it before the model answers. The client then sees a gateway error for work the server went on to finish. The project row carries the run the studio already polls, so the claim happens here and the call happens there.
post/api/earned-media/projects/{project_id}/drafts/{draft_id}/rewrite
Request
- Base URL: https://api.usepomo.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.usepomo.ai/api/earned-media/projects/{project_id}/drafts/{draft_id}/rewrite
- Auth: HTTP bearer
Path parameters
project_idstring required
draft_idstring required
Request body
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.