Skip to main content
POST
Infer onboarding configuration

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

Body

application/json
use_case_description
string
required

Free-text description of what the user wants to build.

Required string length: 5 - 2000
Examples:

"I want to search my product catalog by image"

"I need to moderate user-generated content on my platform"

content_types
string[]

Optional hint about data types the user has (e.g. 'video', 'pdf', 'image').

Examples:

Response

Successful Response

Template ID from the scaffold catalog (e.g. 'tmpl_scaffold_video_understanding').

scaffold_name
string
required

Human-readable template name.

confidence
number
required

Model confidence in this recommendation.

Required range: 0 <= x <= 1
reasoning
string
required

2-3 sentence explanation of why this scaffold was chosen.

extractors
SuggestedExtractor · object[]
required

Recommended feature extractors.

retriever_stages
SuggestedStage · object[]
required

Recommended retriever pipeline stages.

sample_queries
SampleQuery · object[]
required

Example search queries the user could run.

alternate_scaffold_id
string | null

Second-best template if the primary isn't a great fit.

alternate_scaffold_name
string | null