Skip to main content
POST
Generate post from anecdote using agentic pipeline and run immediately

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Path Parameters

id
string
required

UUID of the anecdote

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Post generation job completed

Source anecdote used by YALG content workflows.

id
string<uuid>

Anecdote identifier.

Example:

"018f9f40-7d7b-7712-9b0f-2e5d9fd5df3f"

title
string
Example:

"The onboarding lesson"

content
string
Example:

"A short story that can be turned into content."

mood
string
Example:

"reflective"

storyType
string
Example:

"lesson"

tags
string[]
isFavorite
boolean
Example:

false

createdAt
string<date-time>
Example:

"2026-06-20T17:24:39.000Z"

updatedAt
string<date-time>
Example:

"2026-06-20T17:24:39.000Z"