@labelbox/recursion-sdk 0.0.177 → 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
  */
@@ -10517,7 +10529,11 @@ export type ManagedAgentsReflection = {
10517
10529
  */
10518
10530
  instructions?: string;
10519
10531
  /**
10520
- * Model that ran the consolidation.
10532
+ * Gateway or provider model string that ran the consolidation. Empty when model_ref_id names a registered reference instead.
10533
+ */
10534
+ model?: string;
10535
+ /**
10536
+ * Canonical model-reference UUID that ran the consolidation. Empty when model names a gateway model instead.
10521
10537
  */
10522
10538
  model_ref_id?: string;
10523
10539
  /**
@@ -11573,7 +11589,7 @@ export type ManagedAgentsStartSessionRequest = {
11573
11589
  };
11574
11590
  outcome?: ManagedAgentsDefineOutcomeRequest;
11575
11591
  /**
11576
- * 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; the start is rejected without it.
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.
11577
11593
  */
11578
11594
  project_id?: string;
11579
11595
  /**
@@ -11807,6 +11823,10 @@ export type ManagedAgentsUpdateAgentRequest = {
11807
11823
  * Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.
11808
11824
  */
11809
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;
11810
11830
  /**
11811
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.
11812
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,
@@ -51362,11 +51387,17 @@ export const SDK_REFERENCE = {
51362
51387
  type: 'string',
51363
51388
  description: 'Operator guidance steering what to synthesize. Capped at 4096 characters.',
51364
51389
  },
51390
+ {
51391
+ name: 'model',
51392
+ required: false,
51393
+ type: 'string',
51394
+ description: 'Gateway or provider model string that ran the consolidation. Empty when model_ref_id names a registered reference instead.',
51395
+ },
51365
51396
  {
51366
51397
  name: 'model_ref_id',
51367
51398
  required: false,
51368
51399
  type: 'string',
51369
- description: 'Model that ran the consolidation.',
51400
+ description: 'Canonical model-reference UUID that ran the consolidation. Empty when model names a gateway model instead.',
51370
51401
  },
51371
51402
  {
51372
51403
  name: 'organization_id',
@@ -55655,11 +55686,17 @@ export const SDK_REFERENCE = {
55655
55686
  type: 'string',
55656
55687
  description: 'Operator guidance steering what to synthesize. Capped at 4096 characters.',
55657
55688
  },
55689
+ {
55690
+ name: 'model',
55691
+ required: false,
55692
+ type: 'string',
55693
+ description: 'Gateway or provider model string that ran the consolidation. Empty when model_ref_id names a registered reference instead.',
55694
+ },
55658
55695
  {
55659
55696
  name: 'model_ref_id',
55660
55697
  required: false,
55661
55698
  type: 'string',
55662
- description: 'Model that ran the consolidation.',
55699
+ description: 'Canonical model-reference UUID that ran the consolidation. Empty when model names a gateway model instead.',
55663
55700
  },
55664
55701
  {
55665
55702
  name: 'organization_id',
@@ -55840,7 +55877,7 @@ export const SDK_REFERENCE = {
55840
55877
  in: 'body',
55841
55878
  required: false,
55842
55879
  type: 'string',
55843
- 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; the start is rejected without it.",
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.",
55844
55881
  },
55845
55882
  {
55846
55883
  name: 'skip_default_outcome',
@@ -55884,10 +55921,10 @@ export const SDK_REFERENCE = {
55884
55921
  method: 'updateAgent',
55885
55922
  bodyKey: 'body',
55886
55923
  signature: 'rl.managedAgents.updateAgent({ agent_id, body })',
55887
- 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});',
55888
55925
  cliInvocation: 'rl managed-agents update-agent',
55889
55926
  cliExample: 'rl managed-agents update-agent \\\n --agent_id <agent_id> \\\n --from-json body.json',
55890
- 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 }\'',
55891
55928
  summary: 'Update agent and create a new immutable version',
55892
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.',
55893
55930
  httpMethod: 'patch',
@@ -55931,6 +55968,13 @@ export const SDK_REFERENCE = {
55931
55968
  type: 'unknown',
55932
55969
  description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
55933
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
+ },
55934
55978
  {
55935
55979
  name: 'default_rubric',
55936
55980
  in: 'body',
@@ -56134,6 +56178,12 @@ export const SDK_REFERENCE = {
56134
56178
  type: 'unknown',
56135
56179
  description: 'Narrows the default vaults to individual credentials. Every credential is selected when a vault is first added, and may then be unchecked.',
56136
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
+ },
56137
56187
  {
56138
56188
  name: 'default_rubric',
56139
56189
  required: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@labelbox/recursion-sdk",
3
- "version": "0.0.177",
3
+ "version": "0.0.179",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",