All URIs are relative to https://api.mixpeek.com
| Method | HTTP request | Description |
|---|---|---|
| get_extractor_namespaces | GET /v1/namespaces/{namespace_id}/extractors/{extractor_id} | Get extractor details |
| list_extractors_namespaces | GET /v1/namespaces/{namespace_id}/extractors | List all extractors available to namespace |
UnifiedExtractorResponse get_extractor_namespaces(namespace_id, extractor_id, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
Get extractor details
Get detailed information about a specific extractor.
Works for both builtin extractors and custom plugins.
Parameters:
extractor_id: Extractor identifier (e.g., 'text_extractor_v1', 'my_custom_plugin_1_0_0')
Response includes:
- Full schema information (input, output, parameters)
- Vector index configuration
- For custom plugins: deployment status, validation status
import mixpeek
from mixpeek.models.unified_extractor_response import UnifiedExtractorResponse
from mixpeek.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.mixpeek.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mixpeek.Configuration(
host = "https://api.mixpeek.com"
)
# Enter a context with an instance of the API client
with mixpeek.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mixpeek.NamespaceExtractorsApi(api_client)
namespace_id = 'namespace_id_example' # str |
extractor_id = 'extractor_id_example' # str |
authorization = 'authorization_example' # str | REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings. (optional)
authorization2 = 'authorization_example' # str | (optional)
x_namespace = 'x_namespace_example' # str | REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace' (optional)
try:
# Get extractor details
api_response = api_instance.get_extractor_namespaces(namespace_id, extractor_id, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
print("The response of NamespaceExtractorsApi->get_extractor_namespaces:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling NamespaceExtractorsApi->get_extractor_namespaces: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| namespace_id | str | ||
| extractor_id | str | ||
| authorization | str | REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings. | [optional] |
| authorization2 | str | [optional] | |
| x_namespace | str | REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace' | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Extractor details | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Extractor not found | - |
| 422 | Validation Error | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UnifiedExtractorListResponse list_extractors_namespaces(namespace_id, source=source, include_disabled=include_disabled, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
List all extractors available to namespace
List all feature extractors available for use in this namespace.
This endpoint returns a unified view combining:
- Builtin extractors: Core extractors shipped with Mixpeek (text_extractor, image_extractor, etc.)
- Custom plugins: User-uploaded plugins at org or namespace level (Enterprise)
Each extractor includes:
input_schema: JSON schema for input data validationoutput_schema: JSON schema for output document structureparameter_schema: JSON schema for configurable parametersrequired_vector_indexes: Vector indexes produced by this extractorfeature_uri: URI to reference this extractor in collections
Use Cases:
- Discover available extractors when creating collections
- Get schema information for SDK code generation
- Check which custom plugins are deployed
Filtering:
source=builtin: Only builtin extractorssource=custom: Only custom pluginssource=all(default): All extractors
import mixpeek
from mixpeek.models.unified_extractor_list_response import UnifiedExtractorListResponse
from mixpeek.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.mixpeek.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mixpeek.Configuration(
host = "https://api.mixpeek.com"
)
# Enter a context with an instance of the API client
with mixpeek.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mixpeek.NamespaceExtractorsApi(api_client)
namespace_id = 'namespace_id_example' # str |
source = 'source_example' # str | Filter by extractor source (builtin, custom, or all) (optional)
include_disabled = False # bool | Include disabled/undeployed custom plugins (optional) (default to False)
authorization = 'authorization_example' # str | REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings. (optional)
authorization2 = 'authorization_example' # str | (optional)
x_namespace = 'x_namespace_example' # str | REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace' (optional)
try:
# List all extractors available to namespace
api_response = api_instance.list_extractors_namespaces(namespace_id, source=source, include_disabled=include_disabled, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
print("The response of NamespaceExtractorsApi->list_extractors_namespaces:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling NamespaceExtractorsApi->list_extractors_namespaces: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| namespace_id | str | ||
| source | str | Filter by extractor source (builtin, custom, or all) | [optional] |
| include_disabled | bool | Include disabled/undeployed custom plugins | [optional] [default to False] |
| authorization | str | REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings. | [optional] |
| authorization2 | str | [optional] | |
| x_namespace | str | REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace' | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | List of all available extractors | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 422 | Validation Error | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]