Content

Get the latest draft

The most recent finished draft for an opportunity.
GEThttps://api.vidrys.com/v1/projects/{project_id}/content-assets/{asset_id}/draft
Plan
Grow and above
Key
read
Rate cost
1 unit
MCP tool
get_draft

Returns not_found until a draft has been generated — start one with Generate a draft.

Authorization

Sent as a header on every request.

Authorizationstringrequired

A Vidrys API key, sent as Bearer vidrys_sk_…. A read key is enough. See Authentication.

Path parameters

project_idstringrequired

The project's id, from List projects.

asset_idstringrequired

The opportunity's id, from List content opportunities.

Response · 200

application/json

asset_idstring

The opportunity.

versioninteger

Which generation produced it.

contentstring

The draft itself.

Errors

404 not_foundThe project or item doesn't exist in this workspace. A project from another workspace also returns 404, never 403.
401 unauthorizedNo key was sent, or the key is unknown, revoked or expired, or the member who created it has left the workspace or been deactivated.
402 plan_requiredThe workspace's plan doesn't include API access. It's included on Grow, Scale and Custom.
403 workspace_not_approvedThe workspace is still waiting for approval, or wasn't approved.
429 rate_limitedToo many requests this minute. Wait for the number of seconds in the `Retry-After` header, then retry.

Every code, and what to retry, is in Errors.