Publish

POST /api/v1/works

Headers: X-API-Key: h3k_...

Body:

{
  "task_id": "uuid",
  "title": "My Work",
  "tags": ["animals", "nature"]
}

The task must be completed first. One task can only be published once; a second attempt returns 409.

Moderation States

Community works go through AI moderation:

State Meaning
pending AI review in progress, or manual review
published Publicly visible
rejected Kept in your library but not public; admins can see the reject reason

Admin and operator roles can publish without moderation. For normal users, if a work stays pending for a long time, it probably went to manual review.