curl --request POST \
--url https://api.egp.scale.com/v4/applications/process/{application_alias} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"inputs": {},
"history": [],
"overrides": {
"concurrent": false,
"use_channels": false,
"initial_state": {
"current_node": "<string>",
"state": {}
},
"partial_trace": [
{
"workflow_id": "<string>",
"node_id": "<string>",
"operation_type": "<string>",
"start_timestamp": "<string>",
"operation_input": "<string>",
"operation_output": "<string>",
"duration_ms": 123,
"operation_metadata": {}
}
],
"return_span": true
},
"stream": false,
"operation_metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}curl --request POST \
--url https://api.egp.scale.com/v4/applications/process/{application_alias} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"inputs": {},
"history": [],
"overrides": {
"concurrent": false,
"use_channels": false,
"initial_state": {
"current_node": "<string>",
"state": {}
},
"partial_trace": [
{
"workflow_id": "<string>",
"node_id": "<string>",
"operation_type": "<string>",
"start_timestamp": "<string>",
"operation_input": "<string>",
"operation_output": "<string>",
"duration_ms": 123,
"operation_metadata": {}
}
],
"return_span": true
},
"stream": false,
"operation_metadata": {}
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Input data for the application. For agents service variants, you must provide inputs as a mapping from {input_name: input_value}. For V0 variants, you must specify the node your input should be passed to, structuring your input as {node_id: {input_name: input_value}}.
History of the application
Show child attributes
Execution override options for agentic applications
Show child attributes
Control to have streaming of the endpoint. If the last node before the output is a completion node, you can set this to true to get the output as soon as the completion node has a token
Arbitrary user-defined metadata that can be attached to the process operations and will be registered in the interaction.
Successful Response