{"uid":"cap_CWI4YZ1jg0tl_5fmaBSoi","slug":"watch-trends-socket-session-creator-96ec937a","name":"Watch Trends Socket Session Creator","description":"watch-trends POST /socket/session","url":"https://agents.smarterway.tech/services/watch-trends/v1/socket/session","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ttl_minutes":{"type":"integer"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oqIT-lowLf-3VMUESHRN7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a new WebSocket or long-lived session for receiving real-time trend watch notifications, with a configurable time-to-live.","exampleAgentPrompt":"Set up a real-time trend-watching session for me that stays active for 60 minutes so I can start receiving live trend updates.","exampleUseCases":[{"title":"Real-time social trend alert feed","prompt":"Open a trend monitoring session that lasts 45 minutes so I can stream live updates about what's trending right now."},{"title":"Short-lived trend session for a report","prompt":"Create a 15-minute socket session to watch for trend activity while I pull together a quick trend snapshot report."},{"title":"Extended overnight trend monitoring","prompt":"Start a trend watch session with a TTL of 480 minutes so my agent can track trend changes overnight and flag anything significant."}],"resultDescription":"Returns a session object containing a session ID or token, a WebSocket or socket connection endpoint, and an expiry timestamp corresponding to the configured TTL. The agent can use these credentials to open a live socket connection and receive real-time trend event streams for the duration of the session.","failureModes":["Invalid or missing ttl_minutes value may return a 400 Bad Request","TTL exceeds maximum allowed value, resulting in a validation error","Payment failure (x402 protocol) prevents session creation","Expired or invalid authentication causes a 401 Unauthorized","Server-side socket capacity limits may return a 503 Service Unavailable"],"whenToPreferThis":"Choose this endpoint when you need to establish a persistent, real-time session for receiving trend updates over a socket connection, especially when you want to control how long the session remains active via a TTL. It complements the sibling POST /watches endpoint, which likely registers specific watch targets — this endpoint creates the underlying session infrastructure first.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:40.076Z","isFirstParty":false}