Agave · Capability

Agave Unified Construction API — Timesheets

Agave Unified Construction API — Timesheets. 1 operations. Lead operation: Agave List Timesheets. Self-contained Naftiko capability covering one Agave business surface.

Run with Naftiko AgaveTimesheets

What You Can Do

GET
Listtimesheets — Agave List Timesheets
/v1/timesheets

MCP Tools

agave-list-timesheets

Agave List Timesheets

read-only idempotent

Capability Spec

unified-timesheets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Agave Unified Construction API — Timesheets
  description: 'Agave Unified Construction API — Timesheets. 1 operations. Lead operation: Agave List Timesheets. Self-contained
    Naftiko capability covering one Agave business surface.'
  tags:
  - Agave
  - Timesheets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AGAVE_API_KEY: AGAVE_API_KEY
capability:
  consumes:
  - type: http
    namespace: unified-timesheets
    baseUri: https://api.agaveapi.com/v1
    description: Agave Unified Construction API — Timesheets business capability. Self-contained, no shared references.
    resources:
    - name: timesheets
      path: /timesheets
      operations:
      - name: listtimesheets
        method: GET
        description: Agave List Timesheets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: source_system_id
          in: header
          type: string
          description: The linked account source system identifier.
          required: true
        - name: project_id
          in: query
          type: string
          description: Filter timesheets by project ID.
        - name: date_from
          in: query
          type: string
          description: Start date for timesheet filter (YYYY-MM-DD).
        - name: date_to
          in: query
          type: string
          description: End date for timesheet filter (YYYY-MM-DD).
    authentication:
      type: apikey
      key: API-Key
      value: '{{env.AGAVE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: unified-timesheets-rest
    port: 8080
    description: REST adapter for Agave Unified Construction API — Timesheets. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/timesheets
      name: timesheets
      description: REST surface for timesheets.
      operations:
      - method: GET
        name: listtimesheets
        description: Agave List Timesheets
        call: unified-timesheets.listtimesheets
        with:
          source_system_id: rest.source_system_id
          project_id: rest.project_id
          date_from: rest.date_from
          date_to: rest.date_to
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: unified-timesheets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Agave Unified Construction API — Timesheets. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: agave-list-timesheets
      description: Agave List Timesheets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: unified-timesheets.listtimesheets
      with:
        source_system_id: tools.source_system_id
        project_id: tools.project_id
        date_from: tools.date_from
        date_to: tools.date_to
      outputParameters:
      - type: object
        mapping: $.