Tests
Create a Test Expectation
Create a new workflow test expectation for a specific workflow.
POST
Create a Test Expectation
Documentation Index
Fetch the complete documentation index at: https://docs.withcortex.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The ID of the app
The ID of the workflow
Body
Response
200 - application/json
Detailed information about an expectation within a workflow
Unique identifier for the expectation
Name of the expectation (max 256 characters)
Required string length:
1 - 256JavaScript code that results in a boolean value determining if the expectation passed or failed
Maximum string length:
10240Creation date of the expectation
Last update date of the expectation
Create a Test Expectation