Skip to main content
PATCH
Update Generic Asset

Authorizations

X-River-Key-Id
string
header
required

UUID of your API key (from Settings → API Keys).

X-River-Timestamp
string
header
required

Current unix milliseconds (unix seconds also accepted). Must be within 30s of server time.

X-River-Signature
string
header
required

Base64 Ed25519 signature over the canonical request: METHOD\nPATH\nSORTED_QUERY\nTIMESTAMP\nSHA256(body) hex. See /api-reference/authentication for the full recipe.

X-River-Org-Id
string
header
required

Your organization id (from GET /v1/rate-limit). Signed requests are rate limited per organization on this header; a missing or wrong value is refused with 403.

Path Parameters

generic_asset_id
string<uuid>
required

Body

application/json

Request schema for updating a user-owned generic asset.

name
string | null
Maximum string length: 255
description
string | null

Response

Successful Response

A tradeable generic asset (platform-curated or user-owned) with its member river_ids.

generic_asset_id
string
required
name
string
required
river_ids
integer[]
required
inserted_at
string
required

Creation timestamp (UTC)

asset_type
string | null

moneyline | spread | threshold

period
string | null

NULL = full game; h1, q1, f5_innings, inning_1, ...

metric
string | null

runs | points for thresholds

entity_id
string | null

The entity the YES is about: the first participant for a two-outcome moneyline or a spread, the leg's own side where a tie is listed as its own contract, the team for team totals

side
string | null

over for thresholds

strike
number | null

First participant's line for spreads, over line for totals

description
string | null
category
string | null
subcategory
string | null
resolves_at
string | null
start_datetime
string | null

Underlying event start (e.g. first pitch), for calendar views

owner_subaccount_id
string | null
status
string | null
match_type
string | null

'manual' | 'owner' | 'auto_*' — auto-matched assets group by game in the UI

event
GenericEventResponse · object | null

The generic event (normalization.events) an auto-matched asset settles on.

member_count
integer
default:0
exchanges
string[]

Exchanges the members trade on

volume
number | null

Summed member volume

volume_24h
number | null
members
MarketSearchResult · object[]

Member markets with flip; populated on event-paginated requests