---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Generate an assessment with the on-demand API

# Generate an assessment with the on-demand API {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
The Assign Assessment buttons call an API to generate on-demand
assessments.

## Before you begin

Role required: assessment_admin or admin

## About this task

## Procedure

1. To generate an assessment, call the [AssessmentCreation
   API](https://www.servicenow.com/docs/access?context=c_AssessmentCreation&version=brazil&pubname=brazil-api-reference&ft:locale=en-US) from any script in the system, such as a business rule or client script.
2. Use the sys_ids of these items:  
   * An assessable record to evaluate. The assessable record must be associated with an on-demand type and at least one category that contains non-scripted metrics.
   * One or more users who should perform the assessment. The API generates a questionnaire about the specified assessable record for each user.
   {#t_GenAssessmentOnDemandAPI__ul_unq_4ws_2r}
**Related concepts**   

* [Assessment generation](https://servicenow-prod.fluidtopics.net/XfT0z2lEaSsfiIQeqnM~5A "In the Assessments application, administrators or assessment administrators can trigger the system to generate scheduled assessments or on-demand assessments when all the prerequisite steps are completed.")
* [Scheduled assessments](https://servicenow-prod.fluidtopics.net/fVqhUnmcAQO1f9ZM7ZJmmQ "The system generates a unique scheduled job for each metric type with the Schedule type field set to Scheduled.")
* [Assessment instances](https://servicenow-prod.fluidtopics.net/JXpDpGl5V_Bya3O9sJJT8Q "An assessment instance represents one occurrence of a questionnaire assigned to one user.")  
**Related tasks**   

* [Generate a scheduled assessment manually](https://servicenow-prod.fluidtopics.net/a5D3OyotWUU2akfu1v6Qww "Administrators can generate scheduled assessments manually.")
* [Generate a vendor type assessment manually](https://servicenow-prod.fluidtopics.net/PF_TOC0AOarEOiNveJf7FA "The Vendor Performance feature provides a direct method of generating assessments for the Vendor metric type.")
* [Set an assessment generation schedule](https://servicenow-prod.fluidtopics.net/rXyT0Q7cysdmVNKiE88ymw "You can set assessment generation schedules. You must set a schedule for each metric type individually.")
* [View an assessment instance](https://servicenow-prod.fluidtopics.net/ixdqadYNsGcK3qFpXyygkw "An assessment instance represents one occurrence of a questionnaire assigned to one user.")
* [Clean up assessment data](https://servicenow-prod.fluidtopics.net/c5rm_wMupd8BEdnTOdBGtg "The assessment process generates a considerable amount of data, some of which is not useful after a short time.")

