Skip to main content
GET
Get a market

Authorizations

X-Ambient-Actor
string
header
required

Provisioned actor identifier.

X-Ambient-Timestamp
string
header
required

Current Unix timestamp in seconds, within the configured clock-skew window.

Authorization
string
header
required

Ambient-HMAC followed by a space and the unpadded base64url HMAC-SHA256 signature. See Authentication and authority for the canonical input.

Path Parameters

marketId
string
required

Client-selected market identifier.

Minimum string length: 1

Response

Current market snapshot.

id
string
required
Minimum string length: 1
version
integer<uint64>
required

Monotonically increasing version used for optimistic concurrency.

Required range: x >= 1
state
enum<string>
required
Available options:
draft,
open,
closed
creator
object
required
subject
object
required
mechanism
object
required

Supported versioned allocation mechanism and its immutable configuration.

mechanismState
object
required

Public state owned by the selected mechanism.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required