Documentation Index
Fetch the complete documentation index at: https://docs.codex.io/llms.txt
Use this file to discover all available pages before exploring further.
A list of prediction market metrics event webhooks to create.
See CreatePredictionMarketMetricsEventWebhookArgs
Show Properties
Show Properties
The name of the webhook (max 128 characters).
The url to which the webhook message should be sent.
A string value to hash along with
deduplicationId using SHA-256. Included in the webhook message for added security.The recurrence of the webhook. Can be
INDEFINITE or ONCE.
See AlertRecurrenceThe conditions which must be met in order for the webhook to send a message.
See PredictionMarketMetricsEventWebhookConditionInput
Show Properties
Show Properties
The market ID to listen for.
See StringEqualsConditionInput
Show Properties
Show Properties
The string to equal.
Conditions evaluated against market-level aggregate stats. ANDed with other clauses when also present.
See PredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
See WindowedPredictionMarketMetricsEventMarketConditionInput
Show Properties
Show Properties
Conditions evaluated against outcome 0’s stats. ANDed with outcome1 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 5-minute window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 4-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 12-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-day window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-week window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions evaluated against outcome 1’s stats. ANDed with outcome0 and anyOutcome when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 5-minute window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 4-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 12-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-day window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-week window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions evaluated against both outcomes; matches if at least one outcome satisfies. ANDed with outcome0 and outcome1 when also present.
See PredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 5-minute window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 4-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 12-hour window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-day window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
Conditions for the 1-week window.
See WindowedPredictionMarketMetricsEventOutcomeConditionInput
Show Properties
Show Properties
The settings for retrying failed webhook messages.
See RetrySettingsInput
Show Properties
Show Properties
The maximum time in seconds that the webhook will retry sending a message
The minimum time in seconds that the webhook will wait before retrying a failed message
The maximum time in seconds that the webhook will wait before retrying a failed message
The maximum number of times the webhook will retry sending a message
An optional bucket key for grouping and querying webhooks. Prefer this over the deprecated flat bucket fields.
See BucketKeyInput
The type of publishing for the webhook. If not set, it defaults to
SINGLE.
See PublishingTypeIf enabled, new webhooks won’t be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook.
Used By
Used as input by- createWebhooks: Create event webhooks for price, token/pair, transfer, market cap, and prediction market trades.