HeadHoncho

Get job log

Get job log is a read in the HeadHoncho API. A job's timeline in plain words, one line per thing that happened: notes, moves, texts, money, the rules and the AI, each with who did it.

Read as Markdown

The request

Reference for Get job log, HeadHoncho API v1. It is a read, sent to the base address https://api.headhoncho.app.

GET /api/v1/jobs/{job_id}/log

The key needs the Jobs area at read. An answered call costs 1 credit; a refusal costs nothing. See credits.

Send your key as Authorization: Bearer hh_live_.... See API keys.

Parameters

NameKindRequiredDescriptionExample
job_idid, in the pathYesThe job id, or its number.job_1138
sincenumber, in the queryNoOnly lines after this seq, from the previous answer's next or the last line you hold. Default 0, the start.0

Try it with your key

Paste your key and change the values. The box builds the call as a cURL line and a fetch line, ready to copy. It never sends anything itself.

Your key stays in this page and is never sent anywhere. Copy the line below and run it yourself.

What comes back

entries, oldest first: seq (dense per job, the cursor), at, kind (comment, status, schedule, assignment, money, detail, customer_text, tech_message, rule, ai_action, situation, plan, step, recommendation or created), actor (kind: person, customer, tech, rule or ai; label: who, in words), body (the line, or the words a customer or a tech wrote) and ref (what the line points at). next: the since for the following page, or null. With personal details hidden, a customer's own words are left out.

It never changes a record. It only reads the companies the key reaches.

Every field in the answer

Types are read from the example answer. Money is a plain number in the company's currency. A time carries its offset from UTC (Z is UTC). Ids are opaque text. A field with no line of its own here has its name spelled out; the common fields mean the same on every page.

FieldTypeMeaning
jobobjectThe job.
job.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
job.numberwhole numberThe number people say out loud, such as the job number.
entrieslist of objectsThe entries.
entries[].seqwhole numberThe order in the list. 1 is the first.
entries[].attime (ISO 8601, with offset)The moment it happened. Carries its offset from UTC; Z is UTC.
entries[].kindtextWhat sort of thing this is.
entries[].actorobjectThe actor.
entries[].actor.kindtextWhat sort of thing this is.
entries[].actor.labeltextThe name the app shows for it.
entries[].bodytextThe text, as written.
entries[].refobjectThe ref.
entries[].ref.kindtextWhat sort of thing this is.
entries[].ref.idid (text)The id of this record. Ids are opaque text: keep them exactly as given.
nextvalue or nullThe cursor for the next page, or null on the last page. Pass it back as cursor.

Reading new lines

Keep the seq of the last line you hold and pass it as since: the answer holds only what happened after it. A line never changes once written.

Errors that apply

CodeStatusWhat it means
`missing_key`401Send your key as Authorization: Bearer hh_live_...
`unknown_key`401That key is not one we issued, or it was revoked.
`no_access`403This credential does not reach that. Ask the person who made it for access.
`not_found`404No such record in the companies this credential reaches.
`invalid`422Some fields were refused. See fields.
`no_credits`402Out of credits. Top up on Settings › Credits, or turn on auto top-up.
  • List jobs: Jobs and leads in the companies this credential reaches, newest first, with status, technician, schedule, money and the ad click each came from.
  • Get job: One job or lead: who, where, when, which status, which technicians, the money on it and the ad click it came from.
  • Get job history: Everything that happened to a job, in order, with who did it: created, moved, assigned, noted, paid. The same log the job page shows.
  • List situations: The situations the AI dispatcher is working on jobs now: what came up, the plan, and which step it is on.
  • List job photos: The photos stored on a job, oldest first, each with a link that opens it for one minute.
  • Get photo: One stored photo and a fresh link to its file. The link works for one minute.
  • Get calendar: Every job with a booked time between two days, earliest first. Canceled and closed jobs are left out, as on the app's calendar.
  • List unscheduled jobs: Open jobs and leads that have no booked time yet, the ones that waited longest first.
  • Export jobs: Jobs as a CSV file, newest first, up to 10,000 rows: ticket, technicians, status, dates, address, customer and price.
  • Search jobs: Find jobs by ticket number, customer, address or technician name, and technicians by name.
  • Get automatic status: Whether a person set this job's status by hand, why its facts do not hold it, and where Back to automatic would put it.
  • Get job detour: Whether a job is on a detour, such as Waiting on parts, and where Resolve would put it.
  • List job reassignments: The times this job was handed from one technician to another, oldest first, and how far each one got.
  • List calendar reassignments: Every reassignment on a job booked in a window: open ones, and ones that closed today.
  • The same records in the app: the Jobs panel.
  • How the API fits together: the model, API keys, errors and the MCP server.