Skip to main content

People metrics (user_metrics)

One row per person Bilanc knows about, merged across every connected source. These two metrics are the only ones that take no date window: start_date and date_field are not required and are ignored.
count
Distinct people. Response column number_of_users. The dashboard uses this with group_by to build the roster that other metrics are merged onto, so teams with no activity still appear.
aggregation required
Salary aggregate. Response column {agg}_salary. Returns 403 unless the org has salary visibility enabled and the key owner has the can-view-salaries permission.

Example: export the roster

Example: headcount by team

object
member, team, departments, locations, levels, squad_ids, squad_levels, manager_ids, and source_types (the integration types the person was merged from, e.g. github, jira).

Survey metrics

Bilanc developer-experience surveys are modelled as two tables: survey_recipients (who each survey was sent to) and survey_responses (one row per answered question).
Survey metrics return 403 unless the API key was created by an Owner or Manager.
count
Distinct recipients. Table survey_recipients, response column survey_recipients_count.
count
Recipients who submitted a final response. Table survey_recipients, response column survey_completed_recipients_count.
count
Distinct answered questions. Table survey_responses, response column survey_responses_count.
count
Distinct people who answered, counting both Bilanc users and external invitees. Table survey_responses, response column survey_respondents_count.

Example: completion rate per survey

Example: every answer to one survey

Responses are anonymous at the question level in the dashboard; the API applies the same role gating rather than hiding columns, so treat exports accordingly.

Parameter notes

string
survey_responses: final_response_submitted_at (default), response_created_at, response_updated_at, sent_at. survey_recipients: created_at (default), sent_at, survey_email_sent_at, final_response_submitted_at.
object
Both tables: survey_ids plus the standard people filters. survey_responses also accepts survey_template_question_ids and survey_response_types.
string[]
Useful survey columns: survey_id, survey_name, survey_status, section_id, section_title, survey_template_question_id, question_text, response_type, answer_value, answer_comment, answer_other_text, recipient_type.