> 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: eJztV21vIzUQ/itW+LCpSJO0UCECRerdFVEJHdU1fEqjnrM7yfq6sRevN2mI8t95xvYm25c7DpAQH1ip6a49Hj/zzIvH244pyUqnjL7KOqOOzLJ3VBrrOr1ORlVqVclzmBnnJLKLshSp1PgrCuFyVYkludxkwhmBpUIKTWthvQYxNxYyJBZqRVpYUxR1ibnfaqpc/1ZfNHKscEZYmym50KZyKhVYKkVhFt9FoUpIS0IbB6EqlTajTKxzqJWNRgEwlj5Q6iiD9lfk1kQBacXwGMlcaVXlEXPPD0UM0YwIhRdhA6k3QtfLGVlh5sKpJVXQDGbilq9MtumMtp3UaEfa8assy0Klns/Bh4qJ23aqNKel5De3KQlUmhnDhJ7SMvtOUcWzpdwURmYtwcpZpRcvuiIKs9VKe0su8WOpXoqcHsRMaWk37IKlZLLH3noLmtzaiDSXVoIoG2hNhg8JRIvCrGH1bAPlEGWboUpmlKqlLCIT4DKX8JmxlqrSaO96ownLHGGjH+E5pSsndUo91pyRzGZE86S1xjtE7m1YK5eLgvQC/74G65lXVonT09OeOPnmK/x8O+S3Mw4bLWhZuk2bATgRmuGCAJ/ZCNR504LPYMmyLJjVAyYMO+X84HUkf7c7jMVM2O14MECvgqtOh0P+99gtry1JRnAIq35nx76by7pwz+UvrQVZjd4+wLQCydGDG5SFVC+H0Eci4w05qTh0yetGwFZy4VUfzB97eCFnUlMXmU8rRH2tM/jXGXMgkewKwZ/VxA5DEHA8QXu10U4+tNjzpniiYHDIJYyWyGWOculyfA1sU1iCWhA52XZqW2Aud66sRoPB9xkS6C6UijtM/QAC2zIQKQyyM4fm0dlweDYIsp3dtNfhfHt3yMzLxuJWZrV9D6RKz40nNZrxWlrEnRLvQq36aTy+FhfXV4DMeAPFw/5Z/wQjSHOC23i5lktefVFKuOn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VyNSwrmw878/AHHRbUf
sidebar_class_name: "post api-method"
info_path: cartesi-rollups/_versioned_docs/version-1.5/rollups-apis/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>


      