Skip to main content
POST
Estimate playtable run cost

Authorizations

Authorization
string
header
required

Access token issued by gs.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.

Team-SID
string
header
required

Team scope for tokens that do not carry one. Ignored when the token already names a team.

Body

application/json

Request body of estimate_playtable_run.

playtable_sid
string
required

Parent playtable sid (pt_tb_…).

Required string length: 18
Pattern: ^pt_tb_
object_type
enum<string>
required

Which tab the run would target: people | company.

Available options:
people,
company
field_sids
string[]
required

The fields that would run (pt_fd_…, 1..20; action columns only).

Required array length: 1 - 20 elements
Required string length: 18
Pattern: ^pt_fd_
scope
object
required

Same XOR rule as create: object_sids XOR view_sid/filter.

type
enum<string>

The type of the run this prices: enrich, the one paid type, the same word create_playtable_run takes (export, import and bulk have nothing to estimate). Optional; any other word is a 422 here, before the create.

Available options:
enrich
force_rerun
boolean

Default false - count done cells as re-runnable (they would be re-charged).

cells
enum<string>

Price only the cells that have not run (not_run) or only the error cells (error); the same selection as params.cells on create.

Available options:
not_run,
error

Response

action success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
action
action
string
required

kebab-case verb; matches the route segment.

item
any
required
result
object
required
meta
object
required