Detail
GET
/api/v1/detail/{source}/{item_id}
agent-data call d7ac1bae-c5c2-496b-bcfc-2c984b83ff5b get-detail --source <source> --item_id <item_id> [--subreddit <subreddit>] [--comment_page_token <comment_page_token>] [--comment_max_page_size <comment_max_page_size>]curl "https://xeef9bctfb.execute-api.us-east-2.amazonaws.com/api/v1/detail/{source}/{item_id}" -H "Authorization: Bearer <YOUR_API_KEY>"Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” source
required
Source
The platform that owns the requested item.
string
The platform that owns the requested item.
item_id
required
Item Id
Source-native item identifier from a feed item’s item_id field.
string
Source-native item identifier from a feed item’s item_id field.
Query Parameters
Section titled “Query Parameters ” subreddit
comment_page_token
comment_max_page_size
Comment Max Page Size
Top-level comments per page, 1 to 100. Default 100.
integer
Top-level comments per page, 1 to 100. Default 100.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
DetailResponse
object
id
required
Id
string
source
required
Source
string
thread
required
Thread
Array<object>
ThreadCommentobject
id
required
Id
string
source
required
Source
string
item_id
required
Item Id
string
comments
Array<object> recursive
permalink
required
Permalink
string
created_at
required
Created At
string format: date-time
number_of_comments
Number Of Comments
integer
item_id
required
Item Id
string
permalink
required
Permalink
string
created_at
required
Created At
string format: date-time
engagement
required
Engagement
object
quote_count
Quote Count
integer
comment_count
Comment Count
integer
retweet_count
Retweet Count
integer
bookmark_count
Bookmark Count
integer
poll_option_count
Poll Option Count
integer
author_context
Any of:
AuthorContext
object
id
required
Id
string
submitted_count
Submitted Count
integer
null
comment_pagination
Any of:
CommentPagination
null
linked_content_preview
Any of:
LinkedContentPreview
object
url
required
Url
string
domain
required
Domain
string
warnings
Warnings
Array<string>
word_count
Word Count
integer
chunk_count
Chunk Count
integer
content_kind
required
Content Kind
string
fetch_status
required
Fetch Status
string
linked_content_resource
required
Linked Content Resource
string
null
Example
{ "source": "x", "thread": [ { "source": "x", "number_of_comments": 0 } ], "engagement": { "quote_count": 0, "comment_count": 0, "retweet_count": 0, "bookmark_count": 0, "poll_option_count": 0 }, "author_context": { "submitted_count": 0 }, "comment_pagination": { "has_more": false }, "linked_content_preview": { "word_count": 0, "chunk_count": 0, "content_kind": "article", "fetch_status": "ok" }}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
Example generated
{ "detail": [ { "ctx": {}, "loc": [ "example" ], "msg": "example", "type": "example", "input": "example" } ]}