POST
/
v2
/
update_job_scope
curl --request POST \
  --url http://127.0.0.1:9550/v2/update_job_scope \
  --header 'Content-Type: application/json' \
  --data '{
  "job_id": "<string>",
  "job_scope": {
    "local_vrkai": [
      {
        "vrkai": {
          "metadata": {},
          "resource": {
            "Document": {
              "created_datetime": "2023-12-25",
              "data_tag_index": {
                "index": {}
              },
              "description": "<string>",
              "distribution_info": {
                "datetime": "2023-12-25",
                "origin": {
                  "Uri": "<string>"
                }
              },
              "embedding_model_used_string": "<string>",
              "embeddings": [
                {
                  "id": "<string>",
                  "vector": [
                    123
                  ]
                }
              ],
              "keywords": {
                "keyword_list": [
                  "<string>"
                ],
                "keywords_embedding": {
                  "embedding": {
                    "id": "<string>",
                    "vector": [
                      123
                    ]
                  },
                  "model_used": "<string>"
                }
              },
              "last_written_datetime": "2023-12-25",
              "merkle_root": "<string>",
              "metadata_index": {
                "index": {}
              },
              "name": "<string>",
              "node_count": 1,
              "nodes": [
                {
                  "content": {
                    "Text": "<string>"
                  },
                  "data_tag_names": [
                    "<string>"
                  ],
                  "id": "<string>",
                  "last_written_datetime": "2023-12-25",
                  "merkle_hash": "<string>",
                  "metadata": {}
                }
              ],
              "resource_base_type": "Document",
              "resource_embedding": {
                "id": "<string>",
                "vector": [
                  123
                ]
              },
              "resource_id": "<string>",
              "source": {
                "Standard": {
                  "FileRef": {
                    "file_name": "<string>",
                    "file_type": {
                      "Document": "Pdf"
                    },
                    "text_chunking_strategy": "V1"
                  }
                }
              }
            }
          },
          "sfm": {
            "map": {},
            "source_files_count": 1
          },
          "version": "V1"
        }
      }
    ],
    "local_vrpack": [
      {
        "vrpack": {
          "embedding_models_used": {},
          "folder_count": 1,
          "metadata": {},
          "name": "<string>",
          "resource": {
            "Document": {
              "created_datetime": "2023-12-25",
              "data_tag_index": {
                "index": {}
              },
              "description": "<string>",
              "distribution_info": {
                "datetime": "2023-12-25",
                "origin": {
                  "Uri": "<string>"
                }
              },
              "embedding_model_used_string": "<string>",
              "embeddings": [
                {
                  "id": "<string>",
                  "vector": [
                    123
                  ]
                }
              ],
              "keywords": {
                "keyword_list": [
                  "<string>"
                ],
                "keywords_embedding": {
                  "embedding": {
                    "id": "<string>",
                    "vector": [
                      123
                    ]
                  },
                  "model_used": "<string>"
                }
              },
              "last_written_datetime": "2023-12-25",
              "merkle_root": "<string>",
              "metadata_index": {
                "index": {}
              },
              "name": "<string>",
              "node_count": 1,
              "nodes": [
                {
                  "content": {
                    "Text": "<string>"
                  },
                  "data_tag_names": [
                    "<string>"
                  ],
                  "id": "<string>",
                  "last_written_datetime": "2023-12-25",
                  "merkle_hash": "<string>",
                  "metadata": {}
                }
              ],
              "resource_base_type": "Document",
              "resource_embedding": {
                "id": "<string>",
                "vector": [
                  123
                ]
              },
              "resource_id": "<string>",
              "source": {
                "Standard": {
                  "FileRef": {
                    "file_name": "<string>",
                    "file_type": {
                      "Document": "Pdf"
                    },
                    "text_chunking_strategy": "V1"
                  }
                }
              }
            }
          },
          "version": "V1",
          "vrkai_count": 1
        }
      }
    ],
    "network_folders": [
      {
        "external_identity": {
          "full_name": "<string>",
          "node_name": "<string>",
          "profile_name": "<string>",
          "subidentity_name": "<string>",
          "subidentity_type": "Agent"
        },
        "name": "<string>",
        "path": {
          "path_ids": [
            "<string>"
          ]
        }
      }
    ],
    "vector_fs_folders": [
      {
        "name": "<string>",
        "path": {
          "path_ids": [
            "<string>"
          ]
        }
      }
    ],
    "vector_fs_items": [
      {
        "name": "<string>",
        "path": {
          "path_ids": [
            "<string>"
          ]
        },
        "source": {
          "Standard": {
            "FileRef": {
              "file_name": "<string>",
              "file_type": {
                "Document": "Pdf"
              },
              "text_chunking_strategy": "V1"
            }
          }
        }
      }
    ]
  }
}'
"<any>"

Alter the scope or parameters of an existing job.

Body

application/json
job_id
string
required
job_scope
object
required

Job's scope which includes both Local entries (vrkai stored locally only in job) and VecFS entries (source/vector resource stored in the FS, accessible to all jobs)

Response

200
application/json
Successfully updated job scope

The response is of type any.