GET
Error

Authorizations

Authorization
string
header
required

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

Path Parameters

accountId
string
required
Minimum string length: 1

Query Parameters

marketId
string

Optional market filter.

Minimum string length: 1
status
enum<string>

Optional episode status filter.

Available options:
open,
closed,
liquidated
limit
integer
default:50

Page size, from 1 to 100. Defaults to 50.

Required range: x <= 100
cursor
string

Base64url JSON cursor with openedAtEpochMs and positionId.

Minimum string length: 1

Response

Success

version
string
required
Allowed value: "external-position-history/v1"
accountId
string
required
Minimum string length: 1
episodes
object[]
required
nextCursor
string | null
required
Minimum string length: 1
freshness
object
required
marketId
string
Minimum string length: 1
status
enum<string>
Available options:
open,
closed,
liquidated