Skip to the page
Docs menu

Docs API reference

Logs (items)

Individual pieces: logs, boards and sheets.

The item object#

One physical log. Untagged logs have tag: null. Fields you can request through expand[]: group, scan, photo.

FieldDescription
idstringUnique identifier, prefixed itm_.
objectitemString representing the object type. Always item.
livemodebooleantrue for objects in the live account, false for objects in the test account. Test and live data never mix.
client_idstring, nullableCaller-chosen identifier, unique per account and resource type. The SDKs set it so records created offline reconcile when they sync. Retrying a create with the same client_id returns the existing record instead of a duplicate.
typelogAlways log in v1.
group_idstring, nullableCurrent group, or null when detached.
tagTag, nullableA physical tag on the log end. Payloads are unique within your account among active items.
tag.payloadstringThe text encoded in the QR tag.
tag.symbologyqrAlways qr in v1.
tag.side_mmnumber, nullablePrinted side length of the QR tag in millimetres. Used as the scale reference.
speciesstring, nullableSpecies code from your catalogue.
lengthItemLength, nullableLog length.
length.value_mnumberLength in metres.
length.sourceenum (operator, group_default, bulk, measured)Where the length came from. operator is a manual edit, group_default the group spec, bulk a bulk update, measured the capture.
length.enteredLengthEntered, nullableThe length exactly as it was entered. Returned beside the canonical metre value so a value entered in feet reads back as written.
gradestring, nullableGrade from your catalogue.
weightItemWeight, nullableWeight of one item.
weight.value_kgnumberWeight in kg.
weight.sourceallocated \| measuredallocated is the item's share of the group's net weight, in proportion to its volume. measured means the item was weighed individually and is excluded from allocation.
measurementMeasurement, nullableThe effective measurement.
detection_confidencenumber, nullableFrom the log's newest device estimate that carries one (kept when the log is refined or overridden): The log detector's own score, 0 to 1, for the box the phone measured the log in (the centre-log box of its last detection before measuring). How sure the detector was that the box is a log end: use it to rank logs or flag low ones for a look. It is not an accuracy of the diameters, not the probability that the measurement is right, and not comparable across detector versions (provenance.detector). Null when the phone sent none (counted tags, logs from app builds that did not send it, other clients).
photo_refPhotoRef, nullableThe photo the effective measurement was made on and where the log is in it. Null when it has no photo.
photo_ref.image_idstringThe item image (log_end) the measurement was made on.
photo_ref.regionanyThe log end's box in the image, normalised, origin top left, in the image as stored (the space of perimeter and diameter_lines): the bounding box of the outline when there is one, else of the two diameter lines.
refinementobject, nullableServer refinement state; null when no refinement was ever queued for the item (legacy items, tag-only items).
refinement.statusenum (queued, running, succeeded, failed)State of server refinement for this item. After five failed attempts the status is failed, the device estimate stays effective, and item.refinement_failed is emitted.
outlineOutlineThe log end's outline traced by the segmentation model on its photo, with its state. Kept when an office edit follows the refinement.
outline.statuspending \| ready \| failed \| not_availableready: points holds the outline. pending: the photo is awaited or the segmentation is queued or running (usually under two minutes after upload). failed: no outline, for good; the phone's values stand. not_available: this log is not measured from a photo (assigned or entered values), or its values are the simulator's.
outline.reasonawaiting_photo \| segmentation_queued \| segmentation_running \| test_mode_practice \| test_limit_reached \| test_segmentation_off \| not_measured_from_photo \| segmentation_not_configured \| no_outline_found \| photo_unavailable \| photo_link_unsigned \| photo_link_refused \| segmentation_unavailable \| log_removed \| segmentation_error \| null, nullableWhy it is not ready; null when it is. test_limit_reached: the organisation's test-mode segmentations for the day are used up (50 a day by default), so the phone's values stand. test_mode_practice: values from the simulator, which traces nothing. photo_link_unsigned: the server could not sign a read link to the photo. photo_link_refused: the segmentation service refused the photo's link. segmentation_unavailable: the segmentation service was busy or unreachable on every attempt. New reasons may be added: treat an unknown one as segmentation_error.
outline.sourcesegmentation \| null, nullablesegmentation when ready.
outline.pointsPerimeter, nullableThe outline (50 points), when ready.
outline.measurement_idstring, nullableThe server_refined measurement the outline belongs to.
outline.segmenterModelRef, nullableA model and its version. Recorded on every measurement as id@version.
statusenum (active, removed)removed items are kept for the record but excluded from group counts and volume.
scan_idstring, nullableScan that created the item. Null for items created before the platform.
originobject, nullableWhere the log was harvested, traced through its load: the origin of the first group it was measured into (or of a group enclosing that one), else of the group it is in now (or one enclosing it). Changes when a load is tied to a tract later.
origin.place_idstringThe tract.
origin.group_idstringThe group whose origin this is (usually the log's load).
measuredobject, nullableWhere and when the log's scan was taken, as the device sent it, and the known place it lies inside (a yard, a landing). Not the origin: wood is often measured far from where it grew.
measured.scan_idstring
measured.locationLocation, nullableA device location fix. The API never infers a location; the field is null when permission was denied.
measured.place_idstring, nullable
volumeItemVolume, nullableThe log's volume under the JAS rule (v1's only log rule), from its effective measurement and length: the m3 that GET /items/{id}/volume returns, so a list of items needs no call per log. Null while the log has no measurement.
volume.rulestringRule applied, one of the id values of GET /volume_rules.
volume.rule_versionstringRule version.
volume.m3numberVolume in cubic metres, rounded as the rule rounds (JAS, 0.001).
metadataMetadataFree-form string map for your own data (an ERP booking number, a yard row). At most 50 keys; keys up to 40 characters; values up to 500 characters. Use this instead of asking for customer-specific fields. On update, supplied keys are merged into the existing map and a key set to an empty string is removed.
created_atstringCreation time.
groupGroup, nullablePresent only when expand[]=group was requested.
scanScan, nullablePresent only when expand[]=scan was requested.
photoItemPhoto, nullablePresent only when expand[]=photo was requested: the photo of the log's end its measurement was made on, with a 15-minute download_url; null when there is none. Draw the measurement's perimeter (the outline), diameter_lines and tag_corners over it: they are normalised to this photo.
photo.image_idstring
photo.widthinteger, nullable
photo.heightinteger, nullable
photo.download_urlstring, nullableValid for 15 minutes; null when the bytes are gone (retention) or not uploaded.
photo.source_image_idstring, nullableThe scene photo the log end was cropped from, when the phone sent it.
photo.boxNormalizedBox, nullableWhere the log end sits in that scene photo (the detection box), normalised to it.
JSON
{
  "id": "itm_5Lw2Nc",
  "object": "item",
  "livemode": true,
  "client_id": null,
  "type": "log",
  "group_id": "grp_7QxV3m",
  "tag": { "payload": "DEMO-0001", "symbology": "qr", "side_mm": 62 },
  "species": "PINE_TAEDA",
  "length": {
    "value_m": 5.8,
    "source": "operator",
    "entered": { "value": 5.8, "unit": "m" }
  },
  "grade": null,
  "weight": null,
  "measurement": {
    "id": "msr_8Rt4Vb",
    "object": "measurement",
    "livemode": true,
    "item_id": "itm_5Lw2Nc",
    "stage": "server_refined",
    "method": "qr_scale",
    "diameter_short_m": 0.477,
    "diameter_long_m": 0.492,
    "adjustments": [],
    "effective_short_m": 0.477,
    "effective_long_m": 0.492,
    "perimeter": [
      [0.21, 0.5],
      [0.5, 0.2],
      [0.8, 0.5],
      [0.5, 0.81]
    ],
    "scale": {
      "source": "qr_tag",
      "side_mm": 62,
      "m_per_unit_x": 0.81,
      "m_per_unit_y": 0.8
    },
    "quality": {
      "confidence": 0.94,
      "rejection_gates": {}
    },
    "provenance": {
      "detector": {
        "id": "log-detector",
        "version": "2.1.0"
      },
      "segmenter": {
        "id": "log-segmenter",
        "version": "1.3.0"
      },
      "sdk_version": "timbereye-ios 1.4.0",
      "app_version": "3.2.1",
      "device_model": "iPhone15,3",
      "os": "iOS 18.2",
      "actor": {
        "type": "system",
        "id": null
      }
    },
    "reason": null,
    "image_id": "img_K3s9",
    "scan_id": "scn_9a2Lk",
    "created_at": "2027-02-03T14:40:52Z"
  },
  "refinement": { "status": "succeeded" },
  "outline": {
    "status": "ready",
    "reason": null,
    "source": "segmentation",
    "points": [
      [0.21, 0.5],
      [0.5, 0.17],
      [0.79, 0.5],
      [0.5, 0.83]
    ],
    "measurement_id": "msr_8Rt4Vb",
    "segmenter": {
      "id": "vertex-sawlog-segmentation",
      "version": "unknown"
    }
  },
  "status": "active",
  "scan_id": "scn_9a2Lk",
  "origin": null,
  "measured": null,
  "metadata": {},
  "created_at": "2027-02-03T14:12:40Z"
}

