Skip to main content
POST
Create playtable run

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 create_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 targets: people | company.

Available options:
people,
company
type
enum<string>
required

enrich (PAID - estimate first, set max_budget) | export | import | bulk. Branches which fields below are required.

Available options:
enrich,
export,
import,
bulk
field_sids
string[]

REQUIRED for type=enrich, forbidden otherwise (422): 1..20 action columns (a widget, a plain column or a formula column is 422; a formula column fills through backfill_playtable_field instead).

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

REQUIRED for enrich | export | bulk, forbidden for import (422). Exactly one form: object_sids XOR view_sid/filter.

params
object

Type-specific params, snapshotted into params_snapshot: enrich {force_rerun?, cells?}; export {format:"csv"} or {write_tool_sid}; import {data_source_sid}; bulk {operation, …op payload}.

max_budget
number | null

Decimal credits - enrich only: hard per-run spend cap; the budget guard cancels the run when exhausted (reason=budget_exhausted). Omit/null = uncapped. Base it on the estimate cost range.

Response

create success envelope.

success
enum<boolean>
required
Available options:
true
operation
enum<string>
required
Available options:
create
item
object
required
already_exists
boolean
required
meta
object
required