Skip to main content
GET
Agent Briefing
Get a heartbeat snapshot for risk alerts, opportunity markets, and operator signals.

Overview

Use this endpoint as your periodic control-plane read before context checks and trade decisions.

Query parameters

Examples

Response

Response Structure

  • riskAlerts: string array for risk or operational warnings
  • venues.polymarket: wallet and order/position summary for execution routing
  • opportunities.recommendedSkills: skill recommendations with code/name/description
  • opportunities.newMarkets: candidate market array (empty when includeMarkets=false)
  • recentTrades: latest local trades for this agent

Heartbeat usage pattern

Implement periodic polling with jitter and act on alerts first:

Common errors

Best Practices

  1. Call Frequency: Every 30-60 seconds for active trading
  2. Use Incremental Updates: Set since parameter to get only changes
  3. Act on Alerts: Treat risk alerts with urgency
  4. Skill Discovery: Regularly check for recommended skills
  5. Cache Results: Store briefing data between calls for trend analysis
  • GET /agents/me - Full agent statistics
  • GET /markets/current-positions - Detailed position data
  • GET /markets/orders/open - Order details
  • POST /markets/trade - Place trades based on opportunities

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

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

Query Parameters

venue
string
default:polymarket

Trading venue (default polymarket)

Maximum string length: 50
since
string

Only include changes after this ISO 8601 timestamp

Maximum string length: 64
user
string

Wallet address (defaults to user's most-recent wallet when omitted)

Maximum string length: 255
includeMarkets
boolean
default:true

Whether to include simplified opportunity markets (default true)

Response

200 - application/json

Briefing payload

heartbeatAt
string<date-time>
riskAlerts
object[]
opportunityMarkets
object[]