Skip to main content
POST
Estimate playtable field AI 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_field_ai_cost.

playtable_sid
string
required

Owner playtable sid (pt_tb_…).

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

The grid the column sits on: people or company.

Available options:
people,
company
payload
object
required

The drawer's live draft (prompt, model, output, options, web_search), validated exactly like create_playtable_field's. The prompt is rendered on the rows, so a {{record.}} that pulls a whole enrichment cell is priced at its size.

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