Kimai icon

Kimai

Interact with Kimai time-tracking API

Team → Get All

AI-generated

Summary

Retrieves all teams from the Kimai instance via GET /api/teams.

Inputs

  • requestOptions — Collection of HTTP-level configuration options for the request.

Output shape

API response body from /api/teams

Returns the array of team objects indexed by the Kimai backend.

Examples

Example 1: Default fetch with no throttling

Leave requestOptions empty or set default values; the node issues an unauthenticated GET to /api/teams.

Example 2: Fetched with batching enabled

Set batchSize to 20 and batchInterval to 500 in requestOptions.batching to split the request into throttled sub-requests.

Discussion