GET
/
v2
/
get_job_scope
curl --request GET \
  --url http://127.0.0.1:9550/v2/get_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"
          }
        }
      }
    }
  ]
}

Fetch the defined scope or boundaries of a particular job.

Query Parameters

job_id
string
required

Job ID to retrieve scope for

Response

200
application/json
Successfully retrieved job scope

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)

local_vrkai
object[]
required

A Scope Entry for a local VRKai that only lives in the Job's scope (not in the VectorFS & thus not available to other jobs)

local_vrpack
object[]
required

A Scope Entry for a local VRPack that only lives in the Job's scope (not in the VectorFS & thus not available to other jobs)

network_folders
object[]
required

A Scope Entry for a FSFolder that (potentially) exists on another node's VectorFS (if your node has perms). Unsupported currently, struct added for future compatibility.

vector_fs_folders
object[]
required

A Scope Entry for a FSFolder saved in the VectorFS.

vector_fs_items
object[]
required

A Scope Entry for a FSItem saved in the VectorFS.