Skip to main content
PUT
/
api
/
v1
/
analyzers
/
{internal_id}
Update an analyzer configuration
curl --request PUT \
  --url https://{subdomain}.mihu.ai/api/v1/analyzers/{internal_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "update_behavior": "automatic_update",
  "analysis_goals": "Extract the order number whenever the customer mentions it.",
  "example_values": "ORD-1001\\n9192 001023\\nTEST-ORDER-42"
}
'

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

internal_id
string
required

Analyzer identifier to update. Prefix meaning: b_ = built-in contact field, f_ = custom contact field, p_ = pipeline stage rule. Examples: f_order_number, p_initial_contact.

Body

application/json
update_behavior
enum<string>

How extracted values should be applied.

Available options:
dont_update,
update_if_empty,
ask_approval_if_existing,
manual_approval,
automatic_update
Example:

"automatic_update"

analysis_goals
string | null

Short instruction telling the AI what information to extract.

Maximum string length: 1000
Example:

"Extract the order number whenever the customer mentions it."

example_values
string | null

Optional sample values. Used for contact field analyzers; not used for pipeline analyzers.

Maximum string length: 1000
Example:

"ORD-1001\\n9192 001023\\nTEST-ORDER-42"

Response

Analyzer updated