KosmoKrator

hr

Freshteam CLI for Headless Automation

Use the Freshteam CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 7 read 0 write Bearer token auth

Freshteam CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Freshteam CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Freshteam CLI for Headless Automation
kosmokrator integrations:configure freshteam --set access_token="$FRESHTEAM_ACCESS_TOKEN" --set domain="$FRESHTEAM_DOMAIN" --enable --read allow --write ask --json
kosmo integrations:call freshteam.freshteam_list_candidates '{"page":1,"per_page":1,"status":"example_status"}' --json

Discovery Before Execution

Agents and scripts can inspect Freshteam docs and schemas before choosing a function.

kosmo integrations:docs freshteam --json
kosmo integrations:docs freshteam.freshteam_list_candidates --json
kosmo integrations:schema freshteam.freshteam_list_candidates --json
kosmo integrations:search "Freshteam" --json
kosmo integrations:list --json

Useful Freshteam CLI Functions

FunctionTypeParametersDescription
freshteam.freshteam_list_candidates Read page, per_page, status List recruitment candidates from Freshteam. Returns paginated candidate records with optional filtering by status.
freshteam.freshteam_get_candidate Read id Retrieve detailed information about a specific candidate in Freshteam by their ID.
freshteam.freshteam_list_job_postings Read page, per_page, status, department_id List job postings from Freshteam. Returns paginated job records with optional filtering by status and department.
freshteam.freshteam_get_job_posting Read id Retrieve detailed information about a specific job posting in Freshteam by its ID.
freshteam.freshteam_list_employees Read page, per_page, department_id List employees from Freshteam. Returns paginated employee records with optional filtering by department.
freshteam.freshteam_get_employee Read id Retrieve detailed information about a specific employee in Freshteam by their ID.
freshteam.freshteam_get_current_user Read none Retrieve the profile of the currently authenticated Freshteam user. Useful for verifying the connection and identifying which account is active.

Automation Notes

Related Freshteam CLI Pages