Update Agent Insights project guidance
Saves the project guidance sent to every Agent Insights run, creating the job (disabled) if the project has none. Empty or whitespace-only clears it. The guidance version is bumped only when the text changes. 404 while guidance is not enabled.
Path parameters
projectId
Request
This endpoint expects an object.
guidance
Project guidance for Agent Insights runs. Empty or whitespace-only clears it
Response
Job with the saved guidance
project_id
id
status
Allowed values:
auto_first_run_enrolled
auto_first_run_at
last_scan_at
last_failure_reason
last_failure_detail
last_failed_at
guidance
Project guidance sent to every run; null when none
guidance_updated_by
Who last saved the guidance
guidance_updated_at
When the guidance was last saved
guidance_version
Bumped each time the guidance text changes; 0 = never saved
results_guidance_version
Guidance version the current results were produced with; null = no run since guidance existed
created_at
created_by
last_updated_at
last_updated_by
Errors
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error