. . . . .. .. .: . . .. . . .:.. .. .. .. . .. .+... . .. .::..: .. ... ..............:.+. . .. . .:..::::---=. ..:---:. . .=--=-:.-::..=:-:. . .. ..... . . .-. . .:==-----+=-:. :--:.=.-..... . .-===::---:-:::::. ..::-:--:. . .:.=.::--.. . ..... ..:-=== ===.-:: .::::..:: .:.... ..:==-=+=+=-=-=::.+.:.... .:-:::.. ...+... .:.:::-=++::.. .=.. . .. ..-...:..::+====.++=-:+::.... .::::---=::.. ..:::-=+==-+X+===-:.:-+=--::=:: ..::.:. .:..:+::=:::--=+XX+---:...::.... .. ..:.+....:--.::-:---=+X++++==-:::::......::==++--:..:==--=-=--==+X==++=---+-=+==--::. .:::: :-::::--+=--=+XXXXX++=---:=-:.:....=.... .. ..::::-=-::=++==+XX.XX+X+----==.--::.:-=+X+X+===-=X+===----== XXXX++++==++++++==-:....:::.==-=--==XXX=XXXX-X:++==-++=:::--:::::....= ...:.-::-====-.-=++:+XXXXXX+==-==++=----- =XXXXXXXXXXXXX++=---:==+X.XX.+XXXXXX+X+XX++++-:.::--=X++:X =XXXXX++.XX++X++X+++--::--:-::::.:. .-..::.-=====-=-=++:+XXXXXX+==-==++=----- =XXXXXXXXXXXXX++=---:==+X.XX.+XXXXXX+X+XX++++-:.::--=X++:X =XXXXX++.XX++X++X+++--::--:-::::.:.

AI

Generate AI summaries and fetch YouTube transcripts.
View
epuraı
epuraı
K
  • Introduction
  • Quickstart
  • SDKs
  • Guides

    • Introduction
    • Quickstart
    • Authentication
    • Pagination
    • Errors
  • API Reference

    • Feeds
    • Feed Posts
    • Categories
    • AI
  • Sign in

AI API

Repurai can generate a short summary for any feed post, and fetch the full transcript from a YouTube video post.


POST/api/v1/ai/summarize/:postId

Summarize a post

Generates a short summary of a feed post and saves it to the post. Future calls to Get post details will include the summary field.

The post must have content posts with no text body will return a 422 error.

Request

POST/api/v1/ai/summarize/:postId
curl -X POST https://repurai.com/api/v1/ai/summarize/[postId] \
  -H "Authorization: Bearer [API_Key]"

Response

success

{
  "success": true,
  "data": {
    "summary": "Anthropic has introduced two new features for Claude Managed Agents designed to give users greater control over their security and privacy. These enhancements aim to improve safety for those utilizing the platform's automated agent capabilities.",
    "postId": "a21cb00b-cdea..."
  }
}

GET/api/v1/ai/summarize/:postId

Get saved summary

Returns the summary that was previously saved for a post. If no summary has been generated yet, summary is null.

Request

GET/api/v1/ai/summarize/:postId
curl https://repurai.com/api/v1/ai/summarize/[postId] \
  -H "Authorization: Bearer [API_Key]"

Response

success

{
  "success": true,
  "data": {
    "summary": "Anthropic has introduced two new features for Claude Managed Agents designed to give users greater control over their security and privacy. These enhancements aim to improve safety for those utilizing the platform's automated agent capabilities.",
    "saved": true
  }
}

POST/api/v1/ai/transcript/:postId

Fetch transcript

Fetches and saves the transcript for a YouTube video post. Repurai automatically detects the video URL from the post — no extra input is needed.

If a transcript has already been saved for this post, it is returned straight away without fetching again.

Returns a 422 error if the post is not a YouTube video.

Request

POST/api/v1/ai/transcript/:postId
curl -X POST https://repurai.com/api/v1/ai/transcript/[postId] \
  -H "Authorization: Bearer [API_Key]"

Response

success

{
  "success": true,
  "data": {
    "transcript": "[music]\n>> Good to go? Can people hear me okay?\nAwesome. Cool. Thank you.\nI'm slightly embarrassed by the\ngrandiose title. [truncated for brevity] ...",
    "postId": "f3c97a43-22c9..."
  },
  "saved": true
}

GET/api/v1/ai/transcript/:postId

Get saved transcript

Returns the transcript that was previously saved for a post. If no transcript has been fetched yet, transcript is null.

Request

GET/api/v1/ai/transcript/:postId
curl https://repurai.com/api/v1/ai/transcript/[postId] \
  -H "Authorization: Bearer [API_Key]"

Response

success

{
  "success": true,
  "data": {
    "transcript": "[music]\n>> Good to go? Can people hear me okay?\nAwesome. Cool. Thank you.\nI'm slightly embarrassed by the\ngrandiose title. [truncated for brevity] ...",
    "saved": true
  }
}
PreviousCategories

© Copyright 2026. All rights reserved.