GET /v1/articles/{articleId}

Get an article — Shorty API

Returns one article the authenticated account owns, including its generated summary parts and extracted body text. A non-existent or foreign id returns 404.

Open in ClaudeOpen in ChatGPT
GET /v1/articles/{articleId}

Returns one article the authenticated account owns, including its generated summary parts and extracted body text. A non-existent or foreign id returns 404.

Authentication

Requires a Bearer credential — a shk_live_ API key or an OAuth 2.1 access token with the scope for this resource. See Authentication.

Parameters

NameInRequiredDescription
articleIdpathYes

Example request

curl -X GET https://aishorty.com/v1/v1/articles/{articleId} \
  -H "Authorization: Bearer shk_live_your_key"

Response · 200

FieldTypeRequiredDescription
idstringYesStable article id (use it on GET /v1/articles/{id}).
titlestring or nullYesArticle title, or null if not yet summarized.
descriptionstring or nullYesShort description/summary lead, or null.
article_typestringYesSource kind: YOUTUBE_ARTICLE, WEBPAGE_ARTICLE, PDF_ARTICLE, WORD_ARTICLE, TEXT_ARTICLE, or AUDIO_ARTICLE.
source_urlstring or nullYesThe original source URL, or null (e.g. text/file input).
created_atstringYesISO-8601 UTC timestamp the article was created.
summaryobject or nullYesThe generated summary, or null if not yet produced.
body_textstring or nullYesThe extracted source text / transcript backing the summary, or null.

Errors

On failure this endpoint returns an RFC 9457 problem body. Possible statuses:

  • 400
  • 401
  • 403
  • 404
  • 429
  • 500

Switch on the problem code, not the status. See the error reference for every code and how to fix it.