List items#

GET/v1/items

Returns items across groups, newest first.

Keys: secret key; restricted key with items:read.

Parameters

FieldDescription
group_idstring, queryOnly items currently in this group.
statusactive \| removed, queryFilter by status.
speciesstring, queryFilter by species code.
scan_idstring, queryOnly items created by this scan.
tagstring, queryOnly the item with this tag payload.
client_idstring, queryOnly the item with this client id.
limitinteger, queryPage size, 1 to 100.
starting_afterstring, queryOpaque cursor: pass the next_cursor of the previous page. Results are ordered by (created_at, id).
expand[]array of string, queryReplace an id field with the full object, e.g. expand[]=origin_place. Allowed values are listed on each resource.

Request

TypeScript
for await (const log of timbereye.items.list()) {
    // every page, one at a time
}
curl
curl https://api.timbereye.com/v1/items \
  -H "Authorization: Bearer $TIMBEREYE_SECRET_KEY"
CLI
timbereye items list --json

Response

JSON
// 200
{
  "object": "list",
  "data": [
    {
      "id": "itm_5Lw2Nc",
      "object": "item",
      "livemode": true,
      "client_id": null,
      "type": "log",
      "group_id": "grp_7QxV3m",
      "tag": {
        "payload": "DEMO-0001",
        "symbology": "qr",
        "side_mm": 62
      },
      "species": "PINE_TAEDA",
      "length": {
        "value_m": 5.8,
        "source": "operator",
        "entered": { "value": 5.8, "unit": "m" }
      },
      "grade": null,
      "weight": null,
      "measurement": {
        "id": "msr_8Rt4Vb",
        "object": "measurement",
        "livemode": true,
        "item_id": "itm_5Lw2Nc",
        "stage": "server_refined",
        "method": "qr_scale",
        "diameter_short_m": 0.477,
        "diameter_long_m": 0.492,
        "adjustments": [],
        "effective_short_m": 0.477,
        "effective_long_m": 0.492,
        "perimeter": [
          [0.21, 0.5],
          [0.5, 0.2],
          [0.8, 0.5],
          [0.5, 0.81]
        ],
        "scale": {
          "source": "qr_tag",
          "side_mm": 62,
          "m_per_unit_x": 0.81,
          "m_per_unit_y": 0.8
        },
        "quality": {
          "confidence": 0.94,
          "rejection_gates": {}
        },
        "provenance": {
          "detector": {
            "id": "log-detector",
            "version": "2.1.0"
          },
          "segmenter": {
            "id": "log-segmenter",
            "version": "1.3.0"
          },
          "sdk_version": "timbereye-ios 1.4.0",
          "app_version": "3.2.1",
          "device_model": "iPhone15,3",
          "os": "iOS 18.2",
          "actor": {
            "type": "system",
            "id": null
          }
        },
        "reason": null,
        "image_id": "img_K3s9",
        "scan_id": "scn_9a2Lk",
        "created_at": "2027-02-03T14:40:52Z"
      },
      "refinement": { "status": "succeeded" },
      "outline": {
        "status": "ready",
        "reason": null,
        "source": "segmentation",
        "points": [
          [0.21, 0.5],
          [0.5, 0.17],
          [0.79, 0.5],
          [0.5, 0.83]
        ],
        "measurement_id": "msr_8Rt4Vb",
        "segmenter": {
          "id": "vertex-sawlog-segmentation",
          "version": "unknown"
        }
      },
      "status": "active",
      "scan_id": "scn_9a2Lk",
      "origin": null,
      "measured": null,
      "metadata": {},
      "created_at": "2027-02-03T14:12:40Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
Errors
StatusWhen
400invalid_request_error: the request was malformed or a field was invalid.
401authentication_error: missing, malformed, expired or revoked key.
403permission_error: the key lacks the scope, the capture token is limited to other groups, or the resource is read-only to you.
404invalid_request_error, resource_missing: no such object. Objects in another account are also reported as 404.
429rate_limit_error: slow down and retry after the Retry-After delay.
500api_error: something went wrong on our side. Safe to retry with the same Idempotency-Key.
503api_error: isolation_unavailable (the resource's account isolation is not in place), service_unavailable (for example image storage not available in this environment) or model_unavailable (no on-device detector to offer in this environment). Retry later.

Retrieve an item#

GET/v1/items/{id}

Returns an item with its effective measurement.

Keys: secret key; restricted key with items:read.

Parameters

FieldDescription
id requiredstring, pathItem id.
expand[]array of string, queryReplace an id field with the full object, e.g. expand[]=origin_place. Allowed values are listed on each resource.

Request

TypeScript
const result = await timbereye.items.retrieve("itm_5Lw2Nc")
curl
curl https://api.timbereye.com/v1/items/itm_5Lw2Nc \
  -H "Authorization: Bearer $TIMBEREYE_SECRET_KEY"
CLI
timbereye items get itm_5Lw2Nc --json

Response

JSON
// 200
{
  "id": "itm_5Lw2Nc",
  "object": "item",
  "livemode": true,
  "client_id": null,
  "type": "log",
  "group_id": "grp_7QxV3m",
  "tag": { "payload": "DEMO-0001", "symbology": "qr", "side_mm": 62 },
  "species": "PINE_TAEDA",
  "length": {
    "value_m": 5.8,
    "source": "operator",
    "entered": { "value": 5.8, "unit": "m" }
  },
  "grade": null,
  "weight": null,
  "measurement": {
    "id": "msr_8Rt4Vb",
    "object": "measurement",
    "livemode": true,
    "item_id": "itm_5Lw2Nc",
    "stage": "server_refined",
    "method": "qr_scale",
    "diameter_short_m": 0.477,
    "diameter_long_m": 0.492,
    "adjustments": [],
    "effective_short_m": 0.477,
    "effective_long_m": 0.492,
    "perimeter": [
      [0.21, 0.5],
      [0.5, 0.2],
      [0.8, 0.5],
      [0.5, 0.81]
    ],
    "scale": {
      "source": "qr_tag",
      "side_mm": 62,
      "m_per_unit_x": 0.81,
      "m_per_unit_y": 0.8
    },
    "quality": {
      "confidence": 0.94,
      "rejection_gates": {}
    },
    "provenance": {
      "detector": {
        "id": "log-detector",
        "version": "2.1.0"
      },
      "segmenter": {
        "id": "log-segmenter",
        "version": "1.3.0"
      },
      "sdk_version": "timbereye-ios 1.4.0",
      "app_version": "3.2.1",
      "device_model": "iPhone15,3",
      "os": "iOS 18.2",
      "actor": {
        "type": "system",
        "id": null
      }
    },
    "reason": null,
    "image_id": "img_K3s9",
    "scan_id": "scn_9a2Lk",
    "created_at": "2027-02-03T14:40:52Z"
  },
  "refinement": { "status": "succeeded" },
  "outline": {
    "status": "ready",
    "reason": null,
    "source": "segmentation",
    "points": [
      [0.21, 0.5],
      [0.5, 0.17],
      [0.79, 0.5],
      [0.5, 0.83]
    ],
    "measurement_id": "msr_8Rt4Vb",
    "segmenter": {
      "id": "vertex-sawlog-segmentation",
      "version": "unknown"
    }
  },
  "status": "active",
  "scan_id": "scn_9a2Lk",
  "origin": null,
  "measured": null,
  "metadata": {},
  "created_at": "2027-02-03T14:12:40Z"
}
Errors
StatusWhen
400invalid_request_error: the request was malformed or a field was invalid.
401authentication_error: missing, malformed, expired or revoked key.
403permission_error: the key lacks the scope, the capture token is limited to other groups, or the resource is read-only to you.
404invalid_request_error, resource_missing: no such object. Objects in another account are also reported as 404.
429rate_limit_error: slow down and retry after the Retry-After delay.
500api_error: something went wrong on our side. Safe to retry with the same Idempotency-Key.
503api_error: isolation_unavailable (the resource's account isolation is not in place), service_unavailable (for example image storage not available in this environment) or model_unavailable (no on-device detector to offer in this environment). Retry later.

Update an item#

PATCH/v1/items/{id}

Edits species, length, grade, a nominal diameter class (an assigned measurement) or metadata after the scan. Each value set gets source: operator; a length edit recomputes volume and the commodity match and reallocates the group's weight. Rejected with 409 state_conflict for a removed item. Emits item.updated.

Keys: secret key; restricted key with items:write.

Parameters

FieldDescription
id requiredstring, pathItem id.

Body

FieldDescription
speciesstringSpecies code from your catalogue.
lengthItemLengthInputLength input for items: { value, unit } or { value_m }, optionally with source. source is normally set by the server (operator on PATCH /items/{id}, bulk on bulk update). A capture client may send operator (the user typed the length; the default when source is omitted), group_default (the length was taken from the group spec the host app supplied) or measured (a device measured it); the server validates the value, stores it as sent and does not compare the number with the group spec. bulk is refused with 400 parameter_invalid. Omit the length entirely to get the group's default length with source group_default.
gradestringGrade, free text such as A; your own grading. null clears it.
diameter_class_mnumberNominal diameter class in metres. Records an assigned measurement on items that have no measurement better than assigned.
metadataMetadataFree-form string map for your own data (an ERP booking number, a yard row). At most 50 keys; keys up to 40 characters; values up to 500 characters. Use this instead of asking for customer-specific fields. On update, supplied keys are merged into the existing map and a key set to an empty string is removed.

Request

TypeScript
const result = await timbereye.items.update("itm_5Lw2Nc", { grade: "A", metadata: { yardRow: "R12" } })
curl
curl -X PATCH https://api.timbereye.com/v1/items/itm_5Lw2Nc \
  -H "Authorization: Bearer $TIMBEREYE_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{"grade":"A","metadata":{"yard_row":"R12"}}'
CLI
timbereye items update itm_5Lw2Nc \
  --grade A \
  --data '{"metadata":{"yard_row":"R12"}}' \
  --json

Response

JSON
// 200
{
  "id": "itm_5Lw2Nc",
  "object": "item",
  "livemode": true,
  "client_id": null,
  "type": "log",
  "group_id": "grp_7QxV3m",
  "tag": { "payload": "DEMO-0001", "symbology": "qr", "side_mm": 62 },
  "species": "PINE_TAEDA",
  "length": {
    "value_m": 5.8,
    "source": "operator",
    "entered": { "value": 5.8, "unit": "m" }
  },
  "grade": "A",
  "weight": null,
  "measurement": {
    "id": "msr_8Rt4Vb",
    "object": "measurement",
    "livemode": true,
    "item_id": "itm_5Lw2Nc",
    "stage": "server_refined",
    "method": "qr_scale",
    "diameter_short_m": 0.477,
    "diameter_long_m": 0.492,
    "adjustments": [],
    "effective_short_m": 0.477,
    "effective_long_m": 0.492,
    "perimeter": [
      [0.21, 0.5],
      [0.5, 0.2],
      [0.8, 0.5],
      [0.5, 0.81]
    ],
    "scale": {
      "source": "qr_tag",
      "side_mm": 62,
      "m_per_unit_x": 0.81,
      "m_per_unit_y": 0.8
    },
    "quality": {
      "confidence": 0.94,
      "rejection_gates": {}
    },
    "provenance": {
      "detector": {
        "id": "log-detector",
        "version": "2.1.0"
      },
      "segmenter": {
        "id": "log-segmenter",
        "version": "1.3.0"
      },
      "sdk_version": "timbereye-ios 1.4.0",
      "app_version": "3.2.1",
      "device_model": "iPhone15,3",
      "os": "iOS 18.2",
      "actor": {
        "type": "system",
        "id": null
      }
    },
    "reason": null,
    "image_id": "img_K3s9",
    "scan_id": "scn_9a2Lk",
    "created_at": "2027-02-03T14:40:52Z"
  },
  "refinement": { "status": "succeeded" },
  "outline": {
    "status": "ready",
    "reason": null,
    "source": "segmentation",
    "points": [
      [0.21, 0.5],
      [0.5, 0.17],
      [0.79, 0.5],
      [0.5, 0.83]
    ],
    "measurement_id": "msr_8Rt4Vb",
    "segmenter": {
      "id": "vertex-sawlog-segmentation",
      "version": "unknown"
    }
  },
  "status": "active",
  "scan_id": "scn_9a2Lk",
  "origin": null,
  "measured": null,
  "metadata": { "yard_row": "R12" },
  "created_at": "2027-02-03T14:12:40Z"
}
Errors
StatusWhen
400invalid_request_error: the request was malformed or a field was invalid.
401authentication_error: missing, malformed, expired or revoked key.
403permission_error: the key lacks the scope, the capture token is limited to other groups, or the resource is read-only to you.
404invalid_request_error, resource_missing: no such object. Objects in another account are also reported as 404.
409invalid_request_error: idempotency_key_reused, idempotency_request_in_progress, group_not_empty, group_billed, place_in_use, resource_exists, place_name_taken or another state conflict.
413invalid_request_error, payload_too_large: the upload is over the size limit (10 MB for multipart).
422invalid_request_error: the request was well formed but cannot be applied. Codes: group_cycle, group_depth_exceeded, unit_ambiguous, weight_inconsistent, area_ha_not_allowed, assignment_required.
429rate_limit_error: slow down and retry after the Retry-After delay.
500api_error: something went wrong on our side. Safe to retry with the same Idempotency-Key.
503api_error: isolation_unavailable (the resource's account isolation is not in place), service_unavailable (for example image storage not available in this environment) or model_unavailable (no on-device detector to offer in this environment). Retry later.

Remove an item#

DELETE/v1/items/{id}

Marks the item removed (it keeps its group for the record, but no longer counts in the group's figures, volume or weight) and emits item.removed. A refinement already billed for it is voided when the removal comes within 72 hours of the billing (section 9). Removing a removed item changes nothing. To only take an item out of a group, use POST /groups/{id}/items/remove.

Keys: secret key; restricted key with items:write.

Parameters

FieldDescription
id requiredstring, pathItem id.

Request

TypeScript
const result = await timbereye.items.remove("itm_5Lw2Nc")
curl
curl -X DELETE https://api.timbereye.com/v1/items/itm_5Lw2Nc \
  -H "Authorization: Bearer $TIMBEREYE_SECRET_KEY"
CLI
timbereye items remove itm_5Lw2Nc --yes --json

Response

JSON
// 200
{
  "id": "itm_5Lw2Nc",
  "object": "item",
  "livemode": true,
  "client_id": null,
  "type": "log",
  "group_id": "grp_7QxV3m",
  "tag": { "payload": "DEMO-0001", "symbology": "qr", "side_mm": 62 },
  "species": "PINE_TAEDA",
  "length": {
    "value_m": 5.8,
    "source": "operator",
    "entered": { "value": 5.8, "unit": "m" }
  },
  "grade": null,
  "weight": null,
  "measurement": {
    "id": "msr_8Rt4Vb",
    "object": "measurement",
    "livemode": true,
    "item_id": "itm_5Lw2Nc",
    "stage": "server_refined",
    "method": "qr_scale",
    "diameter_short_m": 0.477,
    "diameter_long_m": 0.492,
    "adjustments": [],
    "effective_short_m": 0.477,
    "effective_long_m": 0.492,
    "perimeter": [
      [0.21, 0.5],
      [0.5, 0.2],
      [0.8, 0.5],
      [0.5, 0.81]
    ],
    "scale": {
      "source": "qr_tag",
      "side_mm": 62,
      "m_per_unit_x": 0.81,
      "m_per_unit_y": 0.8
    },
    "quality": {
      "confidence": 0.94,
      "rejection_gates": {}
    },
    "provenance": {
      "detector": {
        "id": "log-detector",
        "version": "2.1.0"
      },
      "segmenter": {
        "id": "log-segmenter",
        "version": "1.3.0"
      },
      "sdk_version": "timbereye-ios 1.4.0",
      "app_version": "3.2.1",
      "device_model": "iPhone15,3",
      "os": "iOS 18.2",
      "actor": {
        "type": "system",
        "id": null
      }
    },
    "reason": null,
    "image_id": "img_K3s9",
    "scan_id": "scn_9a2Lk",
    "created_at": "2027-02-03T14:40:52Z"
  },
  "refinement": { "status": "succeeded" },
  "outline": {
    "status": "ready",
    "reason": null,
    "source": "segmentation",
    "points": [
      [0.21, 0.5],
      [0.5, 0.17],
      [0.79, 0.5],
      [0.5, 0.83]
    ],
    "measurement_id": "msr_8Rt4Vb",
    "segmenter": {
      "id": "vertex-sawlog-segmentation",
      "version": "unknown"
    }
  },
  "status": "removed",
  "scan_id": "scn_9a2Lk",
  "origin": null,
  "measured": null,
  "metadata": {},
  "created_at": "2027-02-03T14:12:40Z"
}
Errors
StatusWhen
400invalid_request_error: the request was malformed or a field was invalid.
401authentication_error: missing, malformed, expired or revoked key.
403permission_error: the key lacks the scope, the capture token is limited to other groups, or the resource is read-only to you.
404invalid_request_error, resource_missing: no such object. Objects in another account are also reported as 404.
409invalid_request_error: idempotency_key_reused, idempotency_request_in_progress, group_not_empty, group_billed, place_in_use, resource_exists, place_name_taken or another state conflict.
429rate_limit_error: slow down and retry after the Retry-After delay.
500api_error: something went wrong on our side. Safe to retry with the same Idempotency-Key.
503api_error: isolation_unavailable (the resource's account isolation is not in place), service_unavailable (for example image storage not available in this environment) or model_unavailable (no on-device detector to offer in this environment). Retry later.

Every group an item has been in#

GET/v1/items/{id}/groups

Returns every group the item has been in as { group, joined_at, left_at } entries, oldest first.

Keys: secret key; restricted key with items:read or groups:read.

Parameters

FieldDescription
id requiredstring, pathItem id.
limitinteger, queryPage size, 1 to 100.
starting_afterstring, queryOpaque cursor: pass the next_cursor of the previous page. Results are ordered by (created_at, id).
expand[]array of string, queryReplace an id field with the full object, e.g. expand[]=origin_place. Allowed values are listed on each resource.

Request

TypeScript
for await (const log of timbereye.items.listGroups("itm_5Lw2Nc")) {
    // every page, one at a time
}
curl
curl https://api.timbereye.com/v1/items/itm_5Lw2Nc/groups \
  -H "Authorization: Bearer $TIMBEREYE_SECRET_KEY"
CLI
timbereye items groups itm_5Lw2Nc --json

Response

JSON
// 200
{
  "object": "list",
  "data": [
    {
      "object": "group_membership",
      "group": {
        "id": "grp_7QxV3m",
        "object": "group",
        "livemode": true,
        "client_id": null,
        "kind": "container",
        "name": "MSKU1234567",
        "external_ref": "ctr_4821",
        "parent_id": null,
        "origin_place_id": "plc_4Hk2pT",
        "origin": {
          "place_id": "plc_4Hk2pT",
          "source": "assigned",
          "determined_at": "2027-02-03T14:00:00Z",
          "assigned_by": {
            "type": "key",
            "id": "key_1a2B3c"
          },
          "evidence": null
        },
        "status": "open",
        "defaults": {
          "species": "PINE_TAEDA",
          "length_m": 11.8,
          "grade": null,
          "diameter_class_m": null
        },
        "weight": null,
        "summary": {
          "items": 0,
          "measured": 0,
          "refined": 0,
          "volume": {
            "rule": "jas",
            "m3": 0
          },
          "net_kg": null,
          "density_kg_m3": null,
          "weight_allocation": "none",
          "assigned_count": 0
        },
        "version": 0,
        "metadata": { "erp_booking": "BK-2231" },
        "created_at": "2027-02-03T14:05:11Z"
      },
      "joined_at": "2027-02-03T14:12:40Z",
      "left_at": null
    }
  ],
  "has_more": false,
  "next_cursor": null
}
Errors
StatusWhen
400invalid_request_error: the request was malformed or a field was invalid.
401authentication_error: missing, malformed, expired or revoked key.
403permission_error: the key lacks the scope, the capture token is limited to other groups, or the resource is read-only to you.
404invalid_request_error, resource_missing: no such object. Objects in another account are also reported as 404.
429rate_limit_error: slow down and retry after the Retry-After delay.
500api_error: something went wrong on our side. Safe to retry with the same Idempotency-Key.
503api_error: isolation_unavailable (the resource's account isolation is not in place), service_unavailable (for example image storage not available in this environment) or model_unavailable (no on-device detector to offer in this environment). Retry later.