{"version":"v1","documentation":"https://infersync.com/docs/api","authentication":{"headers":["x-api-key: <key>","Authorization: Bearer <key>"],"note":"Keys are workspace-scoped and are issued from Settings, Developer access on live.infersync.com."},"scopes":[{"scope":"work_items:read","description":"Read work items and their time totals"},{"scope":"work_items:write","description":"Create and update work items, and start or stop timers"},{"scope":"members:read","description":"Read workspace members and their skills"},{"scope":"time:read","description":"Read time entries"},{"scope":"time:write","description":"Create time entries"},{"scope":"work_items:delete","description":"Delete work items created through the API"},{"scope":"time:delete","description":"Delete time entries"},{"scope":"autopilot:execute","description":"Run autopilot commands (consumes AI credits)"}],"endpoints":[{"method":"GET","path":"/v1/work-items","scope":"work_items:read"},{"method":"POST","path":"/v1/work-items","scope":"work_items:write"},{"method":"GET","path":"/v1/work-items/{id}","scope":"work_items:read"},{"method":"PATCH","path":"/v1/work-items/{id}","scope":"work_items:write"},{"method":"DELETE","path":"/v1/work-items/{id}","scope":"work_items:delete","note":"Only items created through this API, with no time logged and no running timer. Removes the item's timer sessions."},{"method":"POST","path":"/v1/work-items/{id}/timer","scope":"work_items:write"},{"method":"GET","path":"/v1/members","scope":"members:read"},{"method":"GET","path":"/v1/members/{id}","scope":"members:read"},{"method":"GET","path":"/v1/time-entries","scope":"time:read"},{"method":"POST","path":"/v1/time-entries","scope":"time:write"},{"method":"DELETE","path":"/v1/time-entries/{id}","scope":"time:delete","note":"Permanent. Does not adjust the work item's time total, which the timer endpoints own."},{"method":"POST","path":"/v1/autopilot/commands","scope":"autopilot:execute","note":"Requires `memberId`: the command runs as that member, with their role deciding which actions may execute."}],"pagination":{"parameters":["limit","offset"],"defaultLimit":25,"maxLimit":100,"note":"List responses return { data, pagination: { limit, offset, total, hasMore } }."},"errors":{"shape":{"error":{"code":"string","message":"string","details":"object (optional)"}},"note":"Branch on `code`, not on `message`. Messages may be reworded without notice."}}