Skip to main content
Post generation jobs turn an anecdote into a draft post through YALG’s AI workflow.

Create a job

The response includes the job ID and current status.

Run the pipeline

Some integrations create a job and then explicitly run it:

Check job status

Poll at a reasonable interval and stop when the job reaches a terminal state.

Validate generated content

Validation creates the resulting post when the job is ready.

Regenerate or reject

Use these endpoints for review workflows:
  • POST /v1/post-generation/{id}/regenerate
  • POST /v1/post-generation/{id}/reject
Both require a reason in the request body.