playtable_views

Create playtable view

Create a saved view (segment / audience) on one tab of one playtable. object_type is fixed forever; columns/sort/filter are optional - an empty view renders the base-attribute catalog. Every field reference in columns, sort or filter leaves must belong to the same playtable + object_type (422). Duplicate (playtable, object_type, name) returns the existing row with already_exists=true. NOT for default views (born with the playtable) or new field definitions (playtable-fields).

Contract:

  • MCP tool create_playtable_view, registry package mcp.playtables/playtable_views, mount playtables.tables.
  • Operation create, response envelope create.
  • Flags: none.
post/api/playtable-views

Request

  • Base URL
    https://beta.getsales.io/playtables/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

playtable_sidstring required

Owner playtable sid (pt_tb_…).

object_type'people' | 'company' required

people | company - which tab of the table; immutable after create.

namestring required

View name; dedup key with (playtable_sid, object_type).

Response

create success envelope.

successtrue required
operation'create' required
already_existsboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.