Skip to main content
POST
Create context

Authorizations

Authorization
string
header
required

Platform API key issued from Console > Platform API Keys. Format: nsl__.

Body

application/json
contextName
string
required

Operator-facing context name.

contextKey
string | null

Optional stable key for application or operational use.

contextType
string | null

Optional context type or surface category.

description
string
modelFamilyId
integer | null

Enabled model family. Null uses the default family.

architectureOverride
enum<string> | null

Optional retrieval architecture. Must be compatible with the selected family.

Available options:
content_embedding,
two_tower,
gsasrec,
semantic_id
architecture_override
string | null

Snake-case alias for architectureOverride.

jsonData
object | null
activeTenantModelId
integer | null

A ready, deployed model owned by this tenant. Catalog recommenders currently support personalized discovery and email digest contexts.

Response

Created context

The response is of type object.