@labelbox/recursion-sdk 0.0.178 → 0.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7250,6 +7250,10 @@ export type ManagedAgentsAgent = {
|
|
|
7250
7250
|
* Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.
|
|
7251
7251
|
*/
|
|
7252
7252
|
default_credential_refs?: unknown;
|
|
7253
|
+
/**
|
|
7254
|
+
* Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.
|
|
7255
|
+
*/
|
|
7256
|
+
default_project_id?: unknown;
|
|
7253
7257
|
/**
|
|
7254
7258
|
* Markdown rubric that sessions started from this agent are graded against when their create request omits an outcome. A session that supplies its own outcome ignores this entirely. Omit the field to keep the stored rubric; send an empty string to remove it.
|
|
7255
7259
|
*/
|
|
@@ -7365,6 +7369,10 @@ export type ManagedAgentsAgentVersion = {
|
|
|
7365
7369
|
* Narrows this version's default vaults to individual credentials.
|
|
7366
7370
|
*/
|
|
7367
7371
|
default_credential_refs?: unknown;
|
|
7372
|
+
/**
|
|
7373
|
+
* Labelbox project copied into sessions started from this version when their create request omits project_id. A non-empty session project_id overrides it.
|
|
7374
|
+
*/
|
|
7375
|
+
default_project_id?: unknown;
|
|
7368
7376
|
/**
|
|
7369
7377
|
* Markdown rubric that sessions started from this version are graded against when their create request omits an outcome. A session that supplies its own outcome ignores this entirely.
|
|
7370
7378
|
*/
|
|
@@ -8213,6 +8221,10 @@ export type ManagedAgentsCreateAgentRequest = {
|
|
|
8213
8221
|
* Individual default items within default_vault_ids. The list is a whitelist across every default vault, not a filter within one, so it must name every item the agent should receive. Omit to select every current item; [] alongside a non-empty default_vault_ids is rejected because it would select none.
|
|
8214
8222
|
*/
|
|
8215
8223
|
default_credential_refs?: Array<ManagedAgentsVaultCredentialRef>;
|
|
8224
|
+
/**
|
|
8225
|
+
* Labelbox project copied into sessions started from this agent when their create request omits project_id. A non-empty session project_id overrides it.
|
|
8226
|
+
*/
|
|
8227
|
+
default_project_id?: unknown;
|
|
8216
8228
|
/**
|
|
8217
8229
|
* Markdown rubric that sessions started from this agent are graded against when their create request omits an outcome. Must contain at least one gradeable criterion, written as markdown list items. A session that supplies its own outcome ignores this entirely.
|
|
8218
8230
|
*/
|
|
@@ -11577,7 +11589,7 @@ export type ManagedAgentsStartSessionRequest = {
|
|
|
11577
11589
|
};
|
|
11578
11590
|
outcome?: ManagedAgentsDefineOutcomeRequest;
|
|
11579
11591
|
/**
|
|
11580
|
-
* Labelbox project this session's work is attributed to, which the model gateway bills against. Required when the chosen model runs on an account restricted to customer projects, such as the Anthropic HDO models
|
|
11592
|
+
* Labelbox project this session's work is attributed to, which the model gateway bills against. A non-empty value overrides the agent version's default_project_id. Required after defaulting when the chosen model runs on an account restricted to customer projects, such as the Anthropic HDO models.
|
|
11581
11593
|
*/
|
|
11582
11594
|
project_id?: string;
|
|
11583
11595
|
/**
|
|
@@ -11811,6 +11823,10 @@ export type ManagedAgentsUpdateAgentRequest = {
|
|
|
11811
11823
|
* Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.
|
|
11812
11824
|
*/
|
|
11813
11825
|
default_credential_refs?: unknown;
|
|
11826
|
+
/**
|
|
11827
|
+
* Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.
|
|
11828
|
+
*/
|
|
11829
|
+
default_project_id?: unknown;
|
|
11814
11830
|
/**
|
|
11815
11831
|
* Markdown rubric that sessions started from this agent are graded against when their create request omits an outcome. A session that supplies its own outcome ignores this entirely. Omit the field to keep the stored rubric; send an empty string to remove it.
|
|
11816
11832
|
*/
|
|
@@ -2606,6 +2606,12 @@ export const RESOURCE_REFERENCE = {
|
|
|
2606
2606
|
type: 'unknown',
|
|
2607
2607
|
description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
|
|
2608
2608
|
},
|
|
2609
|
+
{
|
|
2610
|
+
name: 'default_project_id',
|
|
2611
|
+
required: false,
|
|
2612
|
+
type: 'unknown',
|
|
2613
|
+
description: 'Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.',
|
|
2614
|
+
},
|
|
2609
2615
|
{
|
|
2610
2616
|
name: 'default_rubric',
|
|
2611
2617
|
required: false,
|
|
@@ -2843,6 +2849,7 @@ export const RESOURCE_REFERENCE = {
|
|
|
2843
2849
|
vault_id: '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d',
|
|
2844
2850
|
},
|
|
2845
2851
|
],
|
|
2852
|
+
default_project_id: '9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d',
|
|
2846
2853
|
default_rubric: 'example',
|
|
2847
2854
|
default_vault_ids: ['example'],
|
|
2848
2855
|
description: 'example',
|
|
@@ -45137,10 +45137,10 @@ export const SDK_REFERENCE = {
|
|
|
45137
45137
|
method: 'createAgent',
|
|
45138
45138
|
bodyKey: 'body',
|
|
45139
45139
|
signature: 'rl.managedAgents.createAgent({ body })',
|
|
45140
|
-
example: 'const result = await rl.managedAgents.createAgent({\n body: {\n custom_tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n default_credential_refs: [\n {\n credential_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n default_rubric: "example",\n default_vault_ids: [\n "example"\n ],\n description: "example",\n mcp_servers: [\n {\n key: "example"\n }\n ],\n metadata: {\n key: "example"\n },\n model: "example",\n model_config: {\n max_tokens: 1,\n provider_params: {\n key: "example"\n },\n reasoning_effort: "example",\n response_format: "example",\n temperature: 1.5,\n tool_choice: "example",\n top_p: 1.5\n },\n model_ref_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n multiagent: {\n key: "example"\n },\n name: "example-name",\n runtime_adapters: [\n {\n key: "example"\n }\n ],\n skills: [\n {\n key: "example"\n }\n ],\n system: "example",\n tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n toolsets: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n web_search_enabled: true\n },\n});',
|
|
45140
|
+
example: 'const result = await rl.managedAgents.createAgent({\n body: {\n custom_tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n default_credential_refs: [\n {\n credential_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n default_project_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n default_rubric: "example",\n default_vault_ids: [\n "example"\n ],\n description: "example",\n mcp_servers: [\n {\n key: "example"\n }\n ],\n metadata: {\n key: "example"\n },\n model: "example",\n model_config: {\n max_tokens: 1,\n provider_params: {\n key: "example"\n },\n reasoning_effort: "example",\n response_format: "example",\n temperature: 1.5,\n tool_choice: "example",\n top_p: 1.5\n },\n model_ref_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n multiagent: {\n key: "example"\n },\n name: "example-name",\n runtime_adapters: [\n {\n key: "example"\n }\n ],\n skills: [\n {\n key: "example"\n }\n ],\n system: "example",\n tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n toolsets: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n web_search_enabled: true\n },\n});',
|
|
45141
45141
|
cliInvocation: 'rl managed-agents create-agent',
|
|
45142
45142
|
cliExample: "rl managed-agents create-agent \\\n --name 'example-name' \\\n --system 'example' \\\n --from-json body.json",
|
|
45143
|
-
curlExample: 'curl -X POST \'https://api.recursion.labelbox.com/managed-agents/v1/agents\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "custom_tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "default_credential_refs": [\n {\n "credential_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n "default_rubric": "example",\n "default_vault_ids": [\n "example"\n ],\n "description": "example",\n "mcp_servers": [\n {\n "key": "example"\n }\n ],\n "metadata": {\n "key": "example"\n },\n "model": "example",\n "model_config": {\n "max_tokens": 1,\n "provider_params": {\n "key": "example"\n },\n "reasoning_effort": "example",\n "response_format": "example",\n "temperature": 1.5,\n "tool_choice": "example",\n "top_p": 1.5\n },\n "model_ref_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "multiagent": {\n "key": "example"\n },\n "name": "example-name",\n "runtime_adapters": [\n {\n "key": "example"\n }\n ],\n "skills": [\n {\n "key": "example"\n }\n ],\n "system": "example",\n "tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "toolsets": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "web_search_enabled": true\n }\'',
|
|
45143
|
+
curlExample: 'curl -X POST \'https://api.recursion.labelbox.com/managed-agents/v1/agents\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "custom_tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "default_credential_refs": [\n {\n "credential_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n "default_project_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "default_rubric": "example",\n "default_vault_ids": [\n "example"\n ],\n "description": "example",\n "mcp_servers": [\n {\n "key": "example"\n }\n ],\n "metadata": {\n "key": "example"\n },\n "model": "example",\n "model_config": {\n "max_tokens": 1,\n "provider_params": {\n "key": "example"\n },\n "reasoning_effort": "example",\n "response_format": "example",\n "temperature": 1.5,\n "tool_choice": "example",\n "top_p": 1.5\n },\n "model_ref_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "multiagent": {\n "key": "example"\n },\n "name": "example-name",\n "runtime_adapters": [\n {\n "key": "example"\n }\n ],\n "skills": [\n {\n "key": "example"\n }\n ],\n "system": "example",\n "tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "toolsets": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "web_search_enabled": true\n }\'',
|
|
45144
45144
|
summary: 'Create an agent and immutable version',
|
|
45145
45145
|
description: 'Creates an agent and its first immutable version, and returns the agent resolved to that version. Exactly one of model or model_ref_id is required alongside name and system. The body is also accepted as application/x-yaml with the same schema. Any vault named in default_vault_ids must already exist. Invalid model_config and unsupported reasoning_effort values return 400, including when a reachable gateway model publishes no exact options; an unconfigured or unreachable gateway that prevents verification returns 503.',
|
|
45146
45146
|
httpMethod: 'post',
|
|
@@ -45203,6 +45203,13 @@ export const SDK_REFERENCE = {
|
|
|
45203
45203
|
],
|
|
45204
45204
|
},
|
|
45205
45205
|
},
|
|
45206
|
+
{
|
|
45207
|
+
name: 'default_project_id',
|
|
45208
|
+
in: 'body',
|
|
45209
|
+
required: false,
|
|
45210
|
+
type: 'unknown',
|
|
45211
|
+
description: 'Labelbox project copied into sessions started from this agent when their create request omits project_id. A non-empty session project_id overrides it.',
|
|
45212
|
+
},
|
|
45206
45213
|
{
|
|
45207
45214
|
name: 'default_rubric',
|
|
45208
45215
|
in: 'body',
|
|
@@ -45439,6 +45446,12 @@ export const SDK_REFERENCE = {
|
|
|
45439
45446
|
type: 'unknown',
|
|
45440
45447
|
description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
|
|
45441
45448
|
},
|
|
45449
|
+
{
|
|
45450
|
+
name: 'default_project_id',
|
|
45451
|
+
required: false,
|
|
45452
|
+
type: 'unknown',
|
|
45453
|
+
description: 'Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.',
|
|
45454
|
+
},
|
|
45442
45455
|
{
|
|
45443
45456
|
name: 'default_rubric',
|
|
45444
45457
|
required: false,
|
|
@@ -48924,6 +48937,12 @@ export const SDK_REFERENCE = {
|
|
|
48924
48937
|
type: 'unknown',
|
|
48925
48938
|
description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
|
|
48926
48939
|
},
|
|
48940
|
+
{
|
|
48941
|
+
name: 'default_project_id',
|
|
48942
|
+
required: false,
|
|
48943
|
+
type: 'unknown',
|
|
48944
|
+
description: 'Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.',
|
|
48945
|
+
},
|
|
48927
48946
|
{
|
|
48928
48947
|
name: 'default_rubric',
|
|
48929
48948
|
required: false,
|
|
@@ -49316,6 +49335,12 @@ export const SDK_REFERENCE = {
|
|
|
49316
49335
|
type: 'unknown',
|
|
49317
49336
|
description: "Narrows this version's default vaults to individual credentials.",
|
|
49318
49337
|
},
|
|
49338
|
+
{
|
|
49339
|
+
name: 'default_project_id',
|
|
49340
|
+
required: false,
|
|
49341
|
+
type: 'unknown',
|
|
49342
|
+
description: 'Labelbox project copied into sessions started from this version when their create request omits project_id. A non-empty session project_id overrides it.',
|
|
49343
|
+
},
|
|
49319
49344
|
{
|
|
49320
49345
|
name: 'default_rubric',
|
|
49321
49346
|
required: false,
|
|
@@ -55852,7 +55877,7 @@ export const SDK_REFERENCE = {
|
|
|
55852
55877
|
in: 'body',
|
|
55853
55878
|
required: false,
|
|
55854
55879
|
type: 'string',
|
|
55855
|
-
description: "Labelbox project this session's work is attributed to, which the model gateway bills against. Required when the chosen model runs on an account restricted to customer projects, such as the Anthropic HDO models
|
|
55880
|
+
description: "Labelbox project this session's work is attributed to, which the model gateway bills against. A non-empty value overrides the agent version's default_project_id. Required after defaulting when the chosen model runs on an account restricted to customer projects, such as the Anthropic HDO models.",
|
|
55856
55881
|
},
|
|
55857
55882
|
{
|
|
55858
55883
|
name: 'skip_default_outcome',
|
|
@@ -55896,10 +55921,10 @@ export const SDK_REFERENCE = {
|
|
|
55896
55921
|
method: 'updateAgent',
|
|
55897
55922
|
bodyKey: 'body',
|
|
55898
55923
|
signature: 'rl.managedAgents.updateAgent({ agent_id, body })',
|
|
55899
|
-
example: 'const result = await rl.managedAgents.updateAgent({\n agent_id: \'<agent_id>\',\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n created_at: "2026-02-18T09:30:00Z",\n custom_tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n default_credential_refs: [\n {\n credential_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n default_rubric: "example",\n default_vault_ids: [\n "example"\n ],\n description: "example",\n latest_agent_version_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n mcp_servers: [\n {\n key: "example"\n }\n ],\n metadata: {\n key: "example"\n },\n model: "example",\n model_config: {\n max_tokens: 1,\n provider_params: {\n key: "example"\n },\n reasoning_effort: "example",\n response_format: "example",\n temperature: 1.5,\n tool_choice: "example",\n top_p: 1.5\n },\n model_ref_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n multiagent: {\n key: "example"\n },\n name: "example-name",\n organization_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n runtime_adapters: [\n {\n key: "example"\n }\n ],\n skills: [\n {\n key: "example"\n }\n ],\n system: "example",\n toolsets: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n updated_at: "2026-02-18T09:30:00Z",\n web_search_enabled: true\n },\n});',
|
|
55924
|
+
example: 'const result = await rl.managedAgents.updateAgent({\n agent_id: \'<agent_id>\',\n body: {\n agent_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n created_at: "2026-02-18T09:30:00Z",\n custom_tools: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n default_credential_refs: [\n {\n credential_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n vault_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n default_project_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n default_rubric: "example",\n default_vault_ids: [\n "example"\n ],\n description: "example",\n latest_agent_version_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n mcp_servers: [\n {\n key: "example"\n }\n ],\n metadata: {\n key: "example"\n },\n model: "example",\n model_config: {\n max_tokens: 1,\n provider_params: {\n key: "example"\n },\n reasoning_effort: "example",\n response_format: "example",\n temperature: 1.5,\n tool_choice: "example",\n top_p: 1.5\n },\n model_ref_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n multiagent: {\n key: "example"\n },\n name: "example-name",\n organization_id: "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n runtime_adapters: [\n {\n key: "example"\n }\n ],\n skills: [\n {\n key: "example"\n }\n ],\n system: "example",\n toolsets: [\n {\n config: {\n key: "example"\n },\n name: "example-name",\n type: "example"\n }\n ],\n updated_at: "2026-02-18T09:30:00Z",\n web_search_enabled: true\n },\n});',
|
|
55900
55925
|
cliInvocation: 'rl managed-agents update-agent',
|
|
55901
55926
|
cliExample: 'rl managed-agents update-agent \\\n --agent_id <agent_id> \\\n --from-json body.json',
|
|
55902
|
-
curlExample: 'curl -X PATCH \'https://api.recursion.labelbox.com/managed-agents/v1/agents/<agent_id>\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "created_at": "2026-02-18T09:30:00Z",\n "custom_tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "default_credential_refs": [\n {\n "credential_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n "default_rubric": "example",\n "default_vault_ids": [\n "example"\n ],\n "description": "example",\n "latest_agent_version_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "mcp_servers": [\n {\n "key": "example"\n }\n ],\n "metadata": {\n "key": "example"\n },\n "model": "example",\n "model_config": {\n "max_tokens": 1,\n "provider_params": {\n "key": "example"\n },\n "reasoning_effort": "example",\n "response_format": "example",\n "temperature": 1.5,\n "tool_choice": "example",\n "top_p": 1.5\n },\n "model_ref_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "multiagent": {\n "key": "example"\n },\n "name": "example-name",\n "organization_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "runtime_adapters": [\n {\n "key": "example"\n }\n ],\n "skills": [\n {\n "key": "example"\n }\n ],\n "system": "example",\n "toolsets": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "updated_at": "2026-02-18T09:30:00Z",\n "web_search_enabled": true\n }\'',
|
|
55927
|
+
curlExample: 'curl -X PATCH \'https://api.recursion.labelbox.com/managed-agents/v1/agents/<agent_id>\' \\\n -H \'Authorization: Bearer $LABELBOX_API_KEY\' \\\n -H \'Content-Type: application/json\' \\\n -d \'{\n "agent_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "created_at": "2026-02-18T09:30:00Z",\n "custom_tools": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "default_credential_refs": [\n {\n "credential_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "vault_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d"\n }\n ],\n "default_project_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "default_rubric": "example",\n "default_vault_ids": [\n "example"\n ],\n "description": "example",\n "latest_agent_version_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "mcp_servers": [\n {\n "key": "example"\n }\n ],\n "metadata": {\n "key": "example"\n },\n "model": "example",\n "model_config": {\n "max_tokens": 1,\n "provider_params": {\n "key": "example"\n },\n "reasoning_effort": "example",\n "response_format": "example",\n "temperature": 1.5,\n "tool_choice": "example",\n "top_p": 1.5\n },\n "model_ref_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "multiagent": {\n "key": "example"\n },\n "name": "example-name",\n "organization_id": "9f8b1c2d-3e4f-5a6b-7c8d-9e0f1a2b3c4d",\n "runtime_adapters": [\n {\n "key": "example"\n }\n ],\n "skills": [\n {\n "key": "example"\n }\n ],\n "system": "example",\n "toolsets": [\n {\n "config": {\n "key": "example"\n },\n "name": "example-name",\n "type": "example"\n }\n ],\n "updated_at": "2026-02-18T09:30:00Z",\n "web_search_enabled": true\n }\'',
|
|
55903
55928
|
summary: 'Update agent and create a new immutable version',
|
|
55904
55929
|
description: 'Applies a partial update and returns the agent resolved to the new version. Agent versions are immutable, so every accepted update mints a new one rather than editing history; omitted fields keep their current values. Running sessions keep the version they started with. Invalid model_config and unsupported new or changed reasoning_effort values return 400, including when a reachable gateway model publishes no exact options; an unconfigured or unreachable gateway that prevents verification returns 503.',
|
|
55905
55930
|
httpMethod: 'patch',
|
|
@@ -55943,6 +55968,13 @@ export const SDK_REFERENCE = {
|
|
|
55943
55968
|
type: 'unknown',
|
|
55944
55969
|
description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
|
|
55945
55970
|
},
|
|
55971
|
+
{
|
|
55972
|
+
name: 'default_project_id',
|
|
55973
|
+
in: 'body',
|
|
55974
|
+
required: false,
|
|
55975
|
+
type: 'unknown',
|
|
55976
|
+
description: 'Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.',
|
|
55977
|
+
},
|
|
55946
55978
|
{
|
|
55947
55979
|
name: 'default_rubric',
|
|
55948
55980
|
in: 'body',
|
|
@@ -56146,6 +56178,12 @@ export const SDK_REFERENCE = {
|
|
|
56146
56178
|
type: 'unknown',
|
|
56147
56179
|
description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
|
|
56148
56180
|
},
|
|
56181
|
+
{
|
|
56182
|
+
name: 'default_project_id',
|
|
56183
|
+
required: false,
|
|
56184
|
+
type: 'unknown',
|
|
56185
|
+
description: 'Labelbox project copied into new sessions when their create request omits project_id. A non-empty session project_id overrides it. Omit this field on update to keep the stored default; send an empty string to remove it.',
|
|
56186
|
+
},
|
|
56149
56187
|
{
|
|
56150
56188
|
name: 'default_rubric',
|
|
56151
56189
|
required: false,
|