Skip to main content
PATCH
Update script metadata and agent settings. Use this to configure outreach messages, summary format, disqualification criteria, and other interview behavior. To modify individual tasks, use Update Task. All fields are optional. Only provided fields will be updated.
Agent settings affect all future interviews using this script. In-progress interviews continue with their original settings.

Authorizations

X-API-KEY
string
header
required

Your Classet API key. Create and rotate keys in Settings → API.

Path Parameters

scriptId
string
required

The ID of the script to update.

Body

application/json
name
string

The name of the script.

Minimum string length: 1
description
string

A description of the script's purpose.

default
boolean

Set to true to make this the default script. New jobs without a script_id will use this script.

completed_text_message
string | null

The message sent after an interview completes. Set to null to use the default.

initial_text_message
string | null

The first outreach message sent to candidates. Set to null to use the default.

filter_out_criteria
string | null

Instructions for when to automatically disqualify a candidate during the interview.

custom_summary_instructions
string | null

How the AI should format the interview summary (e.g. "Focus on trade experience and certifications").

custom_summary_example
string | null

An example summary for the AI to follow.

transcript_parsing_instructions
string | null

Instructions for extracting custom structured data from the transcript. Extracted data appears as interview_custom_data.

customization
any | null

Additional customization settings as a JSON object.

Response

Updated

data
object
required