> For the complete documentation index, see [llms.txt](https://docs.cartesi.io/llms.txt)

---
id: add-report
title: "Add a new report"
description: "The dApp can call this method to add a new report for the given rollup request."
sidebar_label: "Add a new report"
hide_title: true
hide_table_of_contents: true
api: eJztV1tv67gR/isD9kEJqthOtgeLqk2B7NkUDVBsgxP3KTZyxuLY4h6a1JJUbNfwf18MSdnK5Wy3LVD0oX6xNBoOv/nmwuFe2JYcBmXNnRSVQCk/UWtdEKWQ5GunWv4mKjFtCORN20KNBmrUGkKjPKwpNFZCsIBSAoKhDbhoAZbWQWgIVuqZDDirddeCo5868mE0Mze9HhtcECBIhStjfVA1WAcI2q7+kJU8oCMwNoBUvkYnScKmIQPYWwTlwdGPVAeSo5n5jsKGKCH1DI+RLJVRvsmYyyjKGLIbGQovIglodmC69YIc2CUEtSY/mhlRirzld1buRLUXtTWBTOBHbFut6sjn+EfPxO2FrxtaIz+FXUuiEnbBMEUpWsfsB0Wev7a40xblQNEHp8zq3VBkZfZamejJbWjIUbeGhrawUAbdjkOwRiZ7Gr13PkDYWKgbdFgHconWYrItYGm1thuSsNhBi8p59rmhLUqq1Rp1ZsJDaDBAbZ0j31oTQ28NwWIXaDQzf7YOlPEBTU0lW5aEckG0LAZrYkDw6MNGhQY0mVVo4HeARkZjHq6urkq4/PabEi5/P+GnD5w2Bmjdht2QAUetI08mJPjMRqIuupZiRltct5pZPWESpQgqROF9Jv9wOMlyJRwOLEzQfQrV1WTCfy/D8tERMoJTWo3EgWO3xE6Ht/q3zlkHvd2RKIeJFGgbxq1G9X4KfSUzvqeAilOXou01eY+raPrk/jTCSzVT207LWFYLgs5Icj5YeyKR3DM5kB1xwNaoOZ9Igt+ZgNsBe9GVSNShFKmWRCVa62OWY2hEJcaubyzJrBfV4150TotKNCG0vhqP/yixbZ9Sq3jqnP6TOJRDnWo81rZG3Vgfqg+TyYdx0hWHeSm43j6dKvO293hQWcPYH0qhzNJGUrMbH9EF8go+pV71l+n0Hm7u70QpGG+ieDL6MLoUpdCqJuOj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74w40ZUQpTCxnyId6go2wuNZtXhinXTzvz7GcdFtR8=
sidebar_class_name: "post api-method"
info_path: cartesi-rollups/_versioned_docs/version-2.0/api-reference/rollup/cartesi-rollup-http-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Add a new report"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/report"}
  context={"endpoint"}
>
  
</MethodEndpoint>



The dApp can call this method to add a new report for the given rollup request.
A report can be a diagnostic or a log; reports are not discarded when a request is rejected.
Between calls to the finish method, the report method can be called any number of times.


<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"payload":{"type":"string","description":"The payload is in the Ethereum hex binary format.\nThe first two characters are '0x' followed by pairs of hexadecimal numbers that correspond to one byte.\nFor instance, '0xdeadbeef' corresponds to a payload with length 4 and bytes 222, 173, 190, 175.\nAn empty payload is represented by the string '0x'.\n","example":"0xdeadbeef","title":"Payload"}},"title":"Report"}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"200":{"description":"Created the report."},"default":{"description":"Error response.","content":{"text/plain":{"schema":{"type":"string","description":"Detailed error message.","example":"The request could not be understood by the server due to malformed syntax","title":"Error"}}}}}}
>
  
</StatusCodes>


      