Skip to content

ExecutionRecord

Source code in docs_src/capo_connect/types/execution_record.py
class ExecutionRecord(TypedDict, closed=True):
    observation_id: NotRequired[
        "capo_connect.types.test_case_resource_id.TestCaseResourceId"
    ]
    """<p>The identifier of the execution record.</p>"""
    status: NotRequired[
        "capo_connect.types.execution_record_status.ExecutionRecordStatus"
    ]
    """<p>The status of the action execution.</p>"""
    timestamp: NotRequired["capo_connect.types.timestamp.Timestamp"]
    """<p>The timestamp when the action was executed.</p>"""
    record: NotRequired[
        "capo_connect.types.execution_record_string.ExecutionRecordString"
    ]
    """<p>The details of the executed record.</p>"""
    record_type: NotRequired["capo_connect.types.record_type.RecordType"]
    """<p>The type of the execution record. Valid values:</p> <ul> <li> <p> <code>INITIATION</code> - The test case execution was requested. If the execution couldn't start, the record includes an error message.</p> </li> <li> <p> <code>EXECUTION_START</code> - The test case execution started.</p> </li> <li> <p> <code>OBSERVATION</code> - An observation in the test case was evaluated.</p> </li> <li> <p> <code>MESSAGE</code> - A message was exchanged during the test, such as a turn between the synthetic customer and your flow.</p> </li> <li> <p> <code>COMPLETION</code> - The test case execution ended. This includes executions that passed, failed, timed out, or were stopped. The record includes the final status.</p> </li> </ul>"""

observation_id instance-attribute

observation_id: NotRequired[TestCaseResourceId]

The identifier of the execution record.

record instance-attribute

record: NotRequired[ExecutionRecordString]

The details of the executed record.

record_type instance-attribute

record_type: NotRequired[RecordType]

The type of the execution record. Valid values:

  • INITIATION - The test case execution was requested. If the execution couldn't start, the record includes an error message.

  • EXECUTION_START - The test case execution started.

  • OBSERVATION - An observation in the test case was evaluated.

  • MESSAGE - A message was exchanged during the test, such as a turn between the synthetic customer and your flow.

  • COMPLETION - The test case execution ended. This includes executions that passed, failed, timed out, or were stopped. The record includes the final status.

status instance-attribute

status: NotRequired[ExecutionRecordStatus]

The status of the action execution.

timestamp instance-attribute

timestamp: NotRequired[Timestamp]

The timestamp when the action was executed.