For the complete documentation index, see llms.txt. This page is also available as Markdown.

Submit headless build report

Submits the build report the headless skill writes at the end of a run (including early stops), so Hostinger can learn where builds get stuck.

Submit headless build report

post

Submits 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.

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.

Authorizations
AuthorizationstringRequired

API Token authentication

Body

Headless build report (report.schema.json v1), as written by the headless skill at the end of a run. Send the report unchanged.

schema_versionstring · enumRequired

Report schema version

Example: 1Possible values:
generated_atstring · date-timeRequired

When the report was written

Example: 2026-10-14T10:30:00Z
tokensobject · nullableRequired

Token usage, only when the tool reports its own usage

issuesobject[]Required

Problems hit during the run

user_feedbackobject[]Required

Feedback the user gave during the run

skill_gapsobject[]Required

Places where the skill instructions were missing or wrong

what_went_wellobject[]Required

Things that worked well during the run

logging_gapsobject[]Optional

Where the run log is missing or unsure

previous_runsobject[]Required

Earlier runs for the same website

Responses
201

Created response

application/json
idintegerOptional

Stored report ID

Example: 1024
run_idstringOptional

ID of the run the report is for

Example: 2026-10-14T10-00-00Z
created_atstring · date-timeOptional

When the report was received

Example: 2026-10-14T10:30:00.000000Z
post/api/hosting/v1/headless/agent-reports
POST /api/hosting/v1/headless/agent-reports HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 502

{
  "schema_version": "1",
  "generated_at": "2026-10-14T10:30:00Z",
  "consent": {
    "sent": false,
    "note": "text"
  },
  "run": {
    "id": "2026-10-14T10-00-00Z",
    "kind": "build",
    "skill": "text",
    "follow_ups": [
      {}
    ]
  },
  "info": {
    "domain": "example.com",
    "tool": "claude-code",
    "outcome": "live"
  },
  "timing": {
    "started_at": "2026-01-01T00:00:00.000Z",
    "ended_at": "2026-01-01T00:00:00.000Z",
    "minutes_total": 1,
    "stages": [
      {}
    ]
  },
  "tokens": {},
  "issues": [
    {}
  ],
  "user_feedback": [
    {}
  ],
  "skill_gaps": [
    {}
  ],
  "what_went_well": [
    {}
  ],
  "logging_gaps": [
    {}
  ],
  "previous_runs": [
    {}
  ]
}
{
  "id": 1024,
  "run_id": "2026-10-14T10-00-00Z",
  "created_at": "2026-10-14T10:30:00.000000Z"
}

Last updated

Was this helpful?