Prepare a rule that researches rows when they first become ready or when their inputs change, with a per-run and a total spending limit. Nothing runs until it's approved.

post/v1/investigations/rules

Request

  • Base URL: https://api.specstream.ai
  • URL: https://api.specstream.ai/v1/investigations/rules
  • Auth: API key in header Authorization

Request body

request_idstring required
namestring required
collection_idstring required
function_idstring required
bindingsobject required
trigger'first_ready' | 'input_changed'
include_existingboolean
reuse_completedboolean
batch_sizeinteger
per_batch_centsinteger required
total_centsinteger required
valid_untilstring date-time required

Response

Prepare a rule that researches rows when they first become ready or when their inputs change, with a per-run and a total spending limit. Nothing runs until it's approved.

Changes

No recorded changes to this operation across all 1 revision of this API.