Skip to main content
POST
Upsert runtime snapshot

Authorizations

Authorization
string
header
default:PHONEFARM_API_KEY
required

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

Body

application/json
account_id
string
required
Minimum string length: 1
ugc_account_id
string
required
Minimum string length: 1
snapshot_id
string
required
Minimum string length: 1
strategy_version
integer
required
Required range: x >= 1
content_hash
string
required
Minimum string length: 1
strategy_synced_at
string<date-time>
required
personality
object
required
stage
string | null
active_action
string | null
active_skills
string[]

Response

Snapshot upserted or ignored as stale.

status
enum<string>
required
Available options:
upserted,
ignored_stale
account_id
string
required
snapshot_id
string
required
strategy_version
integer
required
strategy_synced_at
string<date-time>