Skip to main content
PATCH
Update a generation

Authorizations

Authorization
string
header
required

Your API key, e.g. Authorization: Bearer gp_live_....

Path Parameters

id
string<uuid>
required

Brand id.

generationId
string<uuid>
required

Generation id.

Body

application/json
title
string
topic
string
slug
string
meta_title
string
meta_description
string
brief_md
string

Rewrite the brief. Merged in, so the research behind it is kept. Change this before writing the article to change what gets written.

draft_md
string

Response

Success

data
object
required

A generated article. Fields the list query does not select are OMITTED rather than returned as null, so brief_md, draft_md, slug, meta_title and meta_description appear only on a single fetch.