POST
/
v2
/
update_job_scope
cURL
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": "<any>"
              },
              "description": "<string>",
              "distribution_info": {
                "datetime": "<any>",
                "origin": "<any>"
              },
              "embedding_model_used_string": "<string>",
              "embeddings": [
                "<any>"
              ],
              "keywords": {
                "keyword_list": "<any>",
                "keywords_embedding": "<any>"
              },
              "last_written_datetime": "2023-12-25",
              "merkle_root": "<string>",
              "metadata_index": {
                "index": "<any>"
              },
              "name": "<string>",
              "node_count": 1,
              "nodes": [
                "<any>"
              ],
              "resource_base_type": "Document",
              "resource_embedding": {
                "id": "<any>",
                "vector": "<any>"
              },
              "resource_id": "<string>",
              "source": {
                "Standard": "<any>"
              }
            }
          },
          "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": "<any>"
              },
              "description": "<string>",
              "distribution_info": {
                "datetime": "<any>",
                "origin": "<any>"
              },
              "embedding_model_used_string": "<string>",
              "embeddings": [
                "<any>"
              ],
              "keywords": {
                "keyword_list": "<any>",
                "keywords_embedding": "<any>"
              },
              "last_written_datetime": "2023-12-25",
              "merkle_root": "<string>",
              "metadata_index": {
                "index": "<any>"
              },
              "name": "<string>",
              "node_count": 1,
              "nodes": [
                "<any>"
              ],
              "resource_base_type": "Document",
              "resource_embedding": {
                "id": "<any>",
                "vector": "<any>"
              },
              "resource_id": "<string>",
              "source": {
                "Standard": "<any>"
              }
            }
          },
          "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": {}
        }
      }
    ]
  }
}'
"<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

Successfully updated job scope

The response is of type any.