Skip to main content
Decision API Search Command app icon

Decision API Search Command

Provides streaming search commands (decide, choose, grade) that use the OpenAI Decisions API to classify and score events against natural language prompts.Built by Brett Adams
splunk product badge

Default Version 1.2.0

October 14, 2026

Compatibility

Splunk Enterprise, Splunk Cloud

Platform Version: 10.7, 10.6, 10.5, 10.4, 10.3, 10.2, 10.1, 10.0

Rating
0
(0)

Log in to rate this app

Support
Developer Supported

The OpenAI Decisions Add-on extends Splunk search capabilities by providing three streaming commands that leverage the OpenAI Decisions API to evaluate events against natural language prompts. The add-on enables analysts to classify, score, and route events using conversational queries rather than complex search logic. The decide command evaluates yes/no questions and assigns a probability score to each event. The choose command selects from multiple labeled options and returns both the chosen option and the probability distribution across all choices. The grade command rates events against ordered severity or priority levels and provides probabilities for each level. All commands operate as streaming processors that enrich events with decision metadata, allowing downstream filtering, alerting, or routing based on AI-assisted classification. The add-on requires an OpenAI API key and outbound HTTPS connectivity to the OpenAI Decisions API endpoint.