createRunInputRequest(command: RunsCreateRunInputRequestCommand!, idempotencyKey: String): RunsInputRequest!
Arguments
Input fields
command
RunsCreateRunInputRequestCommand
Response
Returns RunsInputRequest!. Open the type for its fields and nested types.
All fields of RunsInputRequest.
Types marked with ! cannot be null. Lists use [Type] notation. The type index lists all published input and response types.
Example
mutation CreateRunInputRequest($command: RunsCreateRunInputRequestCommand!, $idempotencyKey: String) {
createRunInputRequest(command: $command, idempotencyKey: $idempotencyKey) {
projectId
runId
status
createdAt
conversationId
}
}{
"command": {
"runId": "11111111-1111-4111-8111-111111111111",
"input": {
"title": "Approve the result",
"fields": [
{
"name": "approved",
"type": "confirm"
}
]
}
}
}