Skip to main content
Create Custom Analysis Item
description is the instruction, not a label. It is what the model is told to look for, so write it as a direction rather than a title.
Set extraction_method: "regex" with constraints.pattern to pull a value out by pattern instead of by model. Regex items cost nothing, and a group made only of them makes no model call at all. The extracted values arrive on the call: custom_analysis["Lead QA"]["Lead Temperature"].

Authorizations

Authorization
string
header
required

Your API key as a Bearer token, e.g. Authorization: Bearer vk_….

Body

application/json
name
string
required

What to call this value. Part of the key it arrives under — custom_analysis["Lead QA"]["Lead Temperature"].

Required string length: 1 - 255
description
string
required

The instruction the model reads, not a label. Write it as a direction — what to look for — rather than a title.

Minimum string length: 1
result_format
string
required

The shape of the value: string, number, integer, boolean, array or object.

Maximum string length: 16
category_id
string
required

Which group this value belongs to, from GET /v1/custom-analysis.

extraction_method
string
default:ai

regex pulls the value out by pattern using constraints.pattern and costs nothing; anything else asks the model. A group made only of regex items makes no model call at all.

Maximum string length: 8
required
boolean
default:false

Whether the model must produce a value rather than leaving it out.

constraints
CustomAnalysisConstraints · object

Limits on the value — a fixed set with enum, a range, a regex, a length.

fields
CustomAnalysisFieldSpec · object[]

The inner fields, when result_format is object or array.

enabled
boolean
default:true

Turn it off without deleting it.

Response

The created item.

id
string
category_id
string
name
string
description
string
result_format
enum<string>
Available options:
string,
number,
integer,
boolean,
array,
object
extraction_method
enum<string>
Available options:
ai,
regex
required
boolean
constraints
object
fields
object[]
enabled
boolean
is_system
boolean
created_at
string<date-time>
updated_at
string<date-time>