Update an anecdote
Updates an existing anecdote with new content, metadata, or usage statistics
Authorizations
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
Path Parameters
UUID of the anecdote to update
"123e4567-e89b-12d3-a456-426614174000"
Body
Title of the anecdote (optional when autoFill is enabled)
200"How I Learned to Lead a Team"
The full content/story of the anecdote
"Last year, I was tasked with leading a cross-functional team for the first time. Initially, I struggled with delegation and tried to micromanage every detail..."
Type of anecdote
text, voice "voice"
Transcript of the voice anecdote (for voice type anecdotes)
"So I was reflecting on my journey from junior developer to tech lead..."
Path to the audio file on disk (for voice type anecdotes)
500"/uploads/audio/anecdote-001.mp3"
Type of story/anecdote (optional when autoFill is enabled)
professional_stories, personal_stories, lesson_learned "professional_stories"
UUID of the user who created this anecdote (will be set from authentication token if not provided)
"123e4567-e89b-12d3-a456-426614174000"
Tags for categorizing and searching the anecdote (optional when autoFill is enabled)
[
"leadership",
"teamwork",
"management",
"growth"
]Content formats where this anecdote can be used. Use all to make it available everywhere.
all, linkedin_post, facebook_post, youtube_script, blog_article, short ["youtube_script", "blog_article"]Mood or tone of the anecdote
inspiring, humorous, reflective, educational 50"reflective"
Context where this anecdote took place
work, startup, client meeting, conference, personal 100"startup"
The key lesson or takeaway from this anecdote
"Effective leadership requires trust, clear communication, and empowering team members to make decisions."
How this anecdote could be positioned for LinkedIn posting
"Share this as a leadership lesson with focus on team empowerment and growth mindset."
Priority level for using this anecdote (1 = highest priority, 5 = lowest)
1 <= x <= 51
Whether this anecdote is marked as favorite
false
Whether this anecdote is time-sensitive (contains time-bound information that should only be used once)
false
Number of times this anecdote has been used in posts
x >= 03
Whether this anecdote is active and available for use
true
Response
Anecdote updated successfully
Source anecdote used by YALG content workflows.
Anecdote identifier.
"018f9f40-7d7b-7712-9b0f-2e5d9fd5df3f"
"The onboarding lesson"
"A short story that can be turned into content."
"reflective"
"lesson"
false
"2026-06-20T17:24:39.000Z"
"2026-06-20T17:24:39.000Z"