Skip to main content
GET
Get post samples

Request contract

  • Method and path: GET /apis/v1/social/analytics/samples
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/analytics/samples
  • postId: query; required
  • fromDate: query; optional
  • toDate: query; optional
  • limit: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

postId
string
required

The post to read samples for. Accepts an external post id, a platform post id or a AIsa post id.

fromDate
string<date-time>

Earliest sample to return (ISO 8601).

toDate
string<date-time>

Latest sample to return (ISO 8601).

limit
integer
default:500

Maximum number of samples.

Required range: 1 <= x <= 2000

Response

Samples for the post

postId
string
required

The postId that was requested

samples
object[]
required