This property is only used if success is false, and contains an error message that describes the reason for the failure
An array of messages including the messaged passed in with the SkipAPIRequest object as well as any additional messages that Skip generates as part of the conversation.
Optional payloadOptional payload data from the agent. When provided, the calling application can render this payload as an artifact for the user to review/edit. This enables incremental artifact building where the payload is passed back and forth between the user and agent, accumulating structured data throughout the conversation.
Common use case: Requirements Expert emits a PRD with functionalRequirements, title, type, userExplanation etc. in the payload. The client renders this as an artifact for user review. When user responds, the client passes the payload back in the next SkipAPIRequest.payload field.
The Skip API server response phase, defined within the SkipResponsePhase type
Used for all response phases, to indicate if the API request was successful or not
Defines the shape of the data that is returned by the Skip API Server