You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/APIKeyCreateResponse.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
9
9
**key_id** | **str** | Public identifier for the API key. | [optional]
10
10
**key_hash** | **str** | SHA-256 hash of the plaintext key. |
11
11
**key_prefix** | **str** | Visible prefix of the API key for user identification (e.g., 'sk_abc123...'). Shows the first 10 characters of the plaintext key to help users identify which key is which in lists, without exposing the full secret. This follows industry best practices from GitHub, Stripe, and AWS. Generated automatically for new keys. Older keys may not have this field. | [optional]
12
+
**key_type** | [**APIKeyType**](APIKeyType.md) | Type of API key. STANDARD for regular organization keys, MARKETPLACE_SUBSCRIPTION for marketplace subscription access tokens. | [optional]
13
+
**subscription_id** | **str** | Marketplace subscription ID if this is a marketplace subscription key. Only set when key_type is MARKETPLACE_SUBSCRIPTION. | [optional]
**organization_id** | **str** | Organization public identifier (denormalized). | [optional]
14
16
**user_id** | **str** | Identifier of the user who owns the key. |
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
24
26
**created_by** | **str** | User identifier that created the key. | [optional]
25
27
**revoked_at** | **datetime** | UTC timestamp when the key was revoked (if applicable). | [optional]
26
28
**revoked_by** | **str** | User identifier that revoked the key (if applicable). | [optional]
29
+
**allowed_origins** | **List[str]** | Optional list of allowed HTTP origins for this API key. When set, requests must include an Origin header matching one of these values. Supports exact matches (e.g., 'https://docs.example.com') and wildcard subdomains (e.g., 'https://*.example.com'). Only enforced for browser requests (defense-in-depth, not a security boundary). Null means no origin restriction. | [optional]
Copy file name to clipboardExpand all lines: docs/APIKeyModel.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
9
9
**key_id** | **str** | Public identifier for the API key. | [optional]
10
10
**key_hash** | **str** | SHA-256 hash of the plaintext key. |
11
11
**key_prefix** | **str** | Visible prefix of the API key for user identification (e.g., 'sk_abc123...'). Shows the first 10 characters of the plaintext key to help users identify which key is which in lists, without exposing the full secret. This follows industry best practices from GitHub, Stripe, and AWS. Generated automatically for new keys. Older keys may not have this field. | [optional]
12
+
**key_type** | [**APIKeyType**](APIKeyType.md) | Type of API key. STANDARD for regular organization keys, MARKETPLACE_SUBSCRIPTION for marketplace subscription access tokens. | [optional]
13
+
**subscription_id** | **str** | Marketplace subscription ID if this is a marketplace subscription key. Only set when key_type is MARKETPLACE_SUBSCRIPTION. | [optional]
**organization_id** | **str** | Organization public identifier (denormalized). | [optional]
14
16
**user_id** | **str** | Identifier of the user who owns the key. |
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
24
26
**created_by** | **str** | User identifier that created the key. | [optional]
25
27
**revoked_at** | **datetime** | UTC timestamp when the key was revoked (if applicable). | [optional]
26
28
**revoked_by** | **str** | User identifier that revoked the key (if applicable). | [optional]
29
+
**allowed_origins** | **List[str]** | Optional list of allowed HTTP origins for this API key. When set, requests must include an Origin header matching one of these values. Supports exact matches (e.g., 'https://docs.example.com') and wildcard subdomains (e.g., 'https://*.example.com'). Only enforced for browser requests (defense-in-depth, not a security boundary). Null means no origin restriction. | [optional]
Type of API key determining its purpose and scope. - STANDARD: Regular organization API key with standard permissions. - MARKETPLACE_SUBSCRIPTION: Special key generated for marketplace subscriptions, allowing cross-org access to specific marketplace retrievers. - RETRIEVER: Per-retriever API key scoped to execute a specific retriever. Only the retriever owner can create these keys. Prefix: ret_sk_
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/AdhocExecuteRequest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
**collection_identifiers** | **List[str]** | Collection identifiers (names or IDs) to query. Can be collection names or IDs. Names are automatically resolved. Can be empty for query-only inference mode (e.g., LLM query analysis without documents). | [optional]
10
10
**input_schema** | [**Dict[str, RetrieverInputSchemaFieldInput]**](RetrieverInputSchemaFieldInput.md) | REQUIRED. Input schema defining expected inputs. Each key is an input name, value is a RetrieverInputSchemaField. |
11
11
**stages** | [**List[StageConfig]**](StageConfig.md) | REQUIRED. Ordered list of stage configurations. At least one stage is required for execution. |
12
-
**inputs** | **object** | REQUIRED. Input values matching the input_schema. These values are passed to stages for parameterization. |
12
+
**inputs** | **Dict[str, object]** | REQUIRED. Input values matching the input_schema. These values are passed to stages for parameterization. |
**stream** | **bool** | Enable streaming execution to receive real-time stage updates via Server-Sent Events (SSE). NOT REQUIRED - defaults to False for standard execution. When stream=True: - Response Content-Type: text/event-stream - Events emitted: stage_start, stage_complete, stage_error, execution_complete, execution_error - Each event is formatted as: data: {json}\\n\\n - StreamStageEvent contains: event_type, execution_id, stage_name, stage_index, total_stages, documents (intermediate), statistics, budget_used When to use streaming: - Progress tracking for multi-stage pipelines - Displaying intermediate results as stages complete - Real-time budget and performance monitoring - Debugging pipeline execution When to skip streaming: - Single-stage or fast pipelines (<100ms) - No need for intermediate results - Minimizing overhead is critical | [optional][default to False]
@@ -79,11 +79,12 @@ with mixpeek.ApiClient(configuration) as api_client:
79
79
return_presigned_urls =False# bool | (optional) (default to False)
80
80
return_vectors =False# bool | (optional) (default to False)
81
81
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)
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)
print("The response of AdhocRetrieversApi->execute_adhoc_retriever:\n")
88
89
pprint(api_response)
89
90
exceptExceptionas e:
@@ -101,6 +102,7 @@ Name | Type | Description | Notes
101
102
**return_presigned_urls** | **bool**| | [optional][default to False]
102
103
**return_vectors** | **bool**| | [optional][default to False]
103
104
**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]
105
+
**authorization2** | **str**| | [optional]
104
106
**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]
105
107
106
108
### Return type
@@ -125,13 +127,13 @@ No authorization required
125
127
**401** | Unauthorized | - |
126
128
**403** | Forbidden | - |
127
129
**404** | Not Found | - |
128
-
**500** | Internal Server Error | - |
129
130
**422** | Validation Error | - |
131
+
**500** | Internal Server Error | - |
130
132
131
133
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
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)
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)
**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]
201
+
**authorization2** | **str**| | [optional]
198
202
**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]
199
203
200
204
### Return type
@@ -219,13 +223,13 @@ No authorization required
219
223
**401** | Unauthorized | - |
220
224
**403** | Forbidden | - |
221
225
**404** | Not Found | - |
222
-
**500** | Internal Server Error | - |
223
226
**422** | Validation Error | - |
227
+
**500** | Internal Server Error | - |
224
228
225
229
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
@@ -275,12 +279,13 @@ with mixpeek.ApiClient(configuration) as api_client:
275
279
cursor ='cursor_example'# str | (optional)
276
280
include_total =False# bool | (optional) (default to False)
277
281
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)
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)
print("The response of AdhocRetrieversApi->list_adhoc_executions_retrievers:\n")
285
290
pprint(api_response)
286
291
exceptExceptionas e:
@@ -299,6 +304,7 @@ Name | Type | Description | Notes
299
304
**cursor** | **str**| | [optional]
300
305
**include_total** | **bool**| | [optional][default to False]
301
306
**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]
307
+
**authorization2** | **str**| | [optional]
302
308
**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]
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/AgentConfig.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# AgentConfig
2
2
3
-
Agent configuration for session. This config is immutable after session creation (similar to RetrieverConfig). To change agent config, create a new session. Attributes: model: LLM model identifier. Supported models: - gemini-2.0-flash (fastest, cheapest) - gemini-2.5-pro (better quality) - gpt-4o-mini, gpt-4o temperature: Sampling temperature for LLM responses (0.0-2.0) - 0.0-0.3: More deterministic, focused responses - 0.5-0.7: Balanced creativity and coherence - 0.8-2.0: More creative, varied responses max_tokens: Maximum tokens per response (1-100000) system_prompt: System prompt that defines agent behavior and persona available_tools: List of tools the agent can call (see AvailableTool enum) Example: ```python config = AgentConfig( model=\"gemini-2.0-flash\", temperature=0.7, max_tokens=4096, system_prompt=\"You are a helpful video search assistant.\", available_tools=[ \"smart_search\", \"execute_retriever\", \"list_collections\" ] ) ```
3
+
Agent configuration for session. This config is immutable after session creation (similar to RetrieverConfig). To change agent config, create a new session. Attributes: model: LLM model identifier. Supported models: - gemini-2.5-flash (fastest, cheapest) - gemini-2.5-pro (better quality) - gpt-4o-mini, gpt-4o temperature: Sampling temperature for LLM responses (0.0-2.0) - 0.0-0.3: More deterministic, focused responses - 0.5-0.7: Balanced creativity and coherence - 0.8-2.0: More creative, varied responses max_tokens: Maximum tokens per response (1-100000) system_prompt: System prompt that defines agent behavior and persona available_tools: List of tools the agent can call (see AvailableTool enum) Example: ```python config = AgentConfig( model=\"gemini-2.5-flash\", temperature=0.7, max_tokens=4096, system_prompt=\"You are a helpful video search assistant.\", available_tools=[ \"smart_search\", \"execute_retriever\", \"list_collections\" ] ) ```
**model** | **str** | LLM model identifier. Options: 'gemini-2.0-flash' (fastest, cheapest), 'gemini-2.5-pro' (better quality), 'gpt-4o-mini', 'gpt-4o' | [optional][default to 'gemini-2.0-flash']
9
+
**model** | **str** | LLM model identifier. Options: 'gemini-2.5-flash' (fastest, cheapest), 'gemini-2.5-pro' (better quality), 'gpt-4o-mini', 'gpt-4o' | [optional][default to 'gemini-2.5-flash']
10
10
**temperature** | **float** | Sampling temperature for LLM responses (0.0-2.0). Lower values (0.0-0.3) are more deterministic. Higher values (0.8-2.0) are more creative. | [optional][default to 0.7]
11
11
**max_tokens** | **int** | Maximum tokens per response | [optional][default to 4096]
12
12
**system_prompt** | **str** | System prompt that defines agent behavior and persona | [optional][default to 'You are a helpful AI assistant with access to Mixpeek\'s data infrastructure.']
0 commit comments