Skip to main content
POST
/
v1
/
namespaces
/
{namespace_id}
/
plugins
/
{plugin_id}
/
realtime
/
test
Test plugin realtime inference
curl --request POST \
  --url https://api.mixpeek.com/v1/namespaces/{namespace_id}/plugins/{plugin_id}/realtime/test \
  --header 'Content-Type: application/json' \
  --data '
{
  "inputs": {},
  "parameters": {}
}
'
{
  "status": "success",
  "inference_name": "custom_plugin_my_embedder_1_0_0",
  "raw_response": {
    "embedding": [
      0.1,
      0.2,
      0.3
    ]
  },
  "response_type": "dict",
  "response_keys": [
    "embedding"
  ],
  "message": "Inference call to 'custom_plugin_my_embedder_1_0_0' succeeded"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

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

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Path Parameters

namespace_id
string
required
plugin_id
string
required

Body

application/json

Request to test a plugin's realtime inference endpoint.

Use this to debug plugin inference responses before using them in retrievers.

inputs
Inputs · object

Input data to pass to the inference service (e.g., {'text': 'hello'})

parameters
Parameters · object

Additional parameters for the inference call

Response

Inference test result

Response from testing a plugin's realtime inference endpoint.

Returns the raw inference response so users can verify their plugin is returning the expected format (e.g., embedding vectors).

status
string
required

Test result status: 'success' or 'error'

inference_name
string
required

The resolved inference service name that was called

raw_response
any

Raw response data from the inference service

response_type
string | null

Python type of the response (e.g., 'dict', 'list')

response_keys
string[] | null

Top-level keys if response is a dict

error
string | null

Error message if test failed

message
string | null

Human-readable status message