Collect a Prepublish audit by id
get_auditFetch the current state of an audit that was started earlier, using the analysis_id that audit_script returned. Use this when a previous audit was still running, or when the user refers back to an audit from earlier in the conversation. It performs no new analysis and costs nothing. This is a text-only check of an unrecorded script. It maps relative attention risk inside the draft. It does not measure or predict published YouTube retention, and it cannot account for delivery, editing, thumbnail, topic or distribution.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| analysis_id | Yes | The analysis_id returned by audit_script. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notice | Yes | The scope limit that accompanies every Prepublish result. Repeat it to the user rather than dropping it. | |
| analysis | No | The audit at whatever state it has reached: read its "status" field first, because an audit that has not settled carries no scores. Once settled it carries the projected report described on audit_script, and an audit that failed carries its error_message. | |
| analysis_id | Yes | The id that was requested, echoed back. | |
| open_in_browser | Yes | Permalink to the same audit on prepublish.ai. |