Hosting: Headless
Submit headless build report
Changed onSubmits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck. Send one report per call, with the report JSON as the request body, unchanged. Only send a report when the user agreed to it.
The report must match report.schema.json v1; an invalid report returns 422 and is not stored. The report is linked to the authenticated account, so do not add account details to it.
post/api/hosting/v1/headless/agent-reports
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/headless/agent-reports
- Auth: HTTP bearer
Request body
Example request
{
"schema_version": "1",
"generated_at": "2026-10-14T10:30:00Z",
"run": {
"id": "2026-10-14T10-00-00Z",
"kind": "build"
},
"info": {
"domain": "example.com",
"tool": "claude-code",
"outcome": "live"
}
}Response
Created response
Example response
{
"id": 1024,
"run_id": "2026-10-14T10-00-00Z",
"created_at": "2026-10-14T10:30:00.000000Z"
}Changes
- info
endpoint added
- info