Skip to main content

Public REST/JSON reference

Timesheet Anomaly Detector API

Detects unusual time-entry patterns, overtime spikes, missing approvals, and policy exceptions in timesheet data. Use this API to import timesheets, run anomaly detection, inspect employee or period findings, triage flagged entries, and report payroll risk before approval deadlines. Part of the Logic Igniter HR & Workforce Suite.

Access boundary

These examples describe public API calls only. Use the service output to review, score, summarize, analyze, or recommend; do not treat the API reference as permission for an assistant to write, send, publish, charge, schedule, notify, delete, or modify records.

Base URL

https://api.logicigniter.com

Auth

Authorization: Bearer YOUR_API_KEY

Version

OpenAPI 3.0.3 · 1.0.0

Operations rendered

7

Response models rendered

11

POST/api/v1/timesheetanomaly/timesheets/import

Import timesheets

Import timesheet entries for anomaly detection.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: ImportTimesheetsRequest

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/timesheetanomaly/timesheets/import" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'

Responses

Successful response

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

GET/api/v1/timesheetanomaly/timesheets

List timesheet periods

Return imported timesheet periods and detection status.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
page_sizequeryinteger
page_tokenquerystring

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/timesheetanomaly/timesheets" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

POST/api/v1/timesheetanomaly/anomalies/detect

Detect anomalies

Run anomaly detection for an imported timesheet period.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request body (required)

Schema: DetectAnomaliesRequest

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X POST "https://api.logicigniter.com/api/v1/timesheetanomaly/anomalies/detect" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'

Responses

Successful response

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

GET/api/v1/timesheetanomaly/anomalies

List anomalies

Return detected timesheet anomalies with filters for severity and status.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
page_sizequeryinteger
page_tokenquerystring

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/timesheetanomaly/anomalies" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

GET/api/v1/timesheetanomaly/anomalies/{id}

Get anomaly detail

Return one anomaly with evidence entries and policy context.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
idrequiredpathstring

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/timesheetanomaly/anomalies/:id" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

PUT/api/v1/timesheetanomaly/anomalies/{id}/triage

Triage anomaly

Mark an anomaly as approved, corrected, escalated, or dismissed.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Parameters

NameInTypeNotes
idrequiredpathstring

Request body (required)

Schema: TriageAnomalyRequest

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X PUT "https://api.logicigniter.com/api/v1/timesheetanomaly/anomalies/:id/triage" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{}'

Responses

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

GET/api/v1/timesheetanomaly/reports/payroll-risk

Get payroll risk report

Return payroll-period risk summary before approval or export.

Public REST/JSON operation

This operation is documented for direct API evaluation. It describes the public payload and response contract only; assistant/MCP usage remains read only and is covered in the MCP guide.

Request example

Replace placeholders with your confirmed access key and your own business data.

curl -X GET "https://api.logicigniter.com/api/v1/timesheetanomaly/reports/payroll-risk" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"

Responses

Successful response

Invalid request payload or query parameter.

Missing, expired, or invalid bearer token.

Active HR & Workforce Suite subscription required.

Requested resource was not found for this workspace.

Unexpected service error.

Data models

Error

FieldTypeNotes
coderequiredstringExample: "invalid_request"
messagerequiredstringExample: "The request body is missing a required field."
request_idstringExample: "req_01HX7K9Z8W"

TimesheetAnomaly

FieldTypeNotes
anomaly_idrequiredstringExample: "anom_2026_w19_014"
employee_idrequiredstringExample: "emp_1042"
period_startrequiredstring (date)Example: "2026-05-04"
period_endrequiredstring (date)Example: "2026-05-10"
anomaly_typerequiredstringExample: "overtime_spike"
severityrequiredstringExample: "HIGH"
hours_flaggedrequirednumberExample: 14.5
statusrequiredstringExample: "open"

TimesheetAnomalies

FieldTypeNotes
itemsrequiredarray<TimesheetAnomaly>
next_page_tokenstringExample: "eyJvZmZzZXQiOjI1fQ=="

ImportTimesheetsRequest

FieldTypeNotes
sourcerequiredstringExample: "csv_upload"
period_startrequiredstring (date)Example: "2026-05-04"
period_endrequiredstring (date)Example: "2026-05-10"
entriesrequiredarray<object>Example: [{"employee_id":"emp_1042","date":"2026-05-07","hours":13.5,"project_code":"OPS"}]

DetectionRun

ImportTimesheetsResult

TriageAnomalyRequest

FieldTypeNotes
sourcerequiredstringExample: "csv_upload"
period_startrequiredstring (date)Example: "2026-05-04"
period_endrequiredstring (date)Example: "2026-05-10"
entriesrequiredarray<object>Example: [{"employee_id":"emp_1042","date":"2026-05-07","hours":13.5,"project_code":"OPS"}]

TimesheetPeriods

FieldTypeNotes
itemsrequiredarray<object>
next_page_tokenstringExample: null

TriageResult

PayrollRiskReport

DetectAnomaliesRequest

FieldTypeNotes
sourcerequiredstringExample: "csv_upload"
period_startrequiredstring (date)Example: "2026-05-04"
period_endrequiredstring (date)Example: "2026-05-10"
entriesrequiredarray<object>Example: [{"employee_id":"emp_1042","date":"2026-05-07","hours":13.5,"project_code":"OPS"}]