KosmoKrator

hr

Ashby CLI for AI Agents

Use the Ashby CLI from KosmoKrator to call Ashby tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

7 functions 7 read 0 write Bearer token auth

Ashby CLI Setup

Ashby can be configured headlessly with `kosmokrator integrations:configure ashby`.

# 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 ashby --set access_token="$ASHBY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor ashby --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token ASHBY_ACCESS_TOKEN Secret secret yes Access Token
url ASHBY_URL URL url no API Base URL

Call Ashby Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call ashby.ashby_get_application '{
  "id": "example_id"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:ashby ashby_get_application '{
  "id": "example_id"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs ashby --json
kosmo integrations:docs ashby.ashby_get_application --json
kosmo integrations:schema ashby.ashby_get_application --json
kosmo integrations:search "Ashby" --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 Ashby.

ashby.ashby_get_application

Read read

Get detailed information about a specific job application in Ashby, including candidate details, status, and evaluation data.

Parameters
id

Generic CLI call

kosmo integrations:call ashby.ashby_get_application '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:ashby ashby_get_application '{"id":"example_id"}' --json

ashby.ashby_get_current_user

Read read

Get the profile of the currently authenticated Ashby user. Use this to verify API access and see user details.

Parameters
none

Generic CLI call

kosmo integrations:call ashby.ashby_get_current_user '{}' --json

Provider shortcut

kosmo integrations:ashby ashby_get_current_user '{}' --json

ashby.ashby_get_interview

Read read

Get detailed information about a specific interview in Ashby, including scheduled time, interviewers, feedback, and scorecards.

Parameters
id

Generic CLI call

kosmo integrations:call ashby.ashby_get_interview '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:ashby ashby_get_interview '{"id":"example_id"}' --json

ashby.ashby_get_job

Read read

Get detailed information about a specific job in Ashby, including full description, requirements, compensation, and hiring team.

Parameters
id

Generic CLI call

kosmo integrations:call ashby.ashby_get_job '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:ashby ashby_get_job '{"id":"example_id"}' --json

ashby.ashby_list_applications

Read read

List job applications in Ashby. Returns applications with candidate info, status, and associated job. Use filters to narrow by job or status.

Parameters
limit, offset, job_id, status

Generic CLI call

kosmo integrations:call ashby.ashby_list_applications '{"limit":1,"offset":1,"job_id":"example_job_id","status":"example_status"}' --json

Provider shortcut

kosmo integrations:ashby ashby_list_applications '{"limit":1,"offset":1,"job_id":"example_job_id","status":"example_status"}' --json

ashby.ashby_list_interviews

Read read

List scheduled interviews in Ashby. Returns interview details with date, time, interviewers, and associated application. Filter by application to see interviews for a specific candidate.

Parameters
limit, offset, application_id

Generic CLI call

kosmo integrations:call ashby.ashby_list_interviews '{"limit":1,"offset":1,"application_id":"example_application_id"}' --json

Provider shortcut

kosmo integrations:ashby ashby_list_interviews '{"limit":1,"offset":1,"application_id":"example_application_id"}' --json

ashby.ashby_list_jobs

Read read

List job postings in Ashby. Returns open and closed positions with department, location, and application count. Filter by status to find active openings.

Parameters
limit, offset, status

Generic CLI call

kosmo integrations:call ashby.ashby_list_jobs '{"limit":1,"offset":1,"status":"example_status"}' --json

Provider shortcut

kosmo integrations:ashby ashby_list_jobs '{"limit":1,"offset":1,"status":"example_status"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

ashby.ashby_get_application

Get detailed information about a specific job application in Ashby, including candidate details, status, and evaluation data.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_get_application --json
ParameterTypeRequiredDescription
id string yes The application ID.

ashby.ashby_get_current_user

Get the profile of the currently authenticated Ashby user. Use this to verify API access and see user details.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

ashby.ashby_get_interview

Get detailed information about a specific interview in Ashby, including scheduled time, interviewers, feedback, and scorecards.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_get_interview --json
ParameterTypeRequiredDescription
id string yes The interview ID.

ashby.ashby_get_job

Get detailed information about a specific job in Ashby, including full description, requirements, compensation, and hiring team.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_get_job --json
ParameterTypeRequiredDescription
id string yes The job ID.

ashby.ashby_list_applications

List job applications in Ashby. Returns applications with candidate info, status, and associated job. Use filters to narrow by job or status.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_list_applications --json
ParameterTypeRequiredDescription
limit integer no Maximum number of applications to return (default: 100).
offset integer no Number of results to skip for pagination.
job_id string no Filter applications by job ID.
status string no Filter by application status (e.g., "hired", "rejected", "active").

ashby.ashby_list_interviews

List scheduled interviews in Ashby. Returns interview details with date, time, interviewers, and associated application. Filter by application to see interviews for a specific candidate.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_list_interviews --json
ParameterTypeRequiredDescription
limit integer no Maximum number of interviews to return (default: 100).
offset integer no Number of results to skip for pagination.
application_id string no Filter interviews by application ID.

ashby.ashby_list_jobs

List job postings in Ashby. Returns open and closed positions with department, location, and application count. Filter by status to find active openings.

Operation
Read read
Schema command
kosmo integrations:schema ashby.ashby_list_jobs --json
ParameterTypeRequiredDescription
limit integer no Maximum number of jobs to return (default: 100).
offset integer no Number of results to skip for pagination.
status string no Filter by job status (e.g., "open", "closed", "draft").

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.