This endpoint executes a BRK with the provided input values. It processes the BRK, including any dependencies, and returns the result. The input values must match the schema of the BRK. You must have at least viewer permissions for the BRK to execute it.
The schemaValues object must match the schema of the BRK. You can use the Get BRK Schema endpoint to retrieve the schema.
The executionOptions object allows you to customize the execution behavior, such as the model to use and the sampling parameters.
The response includes the result of the execution, as well as metadata such as the execution time and token usage.
If the stream option is set to true, the response will be streamed as it is generated. This is useful for long-running executions.
The tokenUsage object provides information about the number of tokens used in the prompt, completion, and total. This can be useful for monitoring usage and costs.