Has Watts write a new description from a dynamic report's saved KQL, without saving it
Use this endpoint to suggest a fresh description, for example when a description is stale because the query has changed.
It neither runs the report nor saves anything: to keep the suggestion, send it with the returned KqlHash to
PUT /api/v202611/dynamicReporting/{reportId}/description.
Only the report’s creator may generate a description. Returns 404 if the report does not exist or the caller cannot see it;
returns 403 if the caller can see it but did not create it. Fails if Watts cannot produce a usable description; the request can be retried.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| reportId | Unique numeric identifier of the dynamic report to describe. | integer (int32) | Required |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
DynamicReportDescriptionResponseV202611
| Property | Description | Type |
|---|---|---|
| description | Plain-language description of what the saved report shows. At most 4,000 characters. | string |
| kqlHash | Hash of the saved KQL that was described. Send it back with the description to save it. | string |
Example Response
{ "description": "string", "kqlHash": "string"
}
403
Forbidden
You do not have permission to access this resource. Check your user role and permissions.
404
Not Found
The requested resource was not found. Verify the ID or path is correct.