Skip to content

Commit ac3b829

Browse files
🤖 Auto-generate SDK v0.81.1
1 parent 79032f8 commit ac3b829

2,598 files changed

Lines changed: 87345 additions & 36093 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.openapi-generator/FILES‎

Lines changed: 348 additions & 186 deletions
Large diffs are not rendered by default.

‎README.md‎

Lines changed: 219 additions & 158 deletions
Large diffs are not rendered by default.

‎docs/APIKeyCreateResponse.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
**key_id** | **str** | Public identifier for the API key. | [optional]
1010
**key_hash** | **str** | SHA-256 hash of the plaintext key. |
1111
**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]
1214
**internal_id** | **str** | Organization internal identifier. |
1315
**organization_id** | **str** | Organization public identifier (denormalized). | [optional]
1416
**user_id** | **str** | Identifier of the user who owns the key. |
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
2426
**created_by** | **str** | User identifier that created the key. | [optional]
2527
**revoked_at** | **datetime** | UTC timestamp when the key was revoked (if applicable). | [optional]
2628
**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]
2730
**key** | **str** | |
2831

2932
## Example

‎docs/APIKeyModel.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
99
**key_id** | **str** | Public identifier for the API key. | [optional]
1010
**key_hash** | **str** | SHA-256 hash of the plaintext key. |
1111
**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]
1214
**internal_id** | **str** | Organization internal identifier. |
1315
**organization_id** | **str** | Organization public identifier (denormalized). | [optional]
1416
**user_id** | **str** | Identifier of the user who owns the key. |
@@ -24,6 +26,7 @@ Name | Type | Description | Notes
2426
**created_by** | **str** | User identifier that created the key. | [optional]
2527
**revoked_at** | **datetime** | UTC timestamp when the key was revoked (if applicable). | [optional]
2628
**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]
2730

2831
## Example
2932

‎docs/APIKeyType.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# APIKeyType
2+
3+
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_
4+
5+
## Enum
6+
7+
* `STANDARD` (value: `'standard'`)
8+
9+
* `MARKETPLACE_SUBSCRIPTION` (value: `'marketplace_subscription'`)
10+
11+
* `RETRIEVER` (value: `'retriever'`)
12+
13+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
14+
15+

‎docs/AdhocExecuteRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**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]
1010
**input_schema** | [**Dict[str, RetrieverInputSchemaFieldInput]**](RetrieverInputSchemaFieldInput.md) | REQUIRED. Input schema defining expected inputs. Each key is an input name, value is a RetrieverInputSchemaField. |
1111
**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. |
1313
**budget_limits** | [**BudgetLimits**](BudgetLimits.md) | OPTIONAL. Budget limits for execution. | [optional]
1414
**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]
1515

‎docs/AdhocRetrieversApi.md‎

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010

1111

1212
# **execute_adhoc_retriever**
13-
> object execute_adhoc_retriever(adhoc_execute_request, return_presigned_urls=return_presigned_urls, return_vectors=return_vectors, authorization=authorization, x_namespace=x_namespace)
13+
> object execute_adhoc_retriever(adhoc_execute_request, return_presigned_urls=return_presigned_urls, return_vectors=return_vectors, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
1414
1515
Execute Adhoc Retriever
1616

@@ -79,11 +79,12 @@ with mixpeek.ApiClient(configuration) as api_client:
7979
return_presigned_urls = False # bool | (optional) (default to False)
8080
return_vectors = False # bool | (optional) (default to False)
8181
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)
82+
authorization2 = 'authorization_example' # str | (optional)
8283
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)
8384

8485
try:
8586
# Execute Adhoc Retriever
86-
api_response = api_instance.execute_adhoc_retriever(adhoc_execute_request, return_presigned_urls=return_presigned_urls, return_vectors=return_vectors, authorization=authorization, x_namespace=x_namespace)
87+
api_response = api_instance.execute_adhoc_retriever(adhoc_execute_request, return_presigned_urls=return_presigned_urls, return_vectors=return_vectors, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
8788
print("The response of AdhocRetrieversApi->execute_adhoc_retriever:\n")
8889
pprint(api_response)
8990
except Exception as e:
@@ -101,6 +102,7 @@ Name | Type | Description | Notes
101102
**return_presigned_urls** | **bool**| | [optional] [default to False]
102103
**return_vectors** | **bool**| | [optional] [default to False]
103104
**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]
104106
**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]
105107

106108
### Return type
@@ -125,13 +127,13 @@ No authorization required
125127
**401** | Unauthorized | - |
126128
**403** | Forbidden | - |
127129
**404** | Not Found | - |
128-
**500** | Internal Server Error | - |
129130
**422** | Validation Error | - |
131+
**500** | Internal Server Error | - |
130132

