# ZenSched Timesheet Export

> ZenSched Timesheet Export is a paid API for AI agents from mcp.zensched.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-17).

Exports timesheet data for workers in a specified period as CSV or JSON, with modes for raw punches, naive hours, or payroll-processed pair lines.

## Facts

- Endpoint: GET https://mcp.zensched.com/x402/tools/timesheet_export?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/zensched-timesheet-export-c4a444e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hrc4GKIMJNFrUwfWkAvKD

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability zensched-timesheet-export-c4a444e7
```

Example prompt: Pull the processed timesheet export for our current payroll period as a CSV — I need the engine-paired lines for all workers.

## When to prefer this

Use this endpoint when you need to extract structured timesheet or attendance data from ZenSched for payroll processing, auditing, or reporting. Prefer 'processed' mode for payroll-ready pair lines tied to a pay window; use 'raw' for audit trails of individual punches; use 'hours' for simple in/out summaries. Ideal for automating payroll pipelines or generating compliance reports without manual exports.

## Known failure modes

- Invalid period format — must be YYYY-MM, YYYY-MM-DD:YYYY-MM-DD, 'current', or blank
- 'processed' mode requires a defined payroll period to be configured; fails if none is set
- Invalid worker_ids_json — must be a valid JSON list of worker ID integers
- Unknown event_id returns empty results or error
- Payment failure (insufficient USDC balance) blocks the call at $0.10 per call
- First-time caller auto-provisions org; misconfigured wallet may cause provisioning errors

## How this service works

ZenSched `timesheet_export` — Export timesheet data. mode: hours (default, naive in/out), raw (punch rows), processed (engine pairlines, metered — requires payroll period). period: YYYY-MM, YYYY-MM-DD:YYYY-MM-DD, current (payroll window), or blank (calendar month). worker_ids_json: optional JSON list. event_id: optional filter. format: csv|json. Pay-per-call $0.10 USDC; the paying wallet owns the org (auto-provisioned on first call). Catalog: https://mcp.zensched.com/x402/tools

## Output

Returns timesheet data as CSV or JSON depending on the format parameter. In 'hours' mode, returns naive in/out worker hours. In 'raw' mode, returns individual punch rows. In 'processed' mode, returns engine-paired payroll lines metered to the payroll period. Results can be filtered by period, specific worker IDs, or event ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "title": "timesheet_exportArguments",
     "properties": {
      "mode": {
       "type": "string",
       "title": "Mode",
       "default": "hours"
      },
      "format": {
       "type": "string",
       "title": "Format",
       "default": "csv"
      },
      "period": {
       "type": "string",
       "title": "Period",
       "default": ""
      },
      "event_id": {
       "type": "integer",
       "title": "Event Id",
       "default": 0
      },
      "worker_ids_json": {
       "type": "string",
       "title": "Worker Ids Json",
       "default": ""
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/zensched-timesheet-export-c4a444e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp.zensched.com](https://www.zero.xyz/host/mcp.zensched.com/llms.txt)
