Clockify CLI Setup Clockify can be configured headlessly with `kosmokrator integrations:configure clockify`.
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash
# Configure and verify this integration.
kosmokrator integrations:configure clockify --set api_key=" $CLOCKIFY_API_KEY " --enable --read allow --write ask --json
kosmokrator integrations:doctor clockify --json
kosmokrator integrations:status --json Credentials
Authentication type: API key api_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Call Clockify Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call clockify.clockify_list_workspaces '{}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:clockify clockify_list_workspaces '{}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs clockify --json
kosmo integrations:docs clockify.clockify_list_workspaces --json
kosmo integrations:schema clockify.clockify_list_workspaces --json
kosmo integrations:search "Clockify" --json
kosmo integrations:list --json All CLI Functions
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Clockify.
clockify.clockify_list_workspaces Read read List all Clockify workspaces the authenticated user belongs to. Returns workspace IDs and names needed for other Clockify tools.
none kosmo integrations:call clockify.clockify_list_workspaces '{}' --json copy kosmo integrations:clockify clockify_list_workspaces '{}' --json copy
clockify.clockify_get_workspace Read read Get details for a single Clockify workspace by ID.
workspace_id kosmo integrations:call clockify.clockify_get_workspace '{"workspace_id":"example_workspace_id"}' --json copy kosmo integrations:clockify clockify_get_workspace '{"workspace_id":"example_workspace_id"}' --json copy
clockify.clockify_list_projects Read read List projects in a Clockify workspace. Optionally filter by name and paginate results.
workspace_id, name, page, page_size kosmo integrations:call clockify.clockify_list_projects '{"workspace_id":"example_workspace_id","name":"example_name","page":1,"page_size":1}' --json copy kosmo integrations:clockify clockify_list_projects '{"workspace_id":"example_workspace_id","name":"example_name","page":1,"page_size":1}' --json copy
clockify.clockify_get_project Read read Get details for a single Clockify project by ID.
workspace_id, project_id kosmo integrations:call clockify.clockify_get_project '{"workspace_id":"example_workspace_id","project_id":"example_project_id"}' --json copy kosmo integrations:clockify clockify_get_project '{"workspace_id":"example_workspace_id","project_id":"example_project_id"}' --json copy
clockify.clockify_create_project Write write Create a new project in a Clockify workspace.
workspace_id, name, color, is_public kosmo integrations:call clockify.clockify_create_project '{"workspace_id":"example_workspace_id","name":"example_name","color":"example_color","is_public":true}' --json copy kosmo integrations:clockify clockify_create_project '{"workspace_id":"example_workspace_id","name":"example_name","color":"example_color","is_public":true}' --json copy
clockify.clockify_list_time_entries Read read List time entries in a Clockify workspace. Optionally filter by date range or project.
workspace_id, start, end, project, page, page_size kosmo integrations:call clockify.clockify_list_time_entries '{"workspace_id":"example_workspace_id","start":"example_start","end":"example_end","project":"example_project","page":1,"page_size":1}' --json copy kosmo integrations:clockify clockify_list_time_entries '{"workspace_id":"example_workspace_id","start":"example_start","end":"example_end","project":"example_project","page":1,"page_size":1}' --json copy
clockify.clockify_get_time_entry Read read Get details for a single Clockify time entry by ID.
workspace_id, time_entry_id kosmo integrations:call clockify.clockify_get_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id"}' --json copy kosmo integrations:clockify clockify_get_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id"}' --json copy
clockify.clockify_create_time_entry Write write Create a new time entry in a Clockify workspace. Provide start/end times, a description, and optionally a project.
workspace_id, start, end, description, project_id kosmo integrations:call clockify.clockify_create_time_entry '{"workspace_id":"example_workspace_id","start":"example_start","end":"example_end","description":"example_description","project_id":"example_project_id"}' --json copy kosmo integrations:clockify clockify_create_time_entry '{"workspace_id":"example_workspace_id","start":"example_start","end":"example_end","description":"example_description","project_id":"example_project_id"}' --json copy
clockify.clockify_update_time_entry Write write Update an existing Clockify time entry. Provide the fields you want to change.
workspace_id, time_entry_id, start, end, description, project_id kosmo integrations:call clockify.clockify_update_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id","start":"example_start","end":"example_end","description":"example_description","project_id":"example_project_id"}' --json copy kosmo integrations:clockify clockify_update_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id","start":"example_start","end":"example_end","description":"example_description","project_id":"example_project_id"}' --json copy
clockify.clockify_delete_time_entry Write write Delete a Clockify time entry. This action cannot be undone.
workspace_id, time_entry_id kosmo integrations:call clockify.clockify_delete_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id"}' --json copy kosmo integrations:clockify clockify_delete_time_entry '{"workspace_id":"example_workspace_id","time_entry_id":"example_time_entry_id"}' --json copy
clockify.clockify_list_tasks Read read List tasks for a Clockify project.
workspace_id, project_id, page, page_size kosmo integrations:call clockify.clockify_list_tasks '{"workspace_id":"example_workspace_id","project_id":"example_project_id","page":1,"page_size":1}' --json copy kosmo integrations:clockify clockify_list_tasks '{"workspace_id":"example_workspace_id","project_id":"example_project_id","page":1,"page_size":1}' --json copy
clockify.clockify_get_current_user Read read Get the authenticated Clockify user profile. Use this to verify your API key is working.
none kosmo integrations:call clockify.clockify_get_current_user '{}' --json copy kosmo integrations:clockify clockify_get_current_user '{}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_list_workspaces --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_get_workspace --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_list_projects --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_get_project --json
Operation Write write
Schema command kosmo integrations:schema clockify.clockify_create_project --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_list_time_entries --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_get_time_entry --json
Operation Write write
Schema command kosmo integrations:schema clockify.clockify_create_time_entry --json
Operation Write write
Schema command kosmo integrations:schema clockify.clockify_update_time_entry --json
Operation Write write
Schema command kosmo integrations:schema clockify.clockify_delete_time_entry --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_list_tasks --json
Operation Read read
Schema command kosmo integrations:schema clockify.clockify_get_current_user --json Permissions
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.