Skip to main content
GET
Search anecdotes

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.

Query Parameters

q
string
required

Search term

Example:

"leadership team"

page
number

Page number (default: 1)

Example:

1

limit
number

Number of anecdotes per page (default: 10)

Example:

10

Response

Search results retrieved successfully

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"