Execution Requests
For larger or complex sets of input parameters it is recommended to use a execution request file in JSON or YAML format. The structure is simple, for example:
{
"process_id": "primes_between",
"inputs": {
"min_val": 10,
"max_val": 80
}
}
This is the CLI's execution-request format. Python's ProcessRequest contains
inputs, outputs, and subscriber; pass the process ID separately to
client.execute_process(process_id, request=...). The dotpath setting is a
CLI convenience for constructing nested inputs, not a process input itself.
Use s2gos-client create-request PROCESS_ID to generate a starting template from
the server's process description. Review generated values before use.
s2gos-client validate-request --request request.json validates the request
structure offline; it does not validate inputs against a remote process schema.
See the CLI walkthrough for a complete submission.
The execution-request file format in detail:
process_id: Process identifierdotpath: Whether dots in input names should be used to create nested object values. Defaults toFalse.inputs: Optional process inputs given as key-value mapping. Values may be of any JSON-serializable type accepted by the given process.outputs: Optional process outputs given as key-value mapping. Values are of type Output and should be supported by the given process.subscriber: Optional object comprising callback URLs that are informed about process status changes while the processing takes place. The URLs aresuccessUri,inProgressUri, andfailedUriand none is required. See also Subscriber.