Draft a rubric from a job description
POST
/organisations/{orgId}/roles/draft-rubric
const url = 'https://kravos-orchestrator.onrender.com/organisations/example/roles/draft-rubric';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"jobDescriptionText":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://kravos-orchestrator.onrender.com/organisations/example/roles/draft-rubric \ --header 'Content-Type: application/json' \ --data '{ "jobDescriptionText": "example" }'Sends the job description to a language model and returns suggested rubric dimensions. A drafting aid only: nothing is persisted until the role is created or updated.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”orgId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
jobDescriptionText
required
string
Examplegenerated
{ "jobDescriptionText": "example"}Responses
Section titled “ Responses ”Default Response