generate_role
Start generating a structured role profile — description, responsibilities, skills with proficiency levels. Returns immediately with a role_id; generation continues in the background, so poll check_role_status. Spends one of this account's role-generation credits. Only one generation runs at a time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_title | Yes | A single job title, e.g. "Staff Data Engineer". Not a list. | |
| company_name | Yes | The organization the role is for. | |
| job_description | No | Full text of a related job description, used as source context. Strongly recommended for titles labor-market data may not recognize. | |
| learning_resources_source | No | Which catalog the suggested courses come from. Ignored when include_learning_resources is false. | Skillsoft |
| include_learning_resources | No | Attach suggested courses to each skill, readable later at result[].skills[].learning_resources. On by default. Turn it off for a shorter profile when nobody is going to act on the training suggestions. | |
| use_job_description_if_title_not_found | No | Build the role from the job description when the title cannot be matched to labor-market data, instead of failing. Defaults to true when job_description is supplied, and has no effect without one. |