131133
[[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)
132134

133135
# **get_adhoc_execution_retrievers**
134-
> AdhocExecutionDetail get_adhoc_execution_retrievers(execution_id, authorization=authorization, x_namespace=x_namespace)
136+
> AdhocExecutionDetail get_adhoc_execution_retrievers(execution_id, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
135137
136138
Get Adhoc Execution
137139

@@ -175,11 +177,12 @@ with mixpeek.ApiClient(configuration) as api_client:
175177
api_instance = mixpeek.AdhocRetrieversApi(api_client)
176178
execution_id = 'execution_id_example' # str | Execution identifier.
177179
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)
180+
authorization2 = 'authorization_example' # str | (optional)
178181
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)
179182

180183
try:
181184
# Get Adhoc Execution
182-
api_response = api_instance.get_adhoc_execution_retrievers(execution_id, authorization=authorization, x_namespace=x_namespace)
185+
api_response = api_instance.get_adhoc_execution_retrievers(execution_id, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace)
183186
print("The response of AdhocRetrieversApi->get_adhoc_execution_retrievers:\n")
184187
pprint(api_response)
185188
except Exception as e:
@@ -195,6 +198,7 @@ Name | Type | Description | Notes
195198
------------- | ------------- | ------------- | -------------
196199
**execution_id** | **str**| Execution identifier. |
197200
**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]
198202
**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]
199203

200204
### Return type
@@ -219,13 +223,13 @@ No authorization required
219223
**401** | Unauthorized | - |
220224
**403** | Forbidden | - |
221225
**404** | Not Found | - |
222-
**500** | Internal Server Error | - |
223226
**422** | Validation Error | - |
227+
**500** | Internal Server Error | - |
224228

225229
[[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)
226230

227231
# **list_adhoc_executions_retrievers**
228-
> ListAdhocExecutionsResponse list_adhoc_executions_retrievers(limit=limit, offset=offset, cursor=cursor, include_total=include_total, authorization=authorization, x_namespace=x_namespace, list_adhoc_executions_request=list_adhoc_executions_request)
232+
> ListAdhocExecutionsResponse list_adhoc_executions_retrievers(limit=limit, offset=offset, cursor=cursor, include_total=include_total, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace, list_adhoc_executions_request=list_adhoc_executions_request)
229233
230234
List Adhoc Executions
231235

@@ -275,12 +279,13 @@ with mixpeek.ApiClient(configuration) as api_client:
275279
cursor = 'cursor_example' # str | (optional)
276280
include_total = False # bool | (optional) (default to False)
277281
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)
282+
authorization2 = 'authorization_example' # str | (optional)
278283
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)
279284
list_adhoc_executions_request = mixpeek.ListAdhocExecutionsRequest() # ListAdhocExecutionsRequest | (optional)
280285

281286
try:
282287
# List Adhoc Executions
283-
api_response = api_instance.list_adhoc_executions_retrievers(limit=limit, offset=offset, cursor=cursor, include_total=include_total, authorization=authorization, x_namespace=x_namespace, list_adhoc_executions_request=list_adhoc_executions_request)
288+
api_response = api_instance.list_adhoc_executions_retrievers(limit=limit, offset=offset, cursor=cursor, include_total=include_total, authorization=authorization, authorization2=authorization2, x_namespace=x_namespace, list_adhoc_executions_request=list_adhoc_executions_request)
284289
print("The response of AdhocRetrieversApi->list_adhoc_executions_retrievers:\n")
285290
pprint(api_response)
286291
except Exception as e:
@@ -299,6 +304,7 @@ Name | Type | Description | Notes
299304
**cursor** | **str**| | [optional]
300305
**include_total** | **bool**| | [optional] [default to False]
301306
**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]
302308
**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]
303309
**list_adhoc_executions_request** | [**ListAdhocExecutionsRequest**](ListAdhocExecutionsRequest.md)| | [optional]
304310

@@ -324,8 +330,8 @@ No authorization required
324330
**401** | Unauthorized | - |
325331
**403** | Forbidden | - |
326332
**404** | Not Found | - |
327-
**500** | Internal Server Error | - |
328333
**422** | Validation Error | - |
334+
**500** | Internal Server Error | - |
329335

330336
[[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)
331337

‎docs/AgentConfig.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# AgentConfig
22

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\" ] ) ```
44

55
## Properties
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9-
**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']
1010
**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]
1111
**max_tokens** | **int** | Maximum tokens per response | [optional] [default to 4096]
1212
**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

Comments
 (0)