跳转到主要内容
POST
检查达人受众真实性

异步提交与结果查询

  1. 发送 POST /v1/tasks/creators.check_audience_authenticity,并提供唯一的 Idempotency-Key。重发同一笔请求时复用原键和请求体。返回 HTTP 202 表示已受理,请保存任务 id 和 Location 中的相对地址。
  2. 按 Retry-After 返回的秒数等待,再用同一个 API key 请求 GET /v1/tasks/creators.check_audience_authenticity/jobs/{job_id},将 {job_id} 替换为返回的 id。也可以将 Location 直接拼到 API 域名后查询。status 为 queued、running 或 settling 时继续轮询。
  3. status 为 completed、failed 或 cancelled 时停止。completed 时读取 output,其中 output.status 为 not_found 表示正常查空。failed 时查看 error.code、error.retryable 和 error.retry_hint。
上方请求和响应面板使用此 API 发布的 Schema。条件必填和参数组合限制属于请求契约;组合筛选条件或账号身份前,请查看完整 Schema。

计费

成功交付才收费;正常查空不收费。 发送相同请求并带上 X-AISA-Cost-Mode: quote,获取与输入对应的报价;报价不执行任务,也不预扣资金。实际执行时预扣预计请求费用,按上述规则结算。用 X-AISA-Max-Price-USD 设置价格上限。 执行任务时使用 Idempotency-Key。错误时查看 error.code、error.request_id、error.retryable 和 error.retry_hint。提示先核对结算时,应先查询原请求再决定是否重试;不能把待结算当作已退款。

授权

Authorization
string
header
必填

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

请求头

Idempotency-Key
string
必填

请求体

application/json
input
object
必填

响应

任务已受理

completedAt
string<date-time> | null
必填
createdAt
string<date-time>
必填
customerDeadlineAt
string<date-time>
必填
endpoint
any
必填
error
object | null
必填
id
string
必填
object
any
必填
output
object | null
必填
pricing
object
必填
status
enum<string>
必填
可用选项:
queued,
running,
settling,
completed,
failed,
cancelled
outputExpired
boolean