Promote execution to example
POST /pipeline-executions/{executionId}/promote-to-example
Create an example from a successful pipeline execution. Either creates a new example set or adds to an existing one.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier of the execution to retrieve
Unique identifier of the execution to retrieve
Request Body
Section titled “Request Body ”object
Create a new example set with the pipeline’s schema
object
Name for the new example set
Description for the new example set
ID of an existing example set to add the example to
Optional name for the example (defaults to execution timestamp)
Explanation of why this execution represents correct behavior
Override the expected output (defaults to execution output)
Responses
Section titled “ Responses ”Example created successfully
object
object
ID of the created example
ID of the example set
Name of the example
Input data from the execution
Expected output for the example
Rationale for this example
object
ID of the example set
Name of the example set
Whether a new example set was created
Bad Request - Validation error or invalid input
object
Unauthorized - Authentication required or invalid token
object
Forbidden - Insufficient permissions
object
Not Found - Resource does not exist
object
Conflict - Resource already exists or operation conflicts with current state