Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt

Use this file to discover all available pages before exploring further.

What it does

Returns a public X post including text, author, engagement counts, and media attachments.

Tool details

FieldValue
Tool namex_get_post
PlatformX
REST endpointGET /v1/x/posts/{postId}
Result typeDetail tool

Parameters

ParameterTypeRequiredDescription
postIdstringYesX post ID
projection_presetstringNoDefaults to minimal. Allowed values: full, minimal, identity, engagement, content.
data_fieldsstring[]NoAdds top-level keys from data on top of the selected projection_preset.

Example

{
  "name": "x_get_post",
  "arguments": {
    "postId": "DM8Q1ABC123",
    "projection_preset": "minimal",
    "data_fields": [
      "entityId",
      "published",
      "content",
      "url"
    ]
  }
}

Available data fields

  • @context
  • type
  • id
  • url
  • entityId
  • content
  • published
  • likeCount
  • replyCount
  • viewCount
  • repostCount
  • quoteCount
  • saveCount
  • contentFormat
  • isEdited
  • attributedTo
  • inReplyTo
  • quote
  • image
  • attachment
  • tag

Response notes

Successful calls return a JSON object with a top-level data field and, when available, metadata.creditsUsed and metadata.creditsRemaining. See response format, pagination, and credits.