# ExecutionResponse

- [JSON representation](https://developers.google.com/apps-script/api/reference/rest/v1/ExecutionResponse#SCHEMA_REPRESENTATION)

An object that provides the return value of a function executed using the Apps Script API. If the script function returns successfully, the response body's `https://developers.google.com/apps-script/api/reference/rest/v1/scripts/run#body.Operation.FIELDS.response` field contains this `ExecutionResponse` object.

| JSON representation |
|---|
| ``` { "result": value } ``` |

| Fields ||
|---|---|
| `result` | ``value (`https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value` format)`` The return value of the script function. The type matches the object type returned in Apps Script. Functions called using the Apps Script API cannot return Apps Script-specific objects (such as a `Document` or a `Calendar`); they can only return primitive types such as a `string`, `number`, `array`, `object`, or `boolean`. |