{
"swagger": "2.0",
"info": {
"title": "AtimesB",
"description": "\n Product Name : Arithmetic\n Service Name : AtimesB\n",
"version": "v3",
"contact": {
"name": "Spark",
"url": "https://www.coherent.global/products#spark"
}
},
"host": "excel.myenvironment.coherent.global",
"schemes": [
"https",
"http"
],
"paths": {
"/coherent/api/v3/folders/Arithmetic/services/AtimesB/execute": {
"post": {
"tags": [
"Spark Api"
],
"consumes": [
"application/json"
],
"parameters": [
{
"name": "x-tenant-name",
"in": "header",
"required": true,
"type": "string",
"x-example": "coherent",
"description": "Tenant Name - This is optional if Bearer Authorization is used."
},
{
"name": "x-synthetic-key",
"in": "header",
"required": true,
"type": "string",
"description": "API key provided by Coherent - This is optional if Bearer Authorization is used."
},
{
"name": "request",
"in": "body",
"required": true,
"description": "Engine Request Object.",
"x-example": "https://editor.swagger.io/",
"schema": {
"type": "object",
"properties": {
"request_data": {
"type": "object",
"properties": {
"inputs": {
"type": "object",
"properties": {
"A": {
"type": "integer",
"example": 2,
"minimum": 1,
"maximum": 5
},
"B": {
"type": "integer",
"example": 3,
"minimum": 1,
"maximum": 5
}
}
}
}
}
},
"example": {
"request_data": {
"inputs": {
"A": 2,
"B": 3
}
},
"request_meta": {
"version_id": "c53d397f-af04-4b6a-9437-232c7bc30ea4",
"transaction_date": null,
"call_purpose": null,
"source_system": null,
"correlation_id": null,
"service_category": "",
"requested_output": null
}
}
}
}
],
"responses": {
"200": {
"description": "Success response",
"schema": {
"type": "object",
"properties": {
"response_data": {
"type": "object",
"properties": {
"outputs": {
"type": "object",
"properties": {
"AtimesB": {
"type": "integer",
"example": 5
}
}
}
}
}
},
"example": {
"status": "Success",
"response_data": {
"outputs": {
"AtimesB": 5
},
"warnings": null,
"errors": null,
"service_chain": null
},
"response_meta": {
"service_id": "8d438c34-d120-46b5-b82c-07278caefd6e",
"version_id": "c53d397f-af04-4b6a-9437-232c7bc30ea4",
"version": "0.1.0",
"process_time": 5,
"call_id": "76932f2b-817a-4351-a489-59e9850f9adf",
"compiler_type": "Neuron",
"compiler_version": "1.25.0",
"source_hash": null,
"engine_id": "394ED4529FAF3778D13C2AE6918DB9C2",
"correlation_id": "",
"parameterset_version_id": null,
"system": "SPARK",
"request_timestamp": "2026-01-20T03:18:33.386Z"
},
"error": null
}
}
},
"401": {
"description": "Access token is missing or invalid"
},
"404": {
"description": "Service cannot be found"
},
"500": {
"description": "Internal server error occurred. Please contact administrator."
}
}
}
}
}
}