{"openapi": "3.1.0", "info": {"title": "USD Search and Asset Graph Search APIs", "description": "**USD Search API** enables developers, creators, and workflow specialists to efficiently search through vast collections of OpenUSD data, images, and other assets using natural language or image-based inputs.\n\n\nWith these production-ready microservices, developers can deploy USD Search API onto their own infrastructure. With USD Search API\u2019s artificial intelligence (AI) features, you can quickly locate untagged and unstructured 3D data and digital assets, saving time navigating unstructured, untagged 3D data. USD Search API is capable of searching and indexing 3D asset databases, as well as navigating complex 3D scenes to perform spatial searches, without requiring manual tagging of assets.\n\n## Features\n- **Natural Language Searches:** - Utilize AI to search for images and USD-based 3D models using simple, descriptive language.\n- **Image Similarity Searches:** - Find images similar to a reference image through AI-driven image comparisons.\n- **Metadata Filtering:** - Filter search results by file name, file type, creation/modification dates, file size, and creator/modifier metadata.\n- **USD Content Filtering with Asset Graph Search:** - When used with the Asset Graph Search, search capabilities are expanded to include filtering based on USD properties and object dimensions.\n- **Multiple Storage Backend Support:** - Compatible with various storage backends, including AWS S3 buckets and Omniverse Nucleus server.\n- **Advanced File Name, Extension, and Path Filters:** - Use wildcards for broad or specific file name and extension searches.\n- **Date and Size Range Filtering:** - Specify assets created or modified within certain date ranges or file sizes larger or smaller than a designated threshold.\n- **User-based Filtering:** - Filter assets based on their creator or modifier, allowing for searches tailored to particular users' contributions.\n- **Embedding-based Similarity Threshold:** - Set a similarity threshold for more nuanced control over search results in embedding-based searches.\n- **Custom Search Paths and Scenes:** - Specify search locations within the storage backend or conduct searches within specific scenes for targeted results.\n- **Return Detailed Results:** - Option to include images, metadata, root prims, and predictions in the search results.\n\n# Asset Graph Search (AGS) API Overview\n**Asset Graph Search (AGS)** provides advanced querying capabilities for assets and USD trees indexed in a graph database. It supports proximity queries based on coordinates or prims to find objects within specified areas or radii, sorted by distance, and includes transformation options for vector alignment. The API also offers dependency and reverse dependency searches, helping to identify all assets referenced in a scene or scenes containing a particular asset, which can optimize scene loading and track dependency changes. By combining different query types, the AGS API enables complex scenarios for scene understanding, manipulation, and generation. Integrated with USD Search it provides in-scene search functionality.\n## Features\n- **Proximity Queries:** - Find objects within a specified bounding box or radius. - Results sorted by distance with options for vector alignment using a transformation matrix.\n- **USD Property Queries:** - Enables querying objects in a 3D scene using USD properties, such as finding all assets with a specific semantic label.\n- **Asset Dependency Searches:** - Identify all assets referenced in a scene \u2014 including USD references, material references, or textures. - Reverse search to find all scenes containing a particular asset.\n- **Combined Query Capabilities:** - Enable complex scenarios for enhanced scene understanding, manipulation, and generation.\n- **Integration with USD Search:** - Provides in-scene search functionality.\n", "version": "1.5.0"}, "paths": {"/search": {"get": {"tags": ["AI Search"], "summary": "Search", "description": "All supported search parameters are available as query parameters.\n\nSearch endpoint enables comprehensive searches across images (e.g., .jpg, .png) and USD-based 3D models within\nvarious storage backends (Nucleus, S3, etc.). It enables users to use natural language, image\nsimilarity, and precise metadata criteria (file name, type, date, size, creator, etc.) to locate relevant content\nefficiently. Furthermore, when integrated with the Asset Graph Service, USD Search API extends its capabilities to\ninclude searches based on USD properties and spatial dimensions of 3D model bounding boxes, enhancing the ability\nto find assets that meet specific requirements.\n\n**Pagination:** pass `offset`, or better, the previous response's `X-Next-Cursor` header back as\n`cursor` \u2014 it pins the ranking so pages do not overlap or skip. Because this endpoint returns a\nbare JSON array, the pagination state travels in response headers rather than the body:\n`X-Next-Cursor`, `X-Has-More` (`true`/`false`) and `X-Paginable-Total` (the page-count basis).\nHow deep you can go depends on the query shape: filter-only queries are unbounded, a text query\nis capped by the deployment's `pagination_max_offset`, and a multi-leg query is capped by the RRF\nfusion window. `validate_results=true` is single-page and cannot be combined with `offset`/`cursor`.\nThe richer envelope \u2014 including why paging stopped \u2014 is on `POST /v3/deepsearch/search`.", "operationId": "search_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "description", "in": "query", "required": false, "schema": {"type": "string", "maxLength": 1024, "description": "Conduct text-based searches powered by AI", "default": "", "title": "Description"}, "description": "Conduct text-based searches powered by AI", "examples": {"None": {"summary": "No text-based search"}, "Find a 'box'": {"summary": "Example search for 'box'", "value": "box"}, "Find a 'pallet'": {"summary": "Example search for 'pallet'", "value": "pallet"}, "Search 'red rusty barrel'": {"summary": "Example search for 'red rusty barrel'", "value": "red rusty barrel"}}}, {"name": "image_similarity_search", "in": "query", "required": false, "schema": {"anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "description": "Perform similarity searches based on a list of images", "title": "Image Similarity Search"}, "description": "Perform similarity searches based on a list of images", "examples": {"None": {"summary": "No image similarity search", "value": []}, "Base64 encoded image example": {"summary": "Base64 encoded image example", "value": ["iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC"]}, "Base64 encoded image with format prefix example": {"summary": "Base64 encoded image with format prefix example", "value": ["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC"]}, "Storage backend URL example": {"summary": "Storage backend URL example", "value": ["s3://bucket-name/Project/asset1.usd"]}}}, {"name": "file_name", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "File Name"}, "description": "Filter results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Find files named 'robot.usd'": {"summary": "Example to find files matching 'robot.usd'", "value": "robot.usd"}, "Search for 'scene' in filenames": {"summary": "Example to find files partially matching 'scene'", "value": "*scene*"}}}, {"name": "exclude_file_name", "in": "query", "required": false, "schema": {"type": "string", "description": "Exclude results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "Exclude File Name"}, "description": "Exclude results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Exclude files with 'draft' prefix": {"summary": "Example to exclude files with 'draft' prefix", "value": "draft*"}, "Do not include 'temp' in filenames": {"summary": "Example to exclude files with 'temp' in their names", "value": "*temp*"}}}, {"name": "file_extension_include", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "File Extension Include"}, "description": "Filter results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Only include 'usd' files": {"summary": "Example to filter for '.usd' files", "value": "usd"}, "Only include 'usd' files (all types)": {"summary": "Example to filter for all types of USD files", "value": "usd*"}, "Search for 'jpg' files": {"summary": "Example to filter for '.jpg' files", "value": "jpg"}, "Search for image files": {"summary": "Example to filter for image files", "value": "jpg,png,gif"}}}, {"name": "file_extension_exclude", "in": "query", "required": false, "schema": {"type": "string", "description": "Exclude results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "File Extension Exclude"}, "description": "Exclude results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Exclude 'jpg' files": {"summary": "Example to exclude '.jpg' files", "value": "jpg"}, "Exclude image files": {"summary": "Example to exclude image files", "value": "jpg,png,gif"}, "Do not include 'mdl' files": {"summary": "Example to exclude '.mdl' files", "value": "mdl"}}}, {"name": "created_after", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets created after a specified date", "title": "Created After"}, "description": "Filter results to only include assets created after a specified date", "examples": {"None": {"summary": "Disable created_after filter"}, "After '2023-01-01'": {"summary": "Example to filter assets created after '2023-01-01'", "value": "2023-01-01"}, "Post '2023-06-01'": {"summary": "Example to filter assets created after '2023-06-01'", "value": "2023-06-01"}}}, {"name": "created_before", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets created before a specified date", "title": "Created Before"}, "description": "Filter results to only include assets created before a specified date", "examples": {"None": {"summary": "Disable created_before filter"}, "Before '2023-01-01'": {"summary": "Example to filter assets created before '2023-01-01'", "value": "2023-01-01"}, "Pre '2023-06-01'": {"summary": "Example to filter assets created before '2023-06-01'", "value": "2023-06-01"}}}, {"name": "modified_after", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets modified after a specified date", "title": "Modified After"}, "description": "Filter results to only include assets modified after a specified date", "examples": {"None": {"summary": "Disable modified_after filter"}, "Modified after '2023-02-01'": {"summary": "Example to filter assets modified after '2023-02-01'", "value": "2023-02-01"}, "Changes post '2023-07-01'": {"summary": "Example to filter assets modified after '2023-07-01'", "value": "2023-07-01"}}}, {"name": "modified_before", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets modified before a specified date", "title": "Modified Before"}, "description": "Filter results to only include assets modified before a specified date", "examples": {"None": {"summary": "Disable modified_before filter"}, "Modified before '2023-02-01'": {"summary": "Example to filter assets modified before '2023-02-01'", "value": "2023-02-01"}, "Changes pre '2023-07-01'": {"summary": "Example to filter assets modified before '2023-07-01'", "value": "2023-07-01"}}}, {"name": "file_size_greater_than", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "description": "Filter results to only include files larger than a specific size", "title": "File Size Greater Than"}, "description": "Filter results to only include files larger than a specific size", "examples": {"None": {"summary": "Disable file size greater than filter"}, "Larger than '5MB'": {"summary": "Example to filter files larger than 5MB", "value": "5MB"}, "Above '10MB'": {"summary": "Example to filter files larger than 10MB", "value": "10MB"}}}, {"name": "file_size_less_than", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "description": "Filter results to only include files smaller than a specific size", "title": "File Size Less Than"}, "description": "Filter results to only include files smaller than a specific size", "examples": {"None": {"summary": "Disable file size less than filter"}, "Smaller than '1GB'": {"summary": "Example to filter files smaller than 1GB", "value": "1GB"}, "Under '500MB'": {"summary": "Example to filter files smaller than 500MB", "value": "500MB"}}}, {"name": "created_by", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter results to only include assets created by a specific user. In case AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "default": "", "title": "Created By"}, "description": "Filter results to only include assets created by a specific user. In case AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email."}, {"name": "exclude_created_by", "in": "query", "required": false, "schema": {"type": "string", "description": "Exclude assets created by a specific user from the results", "default": "", "title": "Exclude Created By"}, "description": "Exclude assets created by a specific user from the results", "examples": {"Exclude creations by 'Alex'": {"summary": "Example to exclude assets created by 'Alex'", "value": "alex"}, "Not from 'Jordan'": {"summary": "Example to exclude assets created by 'Jordan'", "value": "jordan"}}}, {"name": "modified_by", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter results to only include assets modified by a specific user. In the case, when AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "default": "", "title": "Modified By"}, "description": "Filter results to only include assets modified by a specific user. In the case, when AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email."}, {"name": "exclude_modified_by", "in": "query", "required": false, "schema": {"type": "string", "description": "Exclude assets modified by a specific user from the results", "default": "", "title": "Exclude Modified By"}, "description": "Exclude assets modified by a specific user from the results", "examples": {"Exclude changes by 'Chris'": {"summary": "Example to exclude assets modified by 'Chris'", "value": "Chris"}, "Not modified by 'Pat'": {"summary": "Example to exclude assets modified by 'Pat'", "value": "Pat"}}}, {"name": "similarity_threshold", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "maximum": 2, "minimum": 0}, {"type": "null"}], "description": "Set the similarity threshold for embedding-based searches. This functionality allows filtering duplicates and returning only those results that are different from each other. Assets are considered to be duplicates if the cosine distance betwen the embeddings a smaller than the similarity_threshold value, which could be in the [0, 2] range.", "title": "Similarity Threshold"}, "description": "Set the similarity threshold for embedding-based searches. This functionality allows filtering duplicates and returning only those results that are different from each other. Assets are considered to be duplicates if the cosine distance betwen the embeddings a smaller than the similarity_threshold value, which could be in the [0, 2] range.", "examples": {"Threshold of 0": {"summary": "Example similarity threshold set to 0", "value": 0}, "Similarity above 0.7": {"summary": "Example similarity threshold set to 0.7", "value": 0.7}}}, {"name": "cutoff_threshold", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum raw engine score for vector search legs only, applied per leg before rank fusion. Scale is the engine's transformed score (innerproduct kNN over normalized SigLIP2 maps ip >= 0 to 1 + ip), so the useful range is roughly 1.0-2.0; values below 1.0 are effectively no-ops.", "title": "Cutoff Threshold"}, "description": "Minimum raw engine score for vector search legs only, applied per leg before rank fusion. Scale is the engine's transformed score (innerproduct kNN over normalized SigLIP2 maps ip >= 0 to 1 + ip), so the useful range is roughly 1.0-2.0; values below 1.0 are effectively no-ops.", "examples": {"None": {"summary": "No cutoff threshold (keep every vector hit)"}, "Mild cutoff at 1.05": {"summary": "Drop vector hits with near-zero cosine similarity", "value": 1.05}, "Strict cutoff at 1.3": {"summary": "Keep only strongly similar vector hits (cosine >= 0.3)", "value": 1.3}}}, {"name": "search_path", "in": "query", "required": false, "schema": {"type": "string", "description": "Specify the search path within the storage backend. This path should not contain the storage backend URL, just the asset path on the storage backend. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "Search Path"}, "description": "Specify the search path within the storage backend. This path should not contain the storage backend URL, just the asset path on the storage backend. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Search under '/Projects'": {"summary": "Example to specify search location under '/Projects'", "value": "/Projects"}, "Browse '/Archives/2021'": {"summary": "Example to specify search location in '/Archives/2021'", "value": "/Archives/2021"}}}, {"name": "exclude_search_path", "in": "query", "required": false, "schema": {"type": "string", "description": "Specify the search path within the storage backend. This path should not contain the storage backend URL, just the asset path on the storage backend. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "default": "", "title": "Exclude Search Path"}, "description": "Specify the search path within the storage backend. This path should not contain the storage backend URL, just the asset path on the storage backend. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": {"Exclude '/Projects' from search": {"summary": "Example to specify that '/Projects' is excluded", "value": "/Projects"}, "Exclude '*/Archives/2021*' from search": {"summary": "Example to specify that any path with this: '*/Archives/2021*' needs to be excluded", "value": "*/Archives/2021*"}}}, {"name": "filter_url_regexp", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Specify an asset URL filter in the [Lucene Regexp format](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-regexp-query.html#regexp-syntax).", "title": "Filter Url Regexp"}, "description": "Specify an asset URL filter in the [Lucene Regexp format](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-regexp-query.html#regexp-syntax).", "examples": {"None": {"summary": "Disable URL regex filter"}, "Include only '/Projects' folder in search": {"summary": "Example to specify that only '/Projects' folder in included in search", "value": ".*/Projects/.*"}, "Exclude '*/Projects/*' from search": {"summary": "Example to specify that any path with this: '/Projects/*' needs to be excluded", "value": "~(.*/Projects/.*)"}}}, {"name": "search_in_scene", "in": "query", "required": false, "schema": {"type": "string", "description": "Conduct the search within a specific scene. Provide the full URL for the asset including the storage backend URL prefix.", "default": "", "title": "Search In Scene"}, "description": "Conduct the search within a specific scene. Provide the full URL for the asset including the storage backend URL prefix.", "examples": {"Scene at 's3://bucket-name/Projects/scene1.usd": {"summary": "Example scene URL stored on an S3 bucket", "value": "s3://bucket-name/Projects/scene1.usd"}, "Find in 'omniverse://example.org/scene2.usd'": {"summary": "Example scene URL stored on an Omniverse Nucleus server", "value": "omniverse://example.org/scene2.usd"}}}, {"name": "filter_by_properties", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter assets by USD attributes where at least one root prim matches (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456`, to search for key only use `key=`, and to search for value only `=value`", "default": "", "title": "Filter By Properties"}, "description": "Filter assets by USD attributes where at least one root prim matches (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456`, to search for key only use `key=`, and to search for value only `=value`", "examples": {"Filter by 'color=red,size=S'": {"summary": "Example filter by 'color=red' and 'size=S'", "value": "color=red,size=S"}, "Properties 'material=plastic,weight=light'": {"summary": "Example filter by 'material=plastic' and 'weight=light'", "value": "material=plastic,weight=light"}}}, {"name": "filter_by_properties_include_any", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter assets by USD attributes using OR logic \u2014 matches if at least one property condition is satisfied. Same format as `filter_by_properties`: `attribute1=abc,attribute2=456` or `attribute1=~*abc*,attribute2=~*456*` for wildcards", "default": "", "title": "Filter By Properties Include Any"}, "description": "Filter assets by USD attributes using OR logic \u2014 matches if at least one property condition is satisfied. Same format as `filter_by_properties`: `attribute1=abc,attribute2=456` or `attribute1=~*abc*,attribute2=~*456*` for wildcards", "examples": {"Any of 'color=red' or 'size=S'": {"summary": "Example: match assets with color=red OR size=S", "value": "color=red,size=S"}}}, {"name": "exclude_filter_by_properties", "in": "query", "required": false, "schema": {"type": "string", "description": "Exclude assets by USD attributes (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456`", "default": "", "title": "Exclude Filter By Properties"}, "description": "Exclude assets by USD attributes (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456`", "examples": {"Filter by 'color=red,size=S'": {"summary": "Example filter to exclude 'color=red' and 'size=S'", "value": "color=red,size=S"}, "Properties 'material=plastic,weight=light'": {"summary": "Example filter to exclude 'material=plastic' and 'weight=light'", "value": "material=plastic,weight=light"}}}, {"name": "filter_by_properties_numeric", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter assets by numeric USD attributes with comparison operators. Format: `property>value,property<=value`. Supported operators: `>`, `>=`, `<`, `<=`, `=`. Example: `physics:mass>1.0,physics:density<=500`", "default": "", "title": "Filter By Properties Numeric"}, "description": "Filter assets by numeric USD attributes with comparison operators. Format: `property>value,property<=value`. Supported operators: `>`, `>=`, `<`, `<=`, `=`. Example: `physics:mass>1.0,physics:density<=500`", "examples": {"Mass greater than 1.0": {"summary": "Filter by mass > 1.0", "value": "physics:mass>1.0"}, "Mass range 1.0-10.0": {"summary": "Filter by mass between 1.0 and 10.0", "value": "physics:mass>=1.0,physics:mass<=10.0"}, "Density at most 500": {"summary": "Filter by density <= 500", "value": "physics:density<=500"}}}, {"name": "filter_by_tags", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter by tags. Format: `tag1,tag2,tag3`", "default": "", "title": "Filter By Tags"}, "description": "Filter by tags. Format: `tag1,tag2,tag3`", "examples": {"Filter by tags 'tag1,tag2,tag3'": {"summary": "Example filter by tags 'tag1,tag2,tag3'", "value": "tag1,tag2,tag3"}}}, {"name": "min_bbox_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum X axis dimension of the asset's bounding box of the default prim of the asset", "title": "Min Bbox X"}, "description": "Filter by minimum X axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "min_bbox_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum Y axis dimension of the asset's bounding box of the default prim of the asset", "title": "Min Bbox Y"}, "description": "Filter by minimum Y axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "min_bbox_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum Z axis dimension of the asset's bounding box of the default prim of the asset", "title": "Min Bbox Z"}, "description": "Filter by minimum Z axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum X axis dimension of the asset's bounding box of the default prim of the asset", "title": "Max Bbox X"}, "description": "Filter by maximum X axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum Y axis dimension of the asset's bounding box of the default prim of the asset", "title": "Max Bbox Y"}, "description": "Filter by maximum Y axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum Z axis dimension of the asset's bounding box of the default prim of the asset", "title": "Max Bbox Z"}, "description": "Filter by maximum Z axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "return_images", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return images if set to True", "default": false, "title": "Return Images"}, "description": "Return images if set to True"}, {"name": "return_metadata", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return metadata if set to True", "default": false, "title": "Return Metadata"}, "description": "Return metadata if set to True"}, {"name": "return_root_prims", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return root prims if set to True", "default": false, "title": "Return Root Prims"}, "description": "Return root prims if set to True"}, {"name": "return_default_prims", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return default prims if set to True", "default": false, "title": "Return Default Prims"}, "description": "Return default prims if set to True"}, {"name": "return_predictions", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Returns predictions for each asset in the search results from the fixed vocabulary.\n\n **NOTE**: This functionality is deprecated and setting this parameter will have no effect starting from USD Search version API 1.3. This parameter will be completely removed from the list of input parameters in USD Search API version 2 and above. Please rely on VLM-based auto-captioning functionality instead.", "deprecated": true, "default": false, "title": "Return Predictions"}, "description": "Returns predictions for each asset in the search results from the fixed vocabulary.\n\n **NOTE**: This functionality is deprecated and setting this parameter will have no effect starting from USD Search version API 1.3. This parameter will be completely removed from the list of input parameters in USD Search API version 2 and above. Please rely on VLM-based auto-captioning functionality instead.", "deprecated": true}, {"name": "return_in_scene_instances_prims", "in": "query", "required": false, "schema": {"type": "boolean", "description": "[in-scene search only] Return prims of instances of objects found in the scene", "default": false, "title": "Return In Scene Instances Prims"}, "description": "[in-scene search only] Return prims of instances of objects found in the scene"}, {"name": "embedding_knn_search_method", "in": "query", "required": false, "schema": {"anyOf": [{"$ref": "#/components/schemas/SearchMethod"}, {"type": "null"}], "description": "Search method, approximate should be faster but is less accurate. Default is exact", "title": "Embedding Knn Search Method"}, "description": "Search method, approximate should be faster but is less accurate. Default is exact"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "maximum": 10000, "exclusiveMinimum": 0, "description": "Set the maximum number of results to return from the search, default is 32", "default": 32, "title": "Limit"}, "description": "Set the maximum number of results to return from the search, default is 32"}, {"name": "offset", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Number of results to skip. Prefer the `cursor` below, which pins the ranking so pages do not overlap or skip. Depth depends on the query shape: filter-only is unbounded, a text query is capped by pagination_max_offset, a multi-leg query by the RRF fusion window. Cannot be combined with validate_results=true.", "default": 0, "title": "Offset"}, "description": "Number of results to skip. Prefer the `cursor` below, which pins the ranking so pages do not overlap or skip. Depth depends on the query shape: filter-only is unbounded, a text query is capped by pagination_max_offset, a multi-leg query by the RRF fusion window. Cannot be combined with validate_results=true."}, {"name": "cursor", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Opaque cursor from the previous response's `X-Next-Cursor` header. Takes precedence over `offset`. The query must stay identical while paging; `limit` and the `return_*` flags may change. Cannot be combined with validate_results=true.", "title": "Cursor"}, "description": "Opaque cursor from the previous response's `X-Next-Cursor` header. Takes precedence over `offset`. The query must stay identical while paging; `limit` and the `return_*` flags may change. Cannot be combined with validate_results=true."}, {"name": "vision_metadata", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Uses a keyword match query on metadata fields that were generated using Vision Language Models", "title": "Vision Metadata"}, "description": "Uses a keyword match query on metadata fields that were generated using Vision Language Models"}, {"name": "return_vision_generated_metadata", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Returns the metadata fields that were generated using Vision Language Models", "default": false, "title": "Return Vision Generated Metadata"}, "description": "Returns the metadata fields that were generated using Vision Language Models"}, {"name": "return_tags", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return tags for search results", "default": false, "title": "Return Tags"}, "description": "Return tags for search results"}, {"name": "return_inner_hits", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Return inner hits from nested queries for debugging and detailed scoring", "default": false, "title": "Return Inner Hits"}, "description": "Return inner hits from nested queries for debugging and detailed scoring"}, {"name": "validate_results", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Validate results with VLM", "default": false, "title": "Validate Results"}, "description": "Validate results with VLM"}], "responses": {"200": {"description": "Search results", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/deepsearch_api__routers_v2__models__SearchResult"}, "title": "Response Search V2 Deepsearch Search Get"}, "example": [{"url": "omniverse://sample-nucleus-server.example.com/Projects/sample-usd-asset.usd", "score": 1.2529583, "root_prims": [{"scene_url": "omniverse://sample-nucleus-server.example.com/Projects/sample-usd-asset.usd", "usd_path": "/RootNode", "prim_type": "Xform", "bbox_max": [0.34971755743026733, 0.2549635171890259, 0.5211517214775085], "bbox_min": [-0.34971755743026733, -0.25496378540992737, 1.9483268332010084e-08], "bbox_midpoint": [0, -1.341104507446289e-07, 0.26057587048038844], "bbox_dimension_x": 0.6994351148605347, "bbox_dimension_y": 0.5099273025989532, "bbox_dimension_z": 0.5211517019942402, "properties": {"semantic:QWQQ:params:semanticData": "Q1395006", "semantic:QWQL:params:semanticType": "class", "semantic:QWQQ:params:semanticType": "qcode", "semantic:QWQC:params:semanticData": "container/product packaging/box/cardboard box", "semantic:QWQL:params:semanticData": "cardboard box", "semantic:QWQC:params:semanticType": "hierarchy"}}], "metadata": {"created": "Mon Mar 20 22:06:58 2023", "created_by": "user@nvidia.com", "modified": "Mon Mar 20 22:06:58 2023", "modified_by": "user@nvidia.com", "size": 14938, "etag": "169176"}, "vision_generated_metadata": {"vision_generated_object_type": "electric guitar, musical instrument, guitar", "vision_generated_materials": "wood, metal, plastic"}}]}}, "headers": {"X-Next-Cursor": {"description": "Opaque cursor for the next page. Absent on the last page.", "schema": {"type": "string"}}, "X-Has-More": {"description": "Whether another page exists (`true`/`false`). Authoritative \u2014 a full page does not imply more.", "schema": {"type": "string", "enum": ["true", "false"]}}, "X-Paginable-Total": {"description": "How many results paging can reach. Not a corpus count; see `paginable_total` on the v3 response.", "schema": {"type": "integer"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "post": {"tags": ["AI Search"], "summary": "Search Post", "description": "All supported search parameters are available as body parameters.\n\nSearch endpoint enables comprehensive searches across images (e.g., .jpg, .png) and USD-based 3D models within\nvarious storage backends (Nucleus, S3, etc.). It enables users to use natural language, image\nsimilarity, and precise metadata criteria (file name, type, date, size, creator, etc.) to locate relevant content\nefficiently. Furthermore, when integrated with the Asset Graph Service, USD Search API extends its capabilities to\ninclude searches based on USD properties and spatial dimensions of 3D model bounding boxes, enhancing the ability\nto find assets that meet specific requirements.\n\n**Pagination:** pass `offset`, or better, the previous response's `X-Next-Cursor` header back as\n`cursor` \u2014 it pins the ranking so pages do not overlap or skip. Because this endpoint returns a\nbare JSON array, the pagination state travels in response headers rather than the body:\n`X-Next-Cursor`, `X-Has-More` (`true`/`false`) and `X-Paginable-Total` (the page-count basis).\nHow deep you can go depends on the query shape: filter-only queries are unbounded, a text query\nis capped by the deployment's `pagination_max_offset`, and a multi-leg query is capped by the RRF\nfusion window. `validate_results=true` is single-page and cannot be combined with `offset`/`cursor`.\nThe richer envelope \u2014 including why paging stopped \u2014 is on `POST /v3/deepsearch/search`.", "operationId": "search_post", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/DeepSearchSearchRequestV2"}}}}, "responses": {"200": {"description": "Search results", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/deepsearch_api__routers_v2__models__SearchResult"}, "title": "Response Search Post V2 Deepsearch Search Post"}, "example": [{"url": "omniverse://sample-nucleus-server.example.com/Projects/sample-usd-asset.usd", "score": 1.2529583, "root_prims": [{"scene_url": "omniverse://sample-nucleus-server.example.com/Projects/sample-usd-asset.usd", "usd_path": "/RootNode", "prim_type": "Xform", "bbox_max": [0.34971755743026733, 0.2549635171890259, 0.5211517214775085], "bbox_min": [-0.34971755743026733, -0.25496378540992737, 1.9483268332010084e-08], "bbox_midpoint": [0, -1.341104507446289e-07, 0.26057587048038844], "bbox_dimension_x": 0.6994351148605347, "bbox_dimension_y": 0.5099273025989532, "bbox_dimension_z": 0.5211517019942402, "properties": {"semantic:QWQQ:params:semanticData": "Q1395006", "semantic:QWQL:params:semanticType": "class", "semantic:QWQQ:params:semanticType": "qcode", "semantic:QWQC:params:semanticData": "container/product packaging/box/cardboard box", "semantic:QWQL:params:semanticData": "cardboard box", "semantic:QWQC:params:semanticType": "hierarchy"}}], "metadata": {"created": "Mon Mar 20 22:06:58 2023", "created_by": "user@nvidia.com", "modified": "Mon Mar 20 22:06:58 2023", "modified_by": "user@nvidia.com", "size": 14938, "etag": "169176"}, "vision_generated_metadata": {"vision_generated_object_type": "electric guitar, musical instrument, guitar", "vision_generated_materials": "wood, metal, plastic"}}]}}, "headers": {"X-Next-Cursor": {"description": "Opaque cursor for the next page. Absent on the last page.", "schema": {"type": "string"}}, "X-Has-More": {"description": "Whether another page exists (`true`/`false`). Authoritative \u2014 a full page does not imply more.", "schema": {"type": "string", "enum": ["true", "false"]}}, "X-Paginable-Total": {"description": "How many results paging can reach. Not a corpus count; see `paginable_total` on the v3 response.", "schema": {"type": "integer"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/search/stats/usd_properties": {"get": {"tags": ["AI Search"], "summary": "Stats Usd Properties", "description": "Inventory of USD properties across the indexed corpus: every unique property key, every unique\nvalue, and every unique key=value pair \u2014 each with the number of assets that carry it\n(``asset_count``), sorted by coverage. The full lists (not just counts) power property discovery;\nsee the ``/usd-property-catalog`` skill, which turns this into a local catalog + filter config.\n\n**Filtering.** Pass any of the filter parameters that `/search` accepts (`search_path`,\n`file_extension_include`, `filter_by_properties`, `filter_by_tags`, dates, bbox dimensions,\n`search_in_scene`, \u2026) to inventory a subset of the corpus instead \u2014 \"which properties do the\nassets under /Projects/Vehicles carry?\". Passing none inventories everything, as before.\n\nCounts stay **exact** for whatever subset is selected: this is an aggregation over the whole\nmatching set, not a summary of one page of search results. Filtering is asset-scoped, so\n`filter_by_properties=class=vehicle` returns *every* property those assets carry, not just\n`class` \u2014 which is what makes drill-down work.\n\nSearch-only parameters (`description`, vector/image queries, `limit`, `offset`) are rejected\nwith a 422: an aggregation has no ranking to apply them to, and silently ignoring them would\nreturn corpus-wide numbers that look filtered.\n\n**Not access-filtered.** Results describe the index itself, not the subset of assets the\ncaller could download \u2014 with or without filters. Deployments that cannot accept that should\nturn aggregations off (`enable_aggregations=false`), which makes this endpoint return 403.", "operationId": "search_stats_usd_properties_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "file_name", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["robot.usd", "*scene*"], "title": "File Name"}, "description": "Filter results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND."}, {"name": "exclude_file_name", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["draft*", "*temp*"], "title": "Exclude File Name"}, "description": "Exclude results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND."}, {"name": "file_extension_include", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["usd", "usd*", "jpg,png,gif"], "title": "File Extension Include"}, "description": "Filter results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND."}, {"name": "file_extension_exclude", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["jpg", "jpg,png,gif", "mdl"], "title": "File Extension Exclude"}, "description": "Exclude results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND."}, {"name": "created_after", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets created after a specified date", "examples": ["2023-01-01", "2023-06-01"], "title": "Created After"}, "description": "Filter results to only include assets created after a specified date"}, {"name": "created_before", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets created before a specified date", "examples": ["2023-01-01", "2023-06-01"], "title": "Created Before"}, "description": "Filter results to only include assets created before a specified date"}, {"name": "modified_after", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets modified after a specified date", "examples": ["2023-02-01", "2023-07-01"], "title": "Modified After"}, "description": "Filter results to only include assets modified after a specified date"}, {"name": "modified_before", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets modified before a specified date", "examples": ["2023-02-01", "2023-07-01"], "title": "Modified Before"}, "description": "Filter results to only include assets modified before a specified date"}, {"name": "file_size_greater_than", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "description": "Filter results to only include files larger than a specific size", "examples": ["1KB", "10MB"], "title": "File Size Greater Than"}, "description": "Filter results to only include files larger than a specific size"}, {"name": "file_size_less_than", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "description": "Filter results to only include files smaller than a specific size", "examples": ["100MB", "1GB"], "title": "File Size Less Than"}, "description": "Filter results to only include files smaller than a specific size"}, {"name": "created_by", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets created by a specific user. In case AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "examples": ["ov_user"], "title": "Created By"}, "description": "Filter results to only include assets created by a specific user. In case AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email."}, {"name": "exclude_created_by", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude assets created by a specific user from the results", "examples": ["ov_user"], "title": "Exclude Created By"}, "description": "Exclude assets created by a specific user from the results"}, {"name": "modified_by", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter results to only include assets modified by a specific user. In the case, when AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "examples": ["ov_user"], "title": "Modified By"}, "description": "Filter results to only include assets modified by a specific user. In the case, when AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email."}, {"name": "exclude_modified_by", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude assets modified by a specific user from the results", "examples": ["ov_user"], "title": "Exclude Modified By"}, "description": "Exclude assets modified by a specific user from the results"}, {"name": "search_path", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Limit search to assets within this directory path on the storage backend. Do NOT include the storage backend URL prefix (e.g., use '/Projects/Vehicles/' not 'omniverse://server/Projects/Vehicles/'). Supports wildcards: `*` for any characters, `?` for single character. Note: the path is always interpreted against the asset's internal storage URL. If this deployment publishes rewritten (e.g. `https://`) asset URLs, a path segment that only exists in the rewritten form will not match.", "examples": ["/Projects/Vehicles/", "/Samples/*"], "title": "Search Path"}, "description": "Limit search to assets within this directory path on the storage backend. Do NOT include the storage backend URL prefix (e.g., use '/Projects/Vehicles/' not 'omniverse://server/Projects/Vehicles/'). Supports wildcards: `*` for any characters, `?` for single character. Note: the path is always interpreted against the asset's internal storage URL. If this deployment publishes rewritten (e.g. `https://`) asset URLs, a path segment that only exists in the rewritten form will not match."}, {"name": "exclude_search_path", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude assets within this directory path. Same format as search_path \u2014 do NOT include the storage backend URL prefix. Supports wildcards: `*` for any characters, `?` for single character.", "examples": ["/Projects/Archive/", "*/tmp/*"], "title": "Exclude Search Path"}, "description": "Exclude assets within this directory path. Same format as search_path \u2014 do NOT include the storage backend URL prefix. Supports wildcards: `*` for any characters, `?` for single character."}, {"name": "filter_url_regexp", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Specify an asset URL filter in the [Lucene Regexp format](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-regexp-query.html#regexp-syntax). The pattern is matched against the asset's **internal** storage URL. If this deployment publishes rewritten asset URLs (e.g. `https://` instead of `s3://`), a pattern that *begins with a literal* rewritten prefix is translated for you \u2014 including inside a whole-pattern exclusion, `~(<prefix>temp/.*)`. A pattern that expresses that prefix as a pattern rather than a literal is not, and will match nothing. When in doubt, write the pattern without a scheme/host prefix (e.g. `.*[/]Vehicles[/].*`), which works either way.", "examples": [".*[/]Vehicles[/].*", "~(.*[/]temp[/].*)"], "title": "Filter Url Regexp"}, "description": "Specify an asset URL filter in the [Lucene Regexp format](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-regexp-query.html#regexp-syntax). The pattern is matched against the asset's **internal** storage URL. If this deployment publishes rewritten asset URLs (e.g. `https://` instead of `s3://`), a pattern that *begins with a literal* rewritten prefix is translated for you \u2014 including inside a whole-pattern exclusion, `~(<prefix>temp/.*)`. A pattern that expresses that prefix as a pattern rather than a literal is not, and will match nothing. When in doubt, write the pattern without a scheme/host prefix (e.g. `.*[/]Vehicles[/].*`), which works either way."}, {"name": "search_in_scene", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Conduct the search within a specific scene. Provide the full URL for the asset including the storage backend URL prefix.", "examples": ["s3://bucket-name/Project/scene.usd"], "title": "Search In Scene"}, "description": "Conduct the search within a specific scene. Provide the full URL for the asset including the storage backend URL prefix."}, {"name": "filter_by_properties", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter assets by USD attributes where at least one root prim matches ALL listed conditions (AND logic). Format: `key=value` pairs comma-separated. Use `=~` prefix on value for wildcard matching. Examples: `class=vehicle` (exact), `class=~*vehicle*` (wildcard), `class=vehicle,material=metal` (both must match). Only a subset of indexed attributes is searchable.", "examples": ["class=vehicle", "class=~*vehicle*", "class=vehicle,material=metal"], "title": "Filter By Properties"}, "description": "Filter assets by USD attributes where at least one root prim matches ALL listed conditions (AND logic). Format: `key=value` pairs comma-separated. Use `=~` prefix on value for wildcard matching. Examples: `class=vehicle` (exact), `class=~*vehicle*` (wildcard), `class=vehicle,material=metal` (both must match). Only a subset of indexed attributes is searchable."}, {"name": "filter_by_properties_include_any", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter assets by USD attributes using OR logic \u2014 an asset matches if ANY of the listed property conditions match. Same format as filter_by_properties: `key=value` for exact, `key=~*pattern*` for wildcard. Example: `class=car,class=truck` matches assets with either class.", "examples": ["class=car,class=truck"], "title": "Filter By Properties Include Any"}, "description": "Filter assets by USD attributes using OR logic \u2014 an asset matches if ANY of the listed property conditions match. Same format as filter_by_properties: `key=value` for exact, `key=~*pattern*` for wildcard. Example: `class=car,class=truck` matches assets with either class."}, {"name": "exclude_filter_by_properties", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Exclude assets by USD attributes where at least one root prim matches (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456` for exact matches or `*attribute1*=~*abc*,*attribute2*=~*456*` for wildcard matches", "examples": ["class=vehicle", "class=~*draft*"], "title": "Exclude Filter By Properties"}, "description": "Exclude assets by USD attributes where at least one root prim matches (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456` for exact matches or `*attribute1*=~*abc*,*attribute2*=~*456*` for wildcard matches"}, {"name": "filter_by_properties_numeric", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter assets by numeric USD attributes with comparison operators. Format: `property>value,property<=value`. Supported operators: `>`, `>=`, `<`, `<=`, `=`. Example: `physics:mass>1.0,physics:density<=500`", "examples": ["physics:mass>1.0", "physics:mass>1.0,physics:density<=500"], "title": "Filter By Properties Numeric"}, "description": "Filter assets by numeric USD attributes with comparison operators. Format: `property>value,property<=value`. Supported operators: `>`, `>=`, `<`, `<=`, `=`. Example: `physics:mass>1.0,physics:density<=500`"}, {"name": "filter_by_tags", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter assets by tags. Format: `tag1=,=value2,tag3=value3`", "examples": ["reviewed=", "=production", "status=approved"], "title": "Filter By Tags"}, "description": "Filter assets by tags. Format: `tag1=,=value2,tag3=value3`"}, {"name": "min_bbox_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum X axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0], "title": "Min Bbox X"}, "description": "Filter by minimum X axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "min_bbox_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum Y axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0], "title": "Min Bbox Y"}, "description": "Filter by minimum Y axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "min_bbox_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Filter by minimum Z axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0], "title": "Min Bbox Z"}, "description": "Filter by minimum Z axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum X axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0], "title": "Max Bbox X"}, "description": "Filter by maximum X axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum Y axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0], "title": "Max Bbox Y"}, "description": "Filter by maximum Y axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "max_bbox_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Filter by maximum Z axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0], "title": "Max Bbox Z"}, "description": "Filter by maximum Z axis dimension of the asset's bounding box of the default prim of the asset"}, {"name": "bbox_use_scaled_dimensions", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Use scaled dimensions for bounding box filtering", "default": true, "title": "Bbox Use Scaled Dimensions"}, "description": "Use scaled dimensions for bounding box filtering"}, {"name": "vision_metadata", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Uses a keyword match query on metadata fields that were generated using Vision Language Models. Format: `attribute1=abc,attribute2=456`", "examples": ["material=metal", "color=red,style=modern"], "title": "Vision Metadata"}, "description": "Uses a keyword match query on metadata fields that were generated using Vision Language Models. Format: `attribute1=abc,attribute2=456`"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/StatsResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/search_hybrid": {"post": {"tags": ["AI Search"], "summary": "Hybrid AI Search \u2014 find 3D assets using text, vector, image similarity, and filters", "description": "Search for 3D assets using combined text + vector + filter search with Reciprocal Rank Fusion scoring.\n\nThis is the **recommended endpoint** for AI agents and programmatic access. It combines:\n- **Hybrid Text Search**: Keyword matching across asset names, paths, USD properties, and AI-generated metadata\n- **Vector Similarity Search**: Semantic matching using SigLIP2 vision-language embeddings (1536 dims)\n- **Reciprocal Rank Fusion (RRF)**: Merges text and vector results into a single high-quality ranking\n- **Extensive Filtering**: File metadata, dates, USD properties, bounding box dimensions, tags\n- **VLM Validation**: Optional server-side validation of results using a Vision Language Model\n\n**Quick Start for AI Agents:**\n1. Set `hybrid_text_query` to a short description (2-5 words)\n2. Add a `vector_queries` entry with `field_name=\"siglip2-embedding.embedding\"`, `query_type=\"text\"`, same query text\n3. Set `file_extension_include=\"usd*\"` for USD assets\n4. Set `return_images=true` for visual inspection\n5. Use `limit=20-50` for exploration\n\n**Pagination:** pass `offset`, or better, the previous response's `next_cursor`\nback as `cursor` \u2014 it pins the ranking so pages do not overlap or skip. The\nresponse carries `next_cursor`, `has_more`, `paginable_total` (the page-count\nbasis \u2014 not `corpus_total`) and a `pagination` diagnostic block whose\n`depth_limit_reason` distinguishes \"no more results\" from \"cannot page further\nfor this query shape\". Depth depends on the shape: filter-only queries are\nunbounded, a text query is capped by the deployment's `pagination_max_offset`,\nand a multi-leg query is capped by the RRF fusion window. `validate_results=true`\nis single-page and cannot be combined with `offset`/`cursor`.", "operationId": "search_hybrid_post", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/DeepSearchSearchRequestV2"}, "examples": {"minimal_hybrid_search": {"summary": "Minimal hybrid search (recommended starting point)", "value": {"title": "Minimal hybrid search (recommended starting point)", "hybrid_text_query": "red car vehicle", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query_type": "text", "query": "red car vehicle"}], "file_extension_include": "usd*", "return_images": true, "return_metadata": true, "limit": 20}}, "image_similarity_search": {"summary": "Image similarity search (find visually similar assets)", "value": {"title": "Image similarity search (find visually similar assets)", "image_similarity_search": ["data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC"], "return_metadata": true, "return_images": true, "deduplicate_by_hash": true, "limit": 20}}, "size_constrained_search": {"summary": "Size-constrained search (bounding box filters)", "value": {"title": "Size-constrained search (find objects within specific dimensions)", "hybrid_text_query": "wooden table", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query_type": "text", "query": "wooden table"}], "file_extension_include": "usd*", "min_bbox_x": 0.5, "max_bbox_x": 2.0, "min_bbox_y": 0.3, "max_bbox_y": 1.2, "return_usd_dimensions": true, "return_usd_properties": true, "return_images": true, "limit": 30}}, "property_filtered_search": {"summary": "Property-filtered search (semantic labels)", "value": {"title": "Property-filtered search (semantic labels + text)", "hybrid_text_query": "vehicle", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query_type": "text", "query": "vehicle"}], "filter_by_properties": "class=vehicle", "file_extension_include": "usd*", "return_usd_properties": true, "return_images": true, "return_metadata": true, "limit": 30}}, "advanced_scoring_search": {"summary": "Advanced hybrid search with custom scoring", "value": {"title": "Advanced hybrid search with custom scoring configuration", "hybrid_text_query": "modern office furniture", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query_type": "text", "query": "modern office furniture"}], "file_extension_include": "usd*", "created_after": "2023-01-01", "return_usd_dimensions": true, "return_usd_properties": true, "return_metadata": true, "deduplicate_by_hash": true, "limit": 50, "scoring_config": {"rrf_config": {"rank_constant": 60}, "hybrid_text": {"enabled": true, "weight": 1.2, "fields": [{"field": "name", "weight": 2, "match_type": "fuzzy", "wildcard": true}, {"field": "name.simple", "weight": 2, "match_type": "fuzzy", "wildcard": true}, {"field": "name.standard", "weight": 2, "match_type": "fuzzy", "wildcard": true}, {"field": "usd_properties.value", "nested": true, "weight": 1, "match_type": "fuzzy", "wildcard": true}, {"field": "usd_properties.key", "nested": true, "weight": 1, "match_type": "fuzzy", "wildcard": true}, {"field": "path", "weight": 1, "match_type": "fuzzy", "wildcard": true}, {"field": "__VISION_METADATA_FIELDS__", "weight": 1, "match_type": "fuzzy", "wildcard": true}], "cross_field_operator": "or"}, "vector_fields": {"siglip2-embedding.embedding": {"enabled": true, "weight": 1, "field_name": "siglip2-embedding.embedding", "dimension": 1536}}}}}}}}, "required": true}, "responses": {"200": {"description": "Search results", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SearchResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}, "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}]}}, "/vlm_validate/search_result": {"post": {"tags": ["Relevance verification"], "summary": "Validate a single search result with VLM", "description": "Validates a single asset image against a query using a Vision Language Model. Returns match status, confidence, similarity score, and reasoning.", "operationId": "vlm_validate_search_result_post", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ValidateResultRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/QueryRelevanceValidationResult"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}, "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}]}}, "/vlm_validate/batch_stream": {"post": {"tags": ["Relevance verification"], "summary": "Validate a page of search results with VLM", "description": "Judges up to 100 results against one query in ONE request; each item takes the single-result route's asset fields and gets its verdict and cache. `stream` (default true) answers NDJSON as each result lands: `{\"id\", \"verdict\"}` or `{\"id\", \"error\"}` per result, a blank heartbeat line, `{\"fatal\", \"error_type\", \"retryable\"}` when the model is unreachable or refuses the request (the stream ends there), and `{\"done\": {\"completed\", \"errored\"}}` last; a stream without `done` was cut. `stream: false` answers one JSON body once every result is judged (a fatal error is the single route's 503).", "operationId": "vlm_validate_batch_stream_post", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchValidateRequest"}}}, "required": true}, "responses": {"200": {"description": "stream=false; stream=true answers NDJSON", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/BatchValidateResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}, "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}]}}, "/llm_parse/query": {"post": {"tags": ["AI Search"], "summary": "Parse a free-text query into structured search parameters", "description": "Uses an LLM with constrained (JSON-schema) decoding to turn free-text into a structured intermediate representation, then deterministically maps it onto search request fields. Returns a 503 if the feature is disabled on this server or the LLM call fails.", "operationId": "llm_parse_query_post", "requestBody": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/QueryParsingRequest"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/QueryParsingResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/llm_parse/fields": {"get": {"tags": ["AI Search"], "summary": "List the filters this deployment supports", "description": "Returns the configured filter field catalog (from search_fields.yaml): name, value type, valid operators, description, and examples. Lets the UI show users which filters are available and let them add filters without typing a query. Static metadata \u2014 works regardless of whether the LLM extractor is enabled.", "operationId": "llm_parse_fields_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/FilterFieldInfo"}, "type": "array", "title": "Response List Filter Fields V3 Deepsearch Llm Parse Fields Get"}}}}}}}, "/images": {"get": {"tags": ["Images"], "summary": "Fetch asset thumbnail image \u2014 use after search to visually inspect results", "description": "Fetch image binary data for a specific asset. This is the primary way to get thumbnails for visual inspection of search results. After running a search query, call this endpoint for each result's source.url (or source.base_key) to get its thumbnail. Use img_offset=0,1,2... to get multiple views/angles of the same asset when available.", "operationId": "images_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "asset_url", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "The complete URL of the asset to fetch image data for. Must be a valid asset URL that the user has access to.", "title": "Asset Url"}, "description": "The complete URL of the asset to fetch image data for. Must be a valid asset URL that the user has access to."}, {"name": "image_key", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Direct image key/ID to fetch from OpenSearch. Use this for direct image retrieval when you already know the image identifier.", "title": "Image Key"}, "description": "Direct image key/ID to fetch from OpenSearch. Use this for direct image retrieval when you already know the image identifier."}, {"name": "img_offset", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Zero-based index specifying which image to fetch from the asset's siglip2-embeddings. Only valid when using asset_url.", "default": 0, "title": "Img Offset"}, "description": "Zero-based index specifying which image to fetch from the asset's siglip2-embeddings. Only valid when using asset_url.", "example": 0}], "responses": {"200": {"description": "Successfully retrieved image binary data", "content": {"image/jpeg": {"schema": {"type": "string", "format": "binary"}, "example": "Binary JPEG image data"}, "image/png": {"schema": {"type": "string", "format": "binary"}, "example": "Binary PNG image data"}, "image/gif": {"schema": {"type": "string", "format": "binary"}, "example": "Binary GIF image data"}, "application/octet-stream": {"schema": {"type": "string", "format": "binary"}, "example": "Binary image data"}}}, "400": {"description": "Bad Request", "content": {"application/json": {"examples": {"missing_params": {"summary": "Missing required parameters", "value": {"detail": "Either asset_url or image_key must be provided"}}, "conflicting_params": {"summary": "Conflicting parameters", "value": {"detail": "Only one of asset_url or image_key should be provided"}}, "invalid_offset": {"summary": "Invalid offset parameter", "value": {"detail": "img_offset can only be used with asset_url, not with image_key"}}}}}}, "403": {"description": "Access Denied", "content": {"application/json": {"example": {"detail": "Access denied"}}}}, "404": {"description": "Image Not Found", "content": {"application/json": {"examples": {"asset_not_found": {"summary": "Asset not found", "value": {"detail": "Asset with URL 's3://sample-bucket/asset.usd' not found"}}, "offset_out_of_range": {"summary": "Image offset out of range", "value": {"detail": "Image offset 5 not available for asset 's3://sample-bucket/asset.usd' (only 3 images available)"}}, "no_images": {"summary": "No images available", "value": {"detail": "No images found for asset 's3://sample-bucket/asset.usd'"}}}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"example": {"detail": "Failed to process image data"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/download/asset": {"get": {"tags": ["Download"], "summary": "Download an asset's SimReady package as a ZIP archive", "description": "On this Space the ZIP holds the asset's whole SimReady package folder (the nearest ancestor with a `com.nvidia.simready.packaging.json`), laid out as on Hugging Face: the package marker, `.metadata/*.json`, the `sm_*.json` sidecar, validation reports, licenses and thumbnails come along. `manifest_only=true` returns the JSON preview instead. `scope=dependencies`, or a URL outside a SimReady package, returns the asset and its USD dependencies as described below.\n\nFetch a USD asset together with all of its transitive dependency files (sublayers, referenced USDs, textures) and return them as a single ZIP. Files are laid out relative to a shared root directory so the scene's relative references resolve after extraction. A `manifest.json` describing the bundle (root url, included files, any per-file errors) is added at the archive root. Works for every storage backend (S3, Nucleus, local-fs). If the asset has no recorded dependencies (or the asset graph is unavailable) a single-file archive is returned.", "operationId": "download_asset_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "asset_url", "in": "query", "required": true, "schema": {"type": "string", "description": "The complete storage URL of the asset to download (e.g. s3://bucket/path/scene.usd).", "title": "Asset Url"}, "description": "The complete storage URL of the asset to download (e.g. s3://bucket/path/scene.usd)."}, {"name": "manifest_only", "in": "query", "required": false, "schema": {"type": "boolean", "description": "If true, do not build the ZIP \u2014 return JSON describing the bundle (root url, file count, total size in bytes, per-file sizes, errors). Lets a UI show the bundle size before the user commits to the download.", "default": false, "title": "Manifest Only"}, "description": "If true, do not build the ZIP \u2014 return JSON describing the bundle (root url, file count, total size in bytes, per-file sizes, errors). Lets a UI show the bundle size before the user commits to the download."}], "responses": {"200": {"description": "ZIP archive containing the asset and its dependencies", "content": {"application/zip": {"schema": {"type": "string", "format": "binary"}}}}, "403": {"description": "Access Denied", "content": {"application/json": {"example": {"detail": "Access denied"}}}}, "404": {"description": "Asset Not Found", "content": {"application/json": {"example": {"detail": "Asset 's3://bucket/asset.usd' not found"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/asset_graph/usd/prims/spatial": {"get": {"tags": ["AGS Spatial Graph"], "summary": "Get Prims Within Radius", "description": "Find all objects near a point or another object within a USD scene.\n\nUse this endpoint when you need to answer spatial questions like \"find all objects within 5 meters\nof the table\" or \"what's near coordinates (10, 0, 5) in this scene\". Returns prims sorted by distance\nfrom the query center, including their bounding boxes, properties, and the direction vector to each result.\n\nPerform a spatial search within a scene to retrieve prims from a USD scene based on their proximity to a reference\nprim `center_prim_usd_path` or specific coordinates `[center_x, center_y, center_z]` within a specified `radius`.\n\n**Note:** You must specify either `center_prim_usd_path` or the coordinates `[center_x, center_y, center_z]`.\n\nReturns prim objects including: attributes, dimensions, and min, max, midpoint coordinates of the bounding box,\ndistance from the query center, vector from the query center to the prim midpoint.\n\nIf searching using `center_prim_usd_path` the center prim at `center_prim_usd_path` is included in the results\n(unless excluded by filters used).", "operationId": "get_prims_within_radius_asset_graph_usd_prims_spatial_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "scene_url", "in": "query", "required": true, "schema": {"type": "string", "description": "URL of the scene to search.", "title": "Scene Url"}, "description": "URL of the scene to search."}, {"name": "radius", "in": "query", "required": true, "schema": {"type": "number", "exclusiveMinimum": 0, "description": "Radius of the proximity query", "title": "Radius"}, "description": "Radius of the proximity query"}, {"name": "center_prim_usd_path", "in": "query", "required": false, "schema": {"type": "string", "description": "USD path of the reference Prim. (Returned in results unless excluded by filters)", "title": "Center Prim Usd Path"}, "description": "USD path of the reference Prim. (Returned in results unless excluded by filters)"}, {"name": "center_x", "in": "query", "required": false, "schema": {"type": "number", "description": "X coordinate of the query center.", "title": "Center X"}, "description": "X coordinate of the query center."}, {"name": "center_y", "in": "query", "required": false, "schema": {"type": "number", "description": "Y coordinate of the query center.", "title": "Center Y"}, "description": "Y coordinate of the query center."}, {"name": "center_z", "in": "query", "required": false, "schema": {"type": "number", "description": "Z coordinate of the query center.", "title": "Center Z"}, "description": "Z coordinate of the query center."}, {"name": "transformation_matrix", "in": "query", "required": false, "schema": {"type": "string", "description": "Transformation matrix for the vector space. By default does not apply any transformation.", "default": "1,0,0;0,1,0;0,0,1", "title": "Transformation Matrix"}, "description": "Transformation matrix for the vector space. By default does not apply any transformation."}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Page size", "default": 1000, "title": "Limit"}, "description": "Page size"}, {"name": "prim_type", "in": "query", "required": false, "schema": {"anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "description": "Retrieve prims of the specified types.", "title": "Prim Type"}, "description": "Retrieve prims of the specified types.", "examples": {"Any": {"summary": "Any prim type"}, "Xform": {"summary": "Xform prim type", "value": ["Xform"]}, "Xform and Mesh": {"summary": "Xform and Mesh prim types", "value": ["Xform", "Mesh"]}}}, {"name": "usd_path_prefix", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "title": "Usd Path Prefix"}, "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "examples": {"Any": {"summary": "Any USD path"}, "/Root": {"summary": "Root prim", "value": "/Root"}, "/Root/Car": {"summary": "/Root/Car", "value": "/Root/Car"}}}, {"name": "properties_filter", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "title": "Properties Filter"}, "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "examples": {"Any": {"summary": "Any attribute"}, "class=lamp": {"summary": "Prims labeled class=lamp", "value": "class=lamp"}}}, {"name": "min_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box X dimension", "title": "Min Bbox Dimension X"}, "description": "Minimum bounding box X dimension"}, {"name": "min_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Y dimension", "title": "Min Bbox Dimension Y"}, "description": "Minimum bounding box Y dimension"}, {"name": "min_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Z dimension", "title": "Min Bbox Dimension Z"}, "description": "Minimum bounding box Z dimension"}, {"name": "max_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box X dimension", "default": 4e+38, "title": "Max Bbox Dimension X"}, "description": "Max bounding box X dimension"}, {"name": "max_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box Y dimension", "default": 4e+38, "title": "Max Bbox Dimension Y"}, "description": "Max bounding box Y dimension"}, {"name": "max_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box Z dimension", "default": 4e+38, "title": "Max Bbox Dimension Z"}, "description": "Max bounding box Z dimension"}, {"name": "use_scaled_bbox_dimensions", "in": "query", "required": false, "schema": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "description": "Search in the space of aligned bbox dimensions", "default": false, "title": "Use Scaled Bbox Dimensions"}, "description": "Search in the space of aligned bbox dimensions"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/SpatialQueryResponseItem"}, "title": "Response Get Prims Within Radius Asset Graph Usd Prims Spatial Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/asset_graph/usd/prims/spatial_bbox": {"get": {"tags": ["AGS Spatial Graph"], "summary": "Get Prims Within Bounding Box", "description": "Find all objects within a rectangular region of a USD scene.\n\nUse this endpoint when you need to find objects in a specific area, e.g., \"find all objects in\nthe kitchen area\" or \"what's in the region between coordinates (0,0,0) and (10,5,10)\".\nA prim is included if its bounding box midpoint falls within the query bounding box.\n\nThe bounding box is defined by two corner points:\n[min_bbox_x, min_bbox_y, min_bbox_z] and [max_bbox_x, max_bbox_y, max_bbox_z].", "operationId": "get_prims_within_bounding_box_asset_graph_usd_prims_spatial_bbox_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "scene_url", "in": "query", "required": true, "schema": {"type": "string", "description": "Retrieve prims from the scene at specified URL.", "title": "Scene Url"}, "description": "Retrieve prims from the scene at specified URL."}, {"name": "min_bbox_x", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box minimum X", "title": "Min Bbox X"}, "description": "Query bounding box minimum X"}, {"name": "min_bbox_y", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box minimum Y", "title": "Min Bbox Y"}, "description": "Query bounding box minimum Y"}, {"name": "min_bbox_z", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box minimum Z", "title": "Min Bbox Z"}, "description": "Query bounding box minimum Z"}, {"name": "max_bbox_x", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box maximum X", "title": "Max Bbox X"}, "description": "Query bounding box maximum X"}, {"name": "max_bbox_y", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box maximum Y", "title": "Max Bbox Y"}, "description": "Query bounding box maximum Y"}, {"name": "max_bbox_z", "in": "query", "required": true, "schema": {"type": "number", "description": "Query bounding box maximum Z", "title": "Max Bbox Z"}, "description": "Query bounding box maximum Z"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Page size", "default": 1000, "title": "Limit"}, "description": "Page size"}, {"name": "prim_type", "in": "query", "required": false, "schema": {"anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "description": "Retrieve prims of the specified types.", "title": "Prim Type"}, "description": "Retrieve prims of the specified types.", "examples": {"Any": {"summary": "Any prim type"}, "Xform": {"summary": "Xform prim type", "value": ["Xform"]}, "Xform and Mesh": {"summary": "Xform and Mesh prim types", "value": ["Xform", "Mesh"]}}}, {"name": "usd_path_prefix", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "title": "Usd Path Prefix"}, "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "examples": {"Any": {"summary": "Any USD path"}, "/Root": {"summary": "Root prim", "value": "/Root"}, "/Root/Car": {"summary": "/Root/Car", "value": "/Root/Car"}}}, {"name": "properties_filter", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "title": "Properties Filter"}, "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "examples": {"Any": {"summary": "Any attribute"}, "class=lamp": {"summary": "Prims labeled class=lamp", "value": "class=lamp"}}}, {"name": "min_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box X dimension", "title": "Min Bbox Dimension X"}, "description": "Minimum bounding box X dimension"}, {"name": "min_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Y dimension", "title": "Min Bbox Dimension Y"}, "description": "Minimum bounding box Y dimension"}, {"name": "min_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Z dimension", "title": "Min Bbox Dimension Z"}, "description": "Minimum bounding box Z dimension"}, {"name": "max_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box X dimension", "default": 4e+38, "title": "Max Bbox Dimension X"}, "description": "Max bounding box X dimension"}, {"name": "max_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box Y dimension", "default": 4e+38, "title": "Max Bbox Dimension Y"}, "description": "Max bounding box Y dimension"}, {"name": "max_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Max bounding box Z dimension", "default": 4e+38, "title": "Max Bbox Dimension Z"}, "description": "Max bounding box Z dimension"}, {"name": "use_scaled_bbox_dimensions", "in": "query", "required": false, "schema": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "description": "Search in the space of aligned bbox dimensions", "default": false, "title": "Use Scaled Bbox Dimensions"}, "description": "Search in the space of aligned bbox dimensions"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AGSPrim"}, "title": "Response Get Prims Within Bounding Box Asset Graph Usd Prims Spatial Bbox Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/asset_graph/usd/prims": {"get": {"tags": ["AGS Scene Graph"], "summary": "Get Prims", "description": "Retrieve and filter prims from a USD scene \u2014 use for scene understanding and object enumeration.\n\nUse this endpoint when you need to understand what objects are in a scene, filter by type or properties,\nor retrieve specific prims by their USD path. Returns all matching prims with their locations, dimensions,\nand properties. Ideal for answering \"what objects are in this scene?\" or \"find all Mesh prims with class=vehicle\".\n\nNOTE: Calling without any parameters will return ALL prims. `scene_url` must be provided to fetch prims from the specified scene.\n\nA globally unique prim id consists of (`scene_url`, `usd_path`) tuple. `usd_path` is unique only within a single scene.\nTo retrieve prims from a specified scene, `scene_url` must be set.\nTo retrieve a single prim from a specified scene, provide both `scene_url` and `usd_path`.", "operationId": "get_prims_asset_graph_usd_prims_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "scene_url", "in": "query", "required": false, "schema": {"type": "string", "description": "Retrieve prims from the scene at specified URL.", "title": "Scene Url"}, "description": "Retrieve prims from the scene at specified URL."}, {"name": "usd_path", "in": "query", "required": false, "schema": {"anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "string"}], "description": "Retrieve prims from the specified USD paths. Can provide either a single path or a list of paths.", "title": "Usd Path"}, "description": "Retrieve prims from the specified USD paths. Can provide either a single path or a list of paths.", "examples": {"Any": {"summary": "Any USD path"}, "Root": {"summary": "Root prim", "value": ["/Root"]}, "Multiple": {"summary": "Multiple USD paths", "value": ["Path1", "Path2", "Path3"]}}}, {"name": "root_prim", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Retrieve root prims. Note: combined with default_prim returns both root and default prims. Works as inclusive filter only; setting to false has no effect.", "title": "Root Prim"}, "description": "Retrieve root prims. Note: combined with default_prim returns both root and default prims. Works as inclusive filter only; setting to false has no effect."}, {"name": "default_prim", "in": "query", "required": false, "schema": {"type": "boolean", "description": "Retrieve default prims. Note: combined with root_prim returns both root and default prims. Works as inclusive filter only; setting to false has no effect.", "title": "Default Prim"}, "description": "Retrieve default prims. Note: combined with root_prim returns both root and default prims. Works as inclusive filter only; setting to false has no effect."}, {"name": "source_asset_url", "in": "query", "required": false, "schema": {"type": "string", "description": "Filter prims based on their source asset URL, i.e. the asset they have a reference to", "title": "Source Asset Url"}, "description": "Filter prims based on their source asset URL, i.e. the asset they have a reference to"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Page size", "default": 1000, "title": "Limit"}, "description": "Page size"}, {"name": "prim_type", "in": "query", "required": false, "schema": {"anyOf": [{"type": "array", "items": {"type": "string"}}, {"type": "null"}], "description": "Retrieve prims of the specified types.", "title": "Prim Type"}, "description": "Retrieve prims of the specified types.", "examples": {"Any": {"summary": "Any prim type"}, "Xform": {"summary": "Xform prim type", "value": ["Xform"]}, "Xform and Mesh": {"summary": "Xform and Mesh prim types", "value": ["Xform", "Mesh"]}}}, {"name": "usd_path_prefix", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "title": "Usd Path Prefix"}, "description": "Retrieve prims with USD paths that begin with this prefix (i.e., the children of the prim at the specified path).", "examples": {"Any": {"summary": "Any USD path"}, "/Root": {"summary": "Root prim", "value": "/Root"}, "/Root/Car": {"summary": "/Root/Car", "value": "/Root/Car"}}}, {"name": "properties_filter", "in": "query", "required": false, "schema": {"anyOf": [{"type": "string"}, {"type": "null"}], "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "title": "Properties Filter"}, "description": "Filter prims based on USD attributes (note: only a subset of attributes configured in the indexing service is available). Format: `attribute1=abc,attribute2=456`", "examples": {"Any": {"summary": "Any attribute"}, "class=lamp": {"summary": "Prims labeled class=lamp", "value": "class=lamp"}}}, {"name": "min_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box X dimension", "title": "Min Bbox Dimension X"}, "description": "Minimum bounding box X dimension"}, {"name": "min_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Y dimension", "title": "Min Bbox Dimension Y"}, "description": "Minimum bounding box Y dimension"}, {"name": "min_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "minimum": 0}, {"type": "null"}], "description": "Minimum bounding box Z dimension", "title": "Min Bbox Dimension Z"}, "description": "Minimum bounding box Z dimension"}, {"name": "max_bbox_dimension_x", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Max bounding box X dimension", "title": "Max Bbox Dimension X"}, "description": "Max bounding box X dimension"}, {"name": "max_bbox_dimension_y", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Max bounding box Y dimension", "title": "Max Bbox Dimension Y"}, "description": "Max bounding box Y dimension"}, {"name": "max_bbox_dimension_z", "in": "query", "required": false, "schema": {"anyOf": [{"type": "number", "exclusiveMinimum": 0}, {"type": "null"}], "description": "Max bounding box Z dimension", "title": "Max Bbox Dimension Z"}, "description": "Max bounding box Z dimension"}, {"name": "use_scaled_bbox_dimensions", "in": "query", "required": false, "schema": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "description": "Search in the space of MPU aligned bbox dimensions", "default": true, "title": "Use Scaled Bbox Dimensions"}, "description": "Search in the space of MPU aligned bbox dimensions"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/AGSPrim"}, "title": "Response Get Prims Asset Graph Usd Prims Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/asset_graph/usd/scene_summary/": {"get": {"tags": ["AGS Scene Graph"], "summary": "Scene Summary", "description": "Get a quick overview of scene contents \u2014 use before detailed spatial or prim queries.\n\nUse this endpoint to understand a scene's composition: how many prims, what types (Mesh, Xform, etc.),\nwhat properties are used, what assets are referenced, total polygon count, and scene metadata (MPU, up axis).\nIdeal first call when exploring an unfamiliar scene.", "operationId": "scene_summary_asset_graph_usd_scene_summary__get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "scene_url", "in": "query", "required": true, "schema": {"type": "string", "description": "Scene summary.", "title": "Scene Url"}, "description": "Scene summary."}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/SceneSummaryResponse"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/dependency_graph/graph": {"get": {"tags": ["AGS Asset Graph"], "summary": "Get Dependencies Graph", "description": "Get the full dependency tree of an asset as a graph \u2014 use to discover sub-assemblies, textures, and materials.\n\nUse this endpoint when you need to understand what files an asset references (e.g., \"what textures does\nthis car model use?\" or \"what sub-assets make up this scene?\"). Returns nodes (assets) and directed edges\n(dependency relationships). Traverses references recursively up to max_level depth.", "operationId": "get_dependencies_graph_dependency_graph_graph_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "root_node_url", "in": "query", "required": true, "schema": {"type": "string", "description": "URL of the asset", "title": "Root Node Url"}, "description": "URL of the asset"}, {"name": "max_level", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Max level of dependency tree traversal (by default unlimited)", "title": "Max Level"}, "description": "Max level of dependency tree traversal (by default unlimited)"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Page size (0 = no limit)", "default": 1000, "title": "Limit"}, "description": "Page size (0 = no limit)"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetGraph"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/dependency_graph/flat": {"get": {"tags": ["AGS Asset Graph"], "summary": "Get Dependencies Flat", "description": "Get a flat list of all files an asset depends on \u2014 simpler alternative to the graph endpoint.\n\nUse this endpoint when you just need the list of referenced files without graph structure\n(e.g., \"list all textures used by this model\"). Returns Asset objects with URLs.\nFor graph structure with edges, use GET /dependency_graph/graph instead.", "operationId": "get_dependencies_flat_dependency_graph_flat_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "root_node_url", "in": "query", "required": true, "schema": {"type": "string", "description": "URL of the asset", "title": "Root Node Url"}, "description": "URL of the asset"}, {"name": "max_level", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Max level of dependency tree traversal (by default unlimited)", "title": "Max Level"}, "description": "Max level of dependency tree traversal (by default unlimited)"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Page size (0 = no limit)", "default": 1000, "title": "Limit"}, "description": "Page size (0 = no limit)"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Asset"}, "title": "Response Get Dependencies Flat Dependency Graph Flat Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/dependency_graph/inverse/flat": {"get": {"tags": ["AGS Asset Graph"], "summary": "Get Dependencies Inverse", "description": "Find which scenes or assets reference a given asset \u2014 use for impact analysis.\n\nUse this endpoint to answer \"where is this asset used?\" or \"which scenes reference this texture?\".\nReturns a flat list of all assets that depend on (reference) the specified asset.\nUseful for impact analysis before modifying or deleting an asset.", "operationId": "get_dependencies_inverse_dependency_graph_inverse_flat_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "root_node_url", "in": "query", "required": true, "schema": {"type": "string", "description": "URL of the asset", "title": "Root Node Url"}, "description": "URL of the asset"}, {"name": "max_level", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Max level of dependency tree traversal (by default unlimited)", "title": "Max Level"}, "description": "Max level of dependency tree traversal (by default unlimited)"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Page size (0 = no limit)", "default": 1000, "title": "Limit"}, "description": "Page size (0 = no limit)"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/Asset"}, "title": "Response Get Dependencies Inverse Dependency Graph Inverse Flat Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/dependency_graph/inverse/graph": {"get": {"tags": ["AGS Asset Graph"], "summary": "Get Inverse Dependencies Graph", "description": "Get the full reverse dependency graph \u2014 all assets that directly or transitively reference the specified asset.\n\nUse this endpoint for impact analysis with full graph structure (nodes + edges),\ne.g., \"show me the full dependency chain of everything that uses this material\".\nFor a simpler flat list, use GET /dependency_graph/inverse/flat instead.", "operationId": "get_inverse_dependencies_graph_dependency_graph_inverse_graph_get", "security": [{"HTTPBearer": []}, {"HTTPBasic": []}, {"APIKeyHeader": []}], "parameters": [{"name": "root_node_url", "in": "query", "required": true, "schema": {"type": "string", "description": "URL of the asset", "title": "Root Node Url"}, "description": "URL of the asset"}, {"name": "max_level", "in": "query", "required": false, "schema": {"type": "integer", "exclusiveMinimum": 0, "description": "Max level of dependency tree traversal (by default unlimited)", "title": "Max Level"}, "description": "Max level of dependency tree traversal (by default unlimited)"}, {"name": "limit", "in": "query", "required": false, "schema": {"type": "integer", "minimum": 0, "description": "Page size (0 = no limit)", "default": 1000, "title": "Limit"}, "description": "Page size (0 = no limit)"}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AssetGraph"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}}, "components": {"schemas": {"AGSAssetData": {"properties": {"instance_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "Instance Prims"}, "root_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "Root Prims"}, "default_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "Default Prims"}}, "type": "object", "title": "AGSAssetData"}, "BatchValidateItem": {"properties": {"asset_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Asset Url", "description": "Asset URL to validate (mutually exclusive with image_key/image_keys)"}, "image_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image Key", "description": "Single image key to validate (mutually exclusive with asset_url/image_keys)"}, "image_keys": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Image Keys", "description": "List of image keys for multiple views of the asset. The deployment's view budget applies (USDSEARCH_VISION_VALIDATION_MAX_IMAGES_PER_VALIDATION); requests exceeding it are rejected with 400. Mutually exclusive with asset_url/image_key."}, "images": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Images", "description": "Raw base64-encoded images (data URL or bare base64) to validate directly. When provided, the server validates these images as-is and does NOT fetch anything from the index. Mutually exclusive with asset_url/image_key/image_keys. The deployment view budget (USDSEARCH_VISION_VALIDATION_MAX_IMAGES_PER_VALIDATION) applies."}, "path": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Path", "description": "The asset's file path (its search hit's source.path): a text query's logprob judge reads it when USDSEARCH_VISION_VALIDATION_LOGPROB_ASSET_FACTS lists \"path\". Omit the facts to judge the image alone."}, "vlm_metadata_caption": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Vlm Metadata Caption", "description": "The asset's vision-metadata caption: read when USDSEARCH_VISION_VALIDATION_LOGPROB_ASSET_FACTS lists \"vlm_metadata_caption\" (`caption` accepted too)."}, "id": {"type": "string", "minLength": 1, "title": "Id", "description": "The caller's id for this result, echoed on its result"}}, "type": "object", "required": ["id"], "title": "BatchValidateItem", "description": "One result of a batch: a single-result request's asset fields, plus the caller's id."}, "BatchValidateRequest": {"properties": {"query_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query Text", "description": "Text query to validate against"}, "query_image": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query Image", "description": "Base64 image query to validate against"}, "stream": {"type": "boolean", "title": "Stream", "description": "true (default): one NDJSON line per result as it lands; false: one JSON answer at the end.", "default": true}, "items": {"items": {"$ref": "#/components/schemas/BatchValidateItem"}, "type": "array", "maxItems": 100, "minItems": 1, "title": "Items", "description": "The results to judge, in display order: they are judged in this order."}}, "type": "object", "required": ["items"], "title": "BatchValidateRequest", "description": "Request body for batch validation: a page of results judged against one query."}, "BatchValidateResponse": {"properties": {"results": {"items": {"$ref": "#/components/schemas/BatchValidateResult"}, "type": "array", "title": "Results"}, "completed": {"type": "integer", "title": "Completed"}, "errored": {"type": "integer", "title": "Errored"}}, "type": "object", "required": ["results", "completed", "errored"], "title": "BatchValidateResponse", "description": "A batch's results (stream=false), in the order they landed."}, "BatchValidateResult": {"properties": {"id": {"type": "string", "title": "Id"}, "verdict": {"anyOf": [{"$ref": "#/components/schemas/QueryRelevanceValidationResult"}, {"type": "null"}]}, "error": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Error"}}, "type": "object", "required": ["id"], "title": "BatchValidateResult", "description": "One result of a batch: its verdict, or why it has none."}, "DeepSearchSearchRequestV2": {"properties": {"file_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "File Name", "description": "Filter results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["robot.usd", "*scene*"]}, "exclude_file_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Exclude File Name", "description": "Exclude results by asset file name, allowing partial matches. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["draft*", "*temp*"]}, "file_extension_include": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "File Extension Include", "description": "Filter results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["usd", "usd*", "jpg,png,gif"]}, "file_extension_exclude": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "File Extension Exclude", "description": "Exclude results by file extension. Use wildcards: `*` for any number of characters, `?` for a single character. Separate terms with `,` for OR and `;` for AND.", "examples": ["jpg", "jpg,png,gif", "mdl"]}, "created_after": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Created After", "description": "Filter results to only include assets created after a specified date", "examples": ["2023-01-01", "2023-06-01"]}, "created_before": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Created Before", "description": "Filter results to only include assets created before a specified date", "examples": ["2023-01-01", "2023-06-01"]}, "modified_after": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Modified After", "description": "Filter results to only include assets modified after a specified date", "examples": ["2023-02-01", "2023-07-01"]}, "modified_before": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Modified Before", "description": "Filter results to only include assets modified before a specified date", "examples": ["2023-02-01", "2023-07-01"]}, "file_size_greater_than": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "title": "File Size Greater Than", "description": "Filter results to only include files larger than a specific size", "examples": ["1KB", "10MB"]}, "file_size_less_than": {"anyOf": [{"type": "string", "pattern": "^\\d+[KMGT]B$"}, {"type": "null"}], "title": "File Size Less Than", "description": "Filter results to only include files smaller than a specific size", "examples": ["100MB", "1GB"]}, "created_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Created By", "description": "Filter results to only include assets created by a specific user. In case AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "examples": ["ov_user"]}, "exclude_created_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Exclude Created By", "description": "Exclude assets created by a specific user from the results", "examples": ["ov_user"]}, "modified_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Modified By", "description": "Filter results to only include assets modified by a specific user. In the case, when AWS S3 bucket is used as a storage backend, this field corresponds to the owner's ID. In case of an Omniverse Nucleus server, this field may depend on the configuration, but typically corresponds to user email.", "examples": ["ov_user"]}, "exclude_modified_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Exclude Modified By", "description": "Exclude assets modified by a specific user from the results", "examples": ["ov_user"]}, "search_path": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Search Path", "description": "Limit search to assets within this directory path on the storage backend. Do NOT include the storage backend URL prefix (e.g., use '/Projects/Vehicles/' not 'omniverse://server/Projects/Vehicles/'). Supports wildcards: `*` for any characters, `?` for single character. Note: the path is always interpreted against the asset's internal storage URL. If this deployment publishes rewritten (e.g. `https://`) asset URLs, a path segment that only exists in the rewritten form will not match.", "examples": ["/Projects/Vehicles/", "/Samples/*"]}, "exclude_search_path": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Exclude Search Path", "description": "Exclude assets within this directory path. Same format as search_path \u2014 do NOT include the storage backend URL prefix. Supports wildcards: `*` for any characters, `?` for single character.", "examples": ["/Projects/Archive/", "*/tmp/*"]}, "filter_url_regexp": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Filter Url Regexp", "description": "Specify an asset URL filter in the [Lucene Regexp format](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/query-dsl-regexp-query.html#regexp-syntax). The pattern is matched against the asset's **internal** storage URL. If this deployment publishes rewritten asset URLs (e.g. `https://` instead of `s3://`), a pattern that *begins with a literal* rewritten prefix is translated for you \u2014 including inside a whole-pattern exclusion, `~(<prefix>temp/.*)`. A pattern that expresses that prefix as a pattern rather than a literal is not, and will match nothing. When in doubt, write the pattern without a scheme/host prefix (e.g. `.*[/]Vehicles[/].*`), which works either way.", "examples": [".*[/]Vehicles[/].*", "~(.*[/]temp[/].*)"]}, "search_in_scene": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Search In Scene", "description": "Conduct the search within a specific scene. Provide the full URL for the asset including the storage backend URL prefix.", "examples": ["s3://bucket-name/Project/scene.usd"]}, "filter_by_properties": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Filter By Properties", "description": "Filter assets by USD attributes where at least one root prim matches ALL listed conditions (AND logic). Format: `key=value` pairs comma-separated. Use `=~` prefix on value for wildcard matching. Examples: `class=vehicle` (exact), `class=~*vehicle*` (wildcard), `class=vehicle,material=metal` (both must match). Only a subset of indexed attributes is searchable.", "examples": ["class=vehicle", "class=~*vehicle*", "class=vehicle,material=metal"]}, "filter_by_properties_include_any": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Filter By Properties Include Any", "description": "Filter assets by USD attributes using OR logic \u2014 an asset matches if ANY of the listed property conditions match. Same format as filter_by_properties: `key=value` for exact, `key=~*pattern*` for wildcard. Example: `class=car,class=truck` matches assets with either class.", "examples": ["class=car,class=truck"]}, "exclude_filter_by_properties": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Exclude Filter By Properties", "description": "Exclude assets by USD attributes where at least one root prim matches (note: only supported for a subset of attributes indexed). Format: `attribute1=abc,attribute2=456` for exact matches or `*attribute1*=~*abc*,*attribute2*=~*456*` for wildcard matches", "examples": ["class=vehicle", "class=~*draft*"]}, "filter_by_properties_numeric": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Filter By Properties Numeric", "description": "Filter assets by numeric USD attributes with comparison operators. Format: `property>value,property<=value`. Supported operators: `>`, `>=`, `<`, `<=`, `=`. Example: `physics:mass>1.0,physics:density<=500`", "examples": ["physics:mass>1.0", "physics:mass>1.0,physics:density<=500"]}, "filter_by_tags": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Filter By Tags", "description": "Filter assets by tags. Format: `tag1=,=value2,tag3=value3`", "examples": ["reviewed=", "=production", "status=approved"]}, "min_bbox_x": {"anyOf": [{"type": "number", "minimum": 0.0}, {"type": "null"}], "title": "Min Bbox X", "description": "Filter by minimum X axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0]}, "min_bbox_y": {"anyOf": [{"type": "number", "minimum": 0.0}, {"type": "null"}], "title": "Min Bbox Y", "description": "Filter by minimum Y axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0]}, "min_bbox_z": {"anyOf": [{"type": "number", "minimum": 0.0}, {"type": "null"}], "title": "Min Bbox Z", "description": "Filter by minimum Z axis dimension of the asset's bounding box of the default prim of the asset", "examples": [1.0]}, "max_bbox_x": {"anyOf": [{"type": "number", "exclusiveMinimum": 0.0}, {"type": "null"}], "title": "Max Bbox X", "description": "Filter by maximum X axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0]}, "max_bbox_y": {"anyOf": [{"type": "number", "exclusiveMinimum": 0.0}, {"type": "null"}], "title": "Max Bbox Y", "description": "Filter by maximum Y axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0]}, "max_bbox_z": {"anyOf": [{"type": "number", "exclusiveMinimum": 0.0}, {"type": "null"}], "title": "Max Bbox Z", "description": "Filter by maximum Z axis dimension of the asset's bounding box of the default prim of the asset", "examples": [100.0]}, "bbox_use_scaled_dimensions": {"type": "boolean", "title": "Bbox Use Scaled Dimensions", "description": "Use scaled dimensions for bounding box filtering", "default": true}, "vision_metadata": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Vision Metadata", "description": "Uses a keyword match query on metadata fields that were generated using Vision Language Models. Format: `attribute1=abc,attribute2=456`", "examples": ["material=metal", "color=red,style=modern"]}, "description": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Description", "description": "Legacy text search query using AI-powered semantic matching. For new integrations, prefer hybrid_text_query on DeepSearchSearchRequestV2 (POST /search_hybrid) which combines text+vector search for better results."}, "image_similarity_search": {"anyOf": [{"items": {"type": "string"}, "type": "array", "maxItems": 10}, {"type": "null"}], "title": "Image Similarity Search", "description": "Find visually similar assets by providing reference images. Accepts base64-encoded images (JPEG/PNG/GIF), data URLs (data:image/jpeg;base64,...), or asset URLs (omniverse:// or s3://). Up to 10 images. Can be combined with text search for multimodal queries."}, "similarity_threshold": {"anyOf": [{"type": "number", "maximum": 2.0, "minimum": 0.0}, {"type": "null"}], "title": "Similarity Threshold", "description": "Deduplication threshold using embedding cosine distance. Assets with cosine distance below this value are considered duplicates \u2014 only the highest-scoring one is returned. Range [0, 2]. Typical values: 0.1 for light dedup, 0.3 for aggressive dedup, None to disable."}, "cutoff_threshold": {"anyOf": [{"type": "number", "minimum": 0.0}, {"type": "null"}], "title": "Cutoff Threshold", "description": "Minimum raw engine score for VECTOR search legs only (text/keyword legs are never cut off). Applied per leg BEFORE Reciprocal Rank Fusion, so a cut hit can still appear if another leg ranks it. The scale is the engine's transformed score, not plain cosine: for innerproduct kNN over normalized SigLIP2 embeddings OpenSearch maps ip >= 0 to 1 + ip, so the useful range is roughly 1.0 (orthogonal) to 2.0 (identical); values below 1.0 are effectively no-ops. Leave unset to keep every vector hit."}, "return_images": {"type": "boolean", "title": "Return Images", "description": "Return base64-encoded thumbnail images for each result. Recommended: true for visual inspection of search results.", "default": false}, "return_metadata": {"type": "boolean", "title": "Return Metadata", "description": "Return file metadata (created/modified dates, user, size, etag) for each result", "default": false}, "return_root_prims": {"type": "boolean", "title": "Return Root Prims", "description": "Return USD root prim data (type, bounding box, properties) for each result. Provides scene structure information.", "default": false}, "return_default_prims": {"type": "boolean", "title": "Return Default Prims", "description": "Return USD default prim data for each result. The default prim is the entry point when referencing this asset.", "default": false}, "return_predictions": {"type": "boolean", "title": "Return Predictions", "description": "Return ML model predictions (object classification, segmentation) for each result", "default": false}, "return_in_scene_instances_prims": {"type": "boolean", "title": "Return In Scene Instances Prims", "description": "[In-scene search only] Return prims of instances of objects found in the scene when using search_in_scene. Only meaningful when search_in_scene is set.", "default": false}, "embedding_knn_search_method": {"anyOf": [{"$ref": "#/components/schemas/SearchMethod"}, {"type": "null"}], "description": "Vector search method: 'exact' (brute-force, more accurate, slower) or 'approximate' (HNSW, faster, may miss some results). Default is exact. Use approximate for large-scale exploratory searches."}, "limit": {"type": "integer", "maximum": 10000.0, "exclusiveMinimum": 0.0, "title": "Limit", "description": "Maximum number of results to return (1-10000, default 32). Use 20-50 for initial exploration, 100+ for exhaustive search. Higher limits increase response time.", "default": 32}, "return_vision_generated_metadata": {"type": "boolean", "title": "Return Vision Generated Metadata", "description": "Returns the metadata fields that were generated using Vision Language Models", "default": false}, "return_inner_hits": {"type": "boolean", "title": "Return Inner Hits", "description": "Return detailed inner hits showing which nested documents matched (e.g., specific embedding offsets or USD property values)", "default": false}, "return_tags": {"type": "boolean", "title": "Return Tags", "description": "Return asset tags (key-value pairs) in the source data for each result", "default": false}, "validate_results": {"type": "boolean", "title": "Validate Results", "description": "Validate results with VLM", "default": false}, "offset": {"type": "integer", "minimum": 0.0, "title": "Offset", "description": "Number of results to skip \u2014 the simple, stateless way to reach page N. Prefer `cursor` from the previous response: it pins the ranking window so results stay consistent between pages, and it is the only way past OpenSearch's 10000-result window. How deep `offset` may go depends on the query shape: filter-only queries (no text/image/vector) are unbounded, a text query is capped by the deployment's pagination_max_offset, and a multi-leg (hybrid) query is capped by the RRF fusion window. Cannot be combined with validate_results=true.", "default": 0}, "cursor": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Cursor", "description": "Opaque cursor from the previous response's `next_cursor` (v3) or `X-Next-Cursor` header (v2). Takes precedence over `offset`. The query must stay identical while paging \u2014 changing it invalidates the cursor with a 400 rather than silently re-ranking. Page size (`limit`) and the `return_*` response flags may change freely mid-walk. Cannot be combined with validate_results=true."}, "scoring_config": {"anyOf": [{"$ref": "#/components/schemas/ScoringConfig"}, {"type": "null"}], "description": "Advanced scoring configuration controlling how text, vector, and filter results are combined via RRF. Leave as default for standard behavior, or customize field weights and RRF parameters for fine-tuned ranking."}, "hybrid_text_query": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Hybrid Text Query", "description": "Natural language search query for text-based search across multiple configurable fields (name, path, properties, AI-generated metadata). Use SHORT descriptive phrases (2-5 words) for best results. Combine with vector_queries using the same text for optimal hybrid search."}, "vector_queries": {"items": {"$ref": "#/components/schemas/VectorQuery"}, "type": "array", "title": "Vector Queries", "description": "Vector similarity queries for semantic search. Typically used with same text as hybrid_text_query for hybrid search: [{field_name: 'siglip2-embedding.embedding', query_type: 'text', query: '<same query>'}]. Multiple queries search different vector fields in parallel."}, "return_embeddings": {"type": "boolean", "title": "Return Embeddings", "description": "Return raw embedding vectors for search results. Useful for client-side similarity computations or caching.", "default": false}, "return_usd_properties": {"type": "boolean", "title": "Return Usd Properties", "description": "Return USD attributes (semantic labels, physics properties, etc.) from root prims for each result", "default": false}, "return_usd_dimensions": {"type": "boolean", "title": "Return Usd Dimensions", "description": "Return bounding box dimensions (bbox_dimension_x/y/z) for each result. Useful for size-based filtering or layout planning.", "default": false}, "deduplicate_by_hash": {"type": "boolean", "title": "Deduplicate By Hash", "description": "Collapse results with identical content hashes, returning only the highest-scoring version. Useful when the same asset exists at multiple paths.", "default": false}}, "type": "object", "title": "DeepSearchSearchRequestV2", "description": "Extended search request with hybrid text+vector search and advanced scoring configuration.\n\nThis is the request body for POST /search_hybrid (recommended) and POST /v3/deepsearch/search.\nIt extends the base search request with scoring configuration, vector queries, and additional\nresponse control flags.\n\nTypical usage for an AI agent:\n1. Set hybrid_text_query to a short descriptive phrase (2-5 words, e.g., \"red sports car\")\n2. Set vector_queries with the same text using field 'siglip2-embedding.embedding', query_type='text'\n3. Set file_extension_include=\"usd*\" to filter to USD assets only\n4. Set return_images=true for visual inspection and return_metadata=true for file info\n5. Set limit=20-50 for initial exploration, increase if needed\n6. Leave scoring_config as default unless you need to tune ranking behavior", "examples": [{"file_extension_include": "usd*", "hybrid_text_query": "red car vehicle", "limit": 20, "return_images": true, "return_metadata": true, "title": "Minimal hybrid search (recommended starting point)", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query": "red car vehicle", "query_type": "text"}]}, {"deduplicate_by_hash": true, "image_similarity_search": ["data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAFUlEQVR42mP8z8BQz0AEYBxVSF+FABJADveWkH6oAAAAAElFTkSuQmCC"], "limit": 20, "return_images": true, "return_metadata": true, "title": "Image similarity search (find visually similar assets)"}, {"file_extension_include": "usd*", "hybrid_text_query": "wooden table", "limit": 30, "max_bbox_x": 2.0, "max_bbox_y": 1.2, "min_bbox_x": 0.5, "min_bbox_y": 0.3, "return_images": true, "return_usd_dimensions": true, "return_usd_properties": true, "title": "Size-constrained search (find objects within specific dimensions)", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query": "wooden table", "query_type": "text"}]}, {"file_extension_include": "usd*", "filter_by_properties": "class=vehicle", "hybrid_text_query": "vehicle", "limit": 30, "return_images": true, "return_metadata": true, "return_usd_properties": true, "title": "Property-filtered search (semantic labels + text)", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query": "vehicle", "query_type": "text"}]}, {"created_after": "2023-01-01", "deduplicate_by_hash": true, "file_extension_include": "usd*", "hybrid_text_query": "modern office furniture", "limit": 50, "return_metadata": true, "return_usd_dimensions": true, "return_usd_properties": true, "scoring_config": {"hybrid_text": {"cross_field_operator": "or", "enabled": true, "fields": [{"field": "name", "match_type": "fuzzy", "weight": 2, "wildcard": true}, {"field": "name.simple", "match_type": "fuzzy", "weight": 2, "wildcard": true}, {"field": "name.standard", "match_type": "fuzzy", "weight": 2, "wildcard": true}, {"field": "usd_properties.value", "match_type": "fuzzy", "nested": true, "weight": 1, "wildcard": true}, {"field": "usd_properties.key", "match_type": "fuzzy", "nested": true, "weight": 1, "wildcard": true}, {"field": "path", "match_type": "fuzzy", "weight": 1, "wildcard": true}, {"field": "__VISION_METADATA_FIELDS__", "match_type": "fuzzy", "weight": 1, "wildcard": true}], "weight": 1.2}, "rrf_config": {"rank_constant": 60}, "vector_fields": {"siglip2-embedding.embedding": {"dimension": 1536, "enabled": true, "field_name": "siglip2-embedding.embedding", "weight": 1}}}, "title": "Advanced hybrid search with custom scoring configuration", "vector_queries": [{"field_name": "siglip2-embedding.embedding", "query": "modern office furniture", "query_type": "text"}]}]}, "DroppedFilter": {"properties": {"filter": {"$ref": "#/components/schemas/IRFilter", "description": "The extracted filter that was not applied."}, "reason": {"$ref": "#/components/schemas/DroppedFilterReason", "description": "Machine-readable reason the filter was dropped."}, "message": {"type": "string", "title": "Message", "description": "Human-readable explanation suitable for surfacing in the UI."}}, "type": "object", "required": ["filter", "reason", "message"], "title": "DroppedFilter", "description": "A filter the LLM extracted that the mapper could not apply, with the\nreason. Lets the client tell the user a constraint was understood but not\nenforced (and why), instead of silently ignoring it."}, "DroppedFilterReason": {"type": "string", "enum": ["unknown_field", "unsupported_operator", "invalid_value"], "title": "DroppedFilterReason", "description": "Why the mapper could not apply an extracted filter."}, "FieldScoreConfig": {"properties": {"field": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Field", "description": "Field name to search in. Use '__VISION_METADATA_FIELDS__' as a special placeholder for all AI-generated metadata fields (object type, materials, colors, etc.)."}, "enabled": {"type": "boolean", "title": "Enabled", "description": "Whether this field participates in text search scoring", "default": true}, "weight": {"type": "number", "maximum": 100.0, "minimum": 0.0, "title": "Weight", "description": "Relative importance of this field (1.0 = normal, 2.0 = double weight). Higher weight means matches in this field rank higher.", "default": 1.0}, "match_type": {"$ref": "#/components/schemas/TextMatchType", "description": "Text matching strategy. FUZZY is recommended for natural language queries as it tolerates typos.", "default": "fuzzy"}, "analyzer": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Analyzer", "description": "Custom OpenSearch analyzer name. Leave None for default analyzer."}, "fuzzy_max_expansions": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Fuzzy Max Expansions", "description": "Maximum number of fuzzy term expansions. Lower values are faster but less tolerant of typos.", "default": 1}, "nested": {"type": "boolean", "title": "Nested", "description": "Whether this field is nested (e.g., usd_properties.key, usd_properties.value, tags.tag, tags.value)", "default": false}, "wildcard": {"type": "boolean", "title": "Wildcard", "description": "Whether to also run a wildcard query on this field for partial matching", "default": true}, "match": {"type": "boolean", "title": "Match", "description": "Whether to run a standard match query on this field", "default": true}, "case_insensitive": {"type": "boolean", "title": "Case Insensitive", "description": "Whether wildcard queries ignore case", "default": true}}, "type": "object", "title": "FieldScoreConfig", "description": "Configuration for scoring a single text field in hybrid search.\n\nControls how text queries match against a specific field and how much weight\nthat field contributes to the overall text search score."}, "FilterFieldInfo": {"properties": {"name": {"type": "string", "title": "Name", "description": "IR field name, e.g. 'polygon_count'."}, "value_type": {"type": "string", "title": "Value Type", "description": "string | number | boolean | date | array."}, "operators": {"items": {"type": "string"}, "type": "array", "title": "Operators", "description": "Operators valid for this field."}, "description": {"type": "string", "title": "Description", "description": "Human-readable description for the picker."}, "examples": {"items": {"type": "string"}, "type": "array", "title": "Examples", "description": "Worked input \u2192 field op value hints."}, "params": {"items": {"type": "string"}, "type": "array", "title": "Params", "description": "DeepSearchSearchRequestV2 field key(s) this filter maps to."}, "comma_join": {"type": "boolean", "title": "Comma Join", "description": "True if this filter's request params accumulate as a comma-joined list (union on repeat) rather than being overwritten.", "default": false}, "kind": {"type": "string", "title": "Kind", "description": "The map.kind builder behind this field (e.g. 'property_exists', 'bbox').", "default": ""}, "property": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Property", "description": "Resolved USD property key (env override applied) for property-backed fields; null for fields not backed by a single property."}, "label": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Label", "description": "Optional human-readable UI label; clients fall back to `name` when null."}, "group": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Group", "description": "Optional Explorer rail group this filter renders under; ungrouped fields share a default group."}}, "type": "object", "required": ["name", "value_type", "operators", "description"], "title": "FilterFieldInfo", "description": "One discoverable filter the deployment supports (from search_fields.yaml)."}, "HTTPValidationError": {"properties": {"detail": {"items": {"$ref": "#/components/schemas/ValidationError"}, "type": "array", "title": "Detail"}}, "type": "object", "title": "HTTPValidationError"}, "HybridTextConfig": {"properties": {"enabled": {"type": "boolean", "title": "Enabled", "description": "Whether text search is active. Set to false to rely on vector search only.", "default": true}, "weight": {"type": "number", "maximum": 100.0, "minimum": 0.0, "title": "Weight", "description": "Boost factor for text search relative to other legs. Values >1.0 (e.g., 1.2) prioritize text keyword matches over vector similarity. Recommended: 1.0-1.5.", "default": 1.0}, "fields": {"items": {"$ref": "#/components/schemas/FieldScoreConfig"}, "type": "array", "title": "Fields", "description": "List of fields to search with individual weights. If empty, server defaults are used. Include '__VISION_METADATA_FIELDS__' for AI-generated descriptions."}, "cross_field_operator": {"type": "string", "title": "Cross Field Operator", "description": "How to combine matches across fields: 'or' (any field matches) or 'and' (all fields must match). Recommended: 'or' for discovery, 'and' for precision.", "default": "or"}}, "additionalProperties": false, "type": "object", "title": "HybridTextConfig", "description": "Configuration for the text search leg of hybrid search.\n\nControls which fields are searched, how they're weighted, and how matches\nare combined across fields. The text leg runs in parallel with vector search,\nand results are merged via RRF.\n\nRecommended fields for USD asset search: name, name.simple, name.standard,\npath, usd_properties.value, usd_properties.key, __VISION_METADATA_FIELDS__."}, "IRFilter": {"properties": {"field": {"type": "string", "title": "Field", "description": "The field to filter on. The valid names are deployment-specific (they come from the deployment's filter catalog) \u2014 enumerate them with `GET /llm_parse/fields`."}, "operator": {"$ref": "#/components/schemas/Operator", "description": "Comparison operator. Must be valid for the chosen field."}, "value": {"anyOf": [{"type": "string"}, {"type": "number"}, {"type": "boolean"}, {"items": {"type": "string"}, "type": "array"}], "title": "Value", "description": "The value to compare against. Use a list only for `in` operators."}}, "additionalProperties": false, "type": "object", "required": ["field", "operator", "value"], "title": "IRFilter", "description": "A single structured filter: which field, which operator, what value."}, "KeyValuePair": {"properties": {"key": {"type": "string", "title": "Key"}, "value": {"type": "string", "title": "Value"}, "asset_count": {"type": "integer", "title": "Asset Count"}}, "type": "object", "required": ["key", "value", "asset_count"], "title": "KeyValuePair"}, "Metadata": {"properties": {"created": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Created"}, "created_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Created By"}, "modified": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Modified"}, "modified_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Modified By"}, "size": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Size"}, "etag": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Etag"}}, "type": "object", "required": ["created", "created_by", "modified", "modified_by", "size", "etag"], "title": "Metadata"}, "NameMatchConfig": {"properties": {"enabled": {"type": "boolean", "title": "Enabled", "description": "Whether hits whose name or path holds every query word get the vote.", "default": true}, "weight": {"type": "number", "maximum": 100.0, "minimum": 0.0, "title": "Weight", "description": "RRF weight of the name vote (its rank constant is rrf_config.query_rank_constants['name'], else rank_constant).", "default": 1.0}, "min_words": {"type": "integer", "maximum": 8.0, "minimum": 1.0, "title": "Min Words", "description": "A query of this many words or more (after stopwords) gets the vote.", "default": 2}, "rare_word_hits": {"type": "integer", "maximum": 100.0, "minimum": 0.0, "title": "Rare Word Hits", "description": "A shorter query (one word) gets the vote only when at most this many of the returned hits hold its word: a product name ('allegro') yes, a common noun ('table', 'car') no. 0 never.", "default": 1}}, "additionalProperties": false, "type": "object", "title": "NameMatchConfig", "description": "The name vote: one more RRF vote for hits whose name or path holds every query word.\n\nRank fusion sees ranks, not scores, so the asset a query names (\"allegro hand\" -> allegro_hand.usd) can lose to\nlook-alikes that sit moderately high in both the text and the vector leg. The vote is read from the hits the legs\nalready returned (their name and path), so it costs no extra query. Words are whole words: a name or path is split\nat anything not a letter or digit, at camelCase and at letter/digit boundaries (\"AllegroHand\" -> allegro, hand;\n\"onrobot\" does not hold \"robot\"), a plural counts (\"robot\" ~ \"Robots\"), and a query word with a digit matches the\nstart of a part (\"m900\" ~ \"m900ib280\"). Stopwords and one-character words are left out of the query. A query of\nmin_words words or more gets the vote; a shorter one only when its word is rare among the returned hits\n(rare_word_hits). It applies only when the request fuses several legs."}, "Operator": {"type": "string", "enum": ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "in", "exists"], "title": "Operator", "description": "Comparison operators an IR filter may use. The set is the union across\nall fields; each field constrains which subset is valid (see ``IRField``)."}, "Prediction": {"properties": {"tag": {"type": "string", "title": "Tag", "description": "The tag of the prediction"}, "prob": {"type": "number", "title": "Prob", "description": "The probability of the prediction"}}, "type": "object", "required": ["tag", "prob"], "title": "Prediction"}, "Prim": {"properties": {"scene_url": {"type": "string", "title": "Scene Url"}, "scene_mpu": {"type": "number", "title": "Scene Mpu"}, "usd_path": {"type": "string", "title": "Usd Path"}, "prim_type": {"type": "string", "title": "Prim Type"}, "bbox_max": {"items": {"type": "number"}, "type": "array", "title": "Bbox Max"}, "bbox_min": {"items": {"type": "number"}, "type": "array", "title": "Bbox Min"}, "bbox_midpoint": {"items": {"type": "number"}, "type": "array", "title": "Bbox Midpoint"}, "bbox_dimension_x": {"type": "number", "title": "Bbox Dimension X"}, "bbox_dimension_y": {"type": "number", "title": "Bbox Dimension Y"}, "bbox_dimension_z": {"type": "number", "title": "Bbox Dimension Z"}, "scaled_bbox_dimension_x": {"type": "number", "title": "Scaled Bbox Dimension X"}, "scaled_bbox_dimension_y": {"type": "number", "title": "Scaled Bbox Dimension Y"}, "scaled_bbox_dimension_z": {"type": "number", "title": "Scaled Bbox Dimension Z"}, "source_asset_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Source Asset Url"}, "properties": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Properties"}, "root_prim": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Root Prim"}, "default_prim": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Default Prim"}}, "type": "object", "required": ["scene_url", "scene_mpu", "usd_path", "prim_type", "bbox_max", "bbox_min", "bbox_midpoint", "bbox_dimension_x", "bbox_dimension_y", "bbox_dimension_z", "scaled_bbox_dimension_x", "scaled_bbox_dimension_y", "scaled_bbox_dimension_z"], "title": "Prim"}, "QueryParsingRequest": {"properties": {"query": {"type": "string", "minLength": 1, "title": "Query", "description": "Raw free-text search text from the search bar."}}, "type": "object", "required": ["query"], "title": "QueryParsingRequest"}, "QueryParsingResponse": {"properties": {"interpreted_query": {"$ref": "#/components/schemas/SearchIR", "description": "Structured interpretation of the query."}, "search_params": {"additionalProperties": true, "type": "object", "title": "Search Params", "description": "Mapped DeepSearchSearchRequestV2 fields that were merged into the search request."}, "dropped_filters": {"items": {"$ref": "#/components/schemas/DroppedFilter"}, "type": "array", "title": "Dropped Filters", "description": "Filters that were extracted but could not be applied (unsupported operator, unknown field, or invalid value). Empty when every extracted filter was applied; its length is the dropped count. interpreted_query reflects only applied filters."}, "unmapped_constraints": {"items": {"$ref": "#/components/schemas/UnmappedConstraint"}, "type": "array", "title": "Unmapped Constraints", "description": "Constraints the user expressed that match no catalog field, so they could not become a filter and were not searched on. Surfaced (verbatim, with a note) so the client can tell the user the constraint was understood but not enforced. Mirrors interpreted_query.unmapped_constraints."}}, "type": "object", "required": ["interpreted_query", "search_params"], "title": "QueryParsingResponse", "description": "Same shape as ParsedQuery; kept as a distinct schema name for\n/llm_parse/query back-compat."}, "QueryRelevanceValidationResult": {"properties": {"is_match": {"type": "boolean", "title": "Is Match", "description": "Whether the result matches the query"}, "confidence": {"type": "number", "maximum": 1.0, "minimum": 0.0, "title": "Confidence", "description": "Confidence in the decision (0-1)"}, "similarity_score": {"type": "number", "maximum": 100.0, "minimum": 0.0, "title": "Similarity Score", "description": "Query-asset relevance 0-100 (float): P(Yes) x 100 for the logprob method, the generated value for generative; the rerank sort key"}, "reasoning": {"type": "string", "title": "Reasoning", "description": "Explanation of the validation decision"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model", "description": "Identifier of the VLM service+model that produced this verdict. Returned so clients can cache verdicts under a model-aware key \u2014 when the server-side model changes, cached entries become misses and re-validation runs."}}, "type": "object", "required": ["is_match", "confidence", "similarity_score", "reasoning"], "title": "QueryRelevanceValidationResult", "description": "VLM validation result for a search result."}, "RRFConfig": {"properties": {"rank_constant": {"type": "integer", "minimum": 1.0, "title": "Rank Constant", "description": "RRF constant factor (k). Determines how much influence lower-ranked documents in individual result sets have on the final ranking. Higher values (e.g., 60) produce smoother fusion; lower values (e.g., 1-10) heavily favor top-ranked results. Recommended: 60 for balanced hybrid search.", "default": 60}, "window_size": {"anyOf": [{"type": "integer", "minimum": 1.0}, {"type": "null"}], "title": "Window Size", "description": "Number of top-k documents to consider from each search leg before fusion. None means use all results."}, "query_rank_constants": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Query Rank Constants", "description": "Override rank_constant for specific search legs, keyed by leg name (e.g., {\"hybrid\": 30, \"text_to_vector\": 90}). Valid leg names: \"hybrid\" (text leg), \"name\" (the name vote), \"text_to_vector\" (description embedding), \"image_similarity\", and \"vector_<n>\" for explicit vector queries."}}, "type": "object", "title": "RRFConfig", "description": "Reciprocal Rank Fusion configuration for combining multiple search result lists.\n\nRRF combines results from text search, vector search, and other legs into a single\nranked list. The formula for each document is: sum(1 / (k + rank_in_list)) across all lists.\nA higher rank_constant gives more influence to lower-ranked documents."}, "ScoreExplanation": {"properties": {"search_type": {"$ref": "#/components/schemas/SearchType", "description": "Which search strategy produced this score"}, "score": {"type": "number", "title": "Score", "description": "Raw score from this search leg"}, "field": {"type": "string", "title": "Field", "description": "Index field that was matched (e.g., 'name', 'siglip2-embedding.embedding')"}, "details": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Details", "description": "Additional scoring details from the search engine"}, "rrf_score": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rrf Score", "description": "This leg's contribution to the final RRF score"}, "rrf_rank_constant": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rrf Rank Constant", "description": "RRF rank constant (k) used for this leg"}, "matched_terms": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Matched Terms", "description": "Text terms that matched in this field"}, "vector_similarity": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Vector Similarity", "description": "Overall vector cosine similarity for vector search legs"}, "matched_vectors": {"anyOf": [{"items": {"$ref": "#/components/schemas/VectorScore"}, "type": "array"}, {"type": "null"}], "title": "Matched Vectors", "description": "Individual vector matches with per-embedding scores"}}, "type": "object", "required": ["search_type", "score", "field"], "title": "ScoreExplanation", "description": "Explains one scoring component: which search leg matched, on which field, with what score.\n\nEach search result may have multiple explanations (one per search leg that matched),\nwhich are then combined via Reciprocal Rank Fusion into the final rrf_score."}, "ScoringConfig": {"properties": {"rrf_config": {"$ref": "#/components/schemas/RRFConfig", "description": "Reciprocal Rank Fusion parameters for merging results from multiple search legs"}, "hybrid_text": {"$ref": "#/components/schemas/HybridTextConfig", "description": "Text search leg configuration: fields, weights, and matching strategy"}, "vector_fields": {"additionalProperties": {"$ref": "#/components/schemas/VectorFieldConfig"}, "type": "object", "title": "Vector Fields", "description": "Vector search fields configuration. Key is the field name (e.g., 'siglip2-embedding.embedding'), value is the field config with dimension and weight."}, "name_match": {"$ref": "#/components/schemas/NameMatchConfig", "description": "The name vote: an extra RRF vote for hits whose name or path holds every query word."}}, "additionalProperties": true, "type": "object", "title": "ScoringConfig", "description": "Controls how text, vector, and hybrid search results are combined via Reciprocal Rank Fusion.\n\nFor most use cases, the defaults work well. Customize when you need to:\n- Boost text keyword matching over visual similarity (increase hybrid_text.weight)\n- Prioritize vector similarity over text (increase vector_fields weight)\n- Enable/disable specific search legs\n\nTypical configuration for agentic search:\n- rrf_config: rank_constant=60 (default)\n- hybrid_text: enabled=true, weight=1.2, fields=[name(2), name exact(5), path(1), __VISION_METADATA_FIELDS__(1)]\n- vector_fields: {\"siglip2-embedding.embedding\": {enabled: true, weight: 1, dimension: 1536}}"}, "SearchIR": {"properties": {"semantic_query": {"type": "string", "title": "Semantic Query", "description": "Descriptive nouns/phrase for semantic + keyword search (e.g. 'warehouse'). Put ONLY descriptive nouns/adjectives here \u2014 not structured constraints. May be empty if the query is purely a filter."}, "filters": {"items": {"$ref": "#/components/schemas/IRFilter"}, "type": "array", "title": "Filters", "description": "Structured filters extracted from the query. Empty if the query maps to no known filter."}, "unmapped_constraints": {"items": {"$ref": "#/components/schemas/UnmappedConstraint"}, "type": "array", "title": "Unmapped Constraints", "description": "Constraints the user clearly expressed that match NO catalog field. Never drop such a clause and never put it in semantic_query \u2014 record it here so the client can report it as understood-but-not-enforced."}, "limit": {"anyOf": [{"type": "integer", "maximum": 10000.0, "minimum": 1.0}, {"type": "null"}], "title": "Limit", "description": "Maximum number of results, only if the user explicitly asked for a count."}}, "additionalProperties": false, "type": "object", "required": ["semantic_query"], "title": "SearchIR", "description": "Structured interpretation of a free-text search query."}, "SearchMethod": {"type": "string", "enum": ["exact", "approximate"], "title": "SearchMethod"}, "SearchResponse": {"properties": {"total": {"type": "integer", "title": "Total", "description": "Size of the RRF fusion candidate pool \u2014 i.e. the number of distinct documents that survived client-side reciprocal-rank fusion across all query legs after similarity-threshold filtering. Bounded by scoring_config.rrf_config.window_size (default 2 * (from + limit), capped at OpenSearch's index.max_result_window of 10000). This is NOT the corpus match count (see corpus_total) and NOT the page count basis (see paginable_total)."}, "corpus_total": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Corpus Total", "description": "Lower-bound estimate of the number of documents in the index matching the query and filters, computed as max(per-leg OpenSearch total_hits) across all executed legs. Every leg now runs with track_total_hits=true, so each leg's own count is exact; the estimate is a lower bound only because legs may disagree on membership (true union is in [max(legs), sum(legs)]). Note the per-leg counts measure different things: a text leg counts documents matching the text query AND the filters, while a filter-only leg counts the filter set. An approximate-kNN leg is bounded by its k. Do NOT use this to compute page counts \u2014 use paginable_total. May be absent for back-compat with older clients."}, "paginable_total": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Paginable Total", "description": "How many results are actually reachable by paging \u2014 the basis for page count (ceil(paginable_total / limit)). For a single-leg query this is the exact match count, bounded by the depth limit; for a multi-leg (RRF) query it is the size of the fusion window, which is typically far smaller than corpus_total. Render this, not corpus_total, in a paginator. CAVEAT: with deduplicate_by_hash=true this OVERSTATES, because OpenSearch counts documents before collapsing, not collapsed groups \u2014 expect fewer results than advertised. Access filtering can also shorten individual pages, so treat it as an upper bound rather than an exact count."}, "next_cursor": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Next Cursor", "description": "Opaque cursor for the next page. Pass it back as `cursor` \u2014 it pins the fusion window and resume position, so paging stays consistent. Absent when there is no further page."}, "has_more": {"type": "boolean", "title": "Has More", "description": "Whether a further page exists. Derived from the pagination state, NOT from len(hits) \u2014 post-retrieval filters (access permissions) can shorten a page without it being the last one.", "default": false}, "pagination": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Pagination", "description": "Diagnostics: the mode chosen (`leg` = paged natively by OpenSearch, `rrf` = paged inside the fusion window), the offset, the page size, and the depth limit with the reason for it \u2014 so a client can tell 'no more results' from 'cannot page further in this mode'."}, "hits": {"items": {"$ref": "#/components/schemas/deepsearch_api__search_backend__models__SearchResult"}, "type": "array", "title": "Hits", "description": "Ranked search results ordered by rrf_score descending, limited by the request's limit parameter"}, "search_metadata": {"additionalProperties": true, "type": "object", "title": "Search Metadata", "description": "Search execution metadata including query timing and search method used"}}, "type": "object", "required": ["total", "hits", "search_metadata"], "title": "SearchResponse", "description": "Top-level response from the hybrid search endpoint.\n\nContains the total number of matching documents, the ranked list of hits\n(limited by the request's limit parameter), and search execution metadata."}, "SearchResultMetadata": {"properties": {"explanations": {"items": {"$ref": "#/components/schemas/ScoreExplanation"}, "type": "array", "title": "Explanations", "description": "Score breakdowns from each search leg that matched this result"}, "rrf_rank": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Rrf Rank", "description": "Final position in the RRF-ranked result list (1-based)"}, "original_ranks": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Original Ranks", "description": "Position in each individual search leg's result list before RRF fusion (keyed by search type)"}}, "type": "object", "required": ["explanations"], "title": "SearchResultMetadata", "description": "Per-result scoring transparency showing how the final rank was computed.\n\nContains the full list of score explanations from each search leg, the final\nRRF rank, and the original rank in each individual result set before fusion."}, "SearchType": {"type": "string", "enum": ["text", "hybrid", "name", "filter_only", "text_to_vector", "image_similarity", "vector"], "title": "SearchType", "description": "Identifies which search strategy produced a score explanation.\n\n- TEXT: Keyword/full-text search leg.\n- HYBRID: Combined text + vector search with RRF fusion (the recommended default).\n- NAME: Name vote: hits whose name or path holds every query word, as whole words (no extra query).\n- FILTER_ONLY: No text/vector query \u2014 results are purely from filters.\n- TEXT_TO_VECTOR: Text query converted to embedding for vector search.\n- IMAGE_SIMILARITY: Image-based vector search using visual embeddings.\n- VECTOR: Direct vector search with a pre-computed embedding array."}, "StatsResponse": {"properties": {"unique_keys": {"items": {"$ref": "#/components/schemas/UniqueKey"}, "type": "array", "title": "Unique Keys"}, "unique_values": {"items": {"$ref": "#/components/schemas/UniqueValue"}, "type": "array", "title": "Unique Values"}, "kv_pairs": {"items": {"$ref": "#/components/schemas/KeyValuePair"}, "type": "array", "title": "Kv Pairs"}}, "type": "object", "required": ["unique_keys", "unique_values", "kv_pairs"], "title": "StatsResponse"}, "TextMatchType": {"type": "string", "enum": ["exact", "fuzzy", "phrase", "prefix"], "title": "TextMatchType", "description": "How text queries are matched against field values.\n\n- EXACT: Case-sensitive exact token match. Use for IDs or known values.\n- FUZZY: Tolerates typos and minor spelling variations. Recommended default for natural language queries.\n- PHRASE: Matches the exact word sequence. Use when word order matters (e.g., \"red sports car\").\n- PREFIX: Matches tokens starting with the query prefix. Use for autocomplete/typeahead."}, "UniqueKey": {"properties": {"key": {"type": "string", "title": "Key"}, "asset_count": {"type": "integer", "title": "Asset Count"}}, "type": "object", "required": ["key", "asset_count"], "title": "UniqueKey"}, "UniqueValue": {"properties": {"value": {"type": "string", "title": "Value"}, "asset_count": {"type": "integer", "title": "Asset Count"}}, "type": "object", "required": ["value", "asset_count"], "title": "UniqueValue"}, "UnmappedConstraint": {"properties": {"text": {"type": "string", "title": "Text", "description": "The verbatim fragment of the user's query expressing this constraint."}, "note": {"type": "string", "title": "Note", "description": "Plain-English explanation of what was understood and why no catalog field fits."}}, "additionalProperties": false, "type": "object", "required": ["text", "note"], "title": "UnmappedConstraint", "description": "A constraint the user clearly expressed that maps to no catalog field.\n\nThe escape hatch that keeps the parse honest: a clause like \"Isaac version\nbetween 5 and 6\" is neither a descriptive noun (so it does not belong in\n``semantic_query``) nor a known filter (so it cannot become an ``IRFilter``).\nRouting it here makes the drop explicit \u2014 the client can tell the user the\nconstraint was understood but not enforced \u2014 instead of it silently vanishing\nor polluting the semantic query."}, "ValidateResultRequest": {"properties": {"query_text": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query Text", "description": "Text query to validate against"}, "query_image": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Query Image", "description": "Base64 image query to validate against"}, "asset_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Asset Url", "description": "Asset URL to validate (mutually exclusive with image_key/image_keys)"}, "image_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image Key", "description": "Single image key to validate (mutually exclusive with asset_url/image_keys)"}, "image_keys": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Image Keys", "description": "List of image keys for multiple views of the asset. The deployment's view budget applies (USDSEARCH_VISION_VALIDATION_MAX_IMAGES_PER_VALIDATION); requests exceeding it are rejected with 400. Mutually exclusive with asset_url/image_key."}, "images": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Images", "description": "Raw base64-encoded images (data URL or bare base64) to validate directly. When provided, the server validates these images as-is and does NOT fetch anything from the index. Mutually exclusive with asset_url/image_key/image_keys. The deployment view budget (USDSEARCH_VISION_VALIDATION_MAX_IMAGES_PER_VALIDATION) applies."}, "path": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Path", "description": "The asset's file path (its search hit's source.path): a text query's logprob judge reads it when USDSEARCH_VISION_VALIDATION_LOGPROB_ASSET_FACTS lists \"path\". Omit the facts to judge the image alone."}, "vlm_metadata_caption": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Vlm Metadata Caption", "description": "The asset's vision-metadata caption: read when USDSEARCH_VISION_VALIDATION_LOGPROB_ASSET_FACTS lists \"vlm_metadata_caption\" (`caption` accepted too)."}}, "type": "object", "title": "ValidateResultRequest", "description": "Request body for single-result VLM validation endpoint."}, "ValidationError": {"properties": {"loc": {"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]}, "type": "array", "title": "Location"}, "msg": {"type": "string", "title": "Message"}, "type": {"type": "string", "title": "Error Type"}, "input": {"title": "Input"}, "ctx": {"type": "object", "title": "Context"}}, "type": "object", "required": ["loc", "msg", "type"], "title": "ValidationError"}, "VectorFieldConfig": {"properties": {"enabled": {"type": "boolean", "title": "Enabled", "description": "Whether vector search is active for this field. Set to true to enable semantic similarity.", "default": false}, "weight": {"type": "number", "maximum": 100.0, "minimum": 0.0, "title": "Weight", "description": "Relative weight of this vector field's scores in RRF fusion. Higher values prioritize visual similarity.", "default": 1.0}, "field_name": {"type": "string", "title": "Field Name", "description": "Name of the vector field in the search index. Use 'siglip2-embedding.embedding' for SigLIP2 visual embeddings."}, "dimension": {"type": "integer", "title": "Dimension", "description": "Dimensionality of the embedding vectors. Must match the index configuration. SigLIP2 uses 1536 dimensions."}, "model_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model Name", "description": "Embedding model identifier used for encoding queries. Leave None to use the server's default encoder."}}, "additionalProperties": false, "type": "object", "required": ["field_name", "dimension"], "title": "VectorFieldConfig", "description": "Configuration for a single vector search field.\n\nCurrently the only supported vector field is 'siglip2-embedding.embedding'\n(SigLIP2 vision-language embeddings, 1536 dimensions). This enables semantic\nsimilarity search where query text is encoded into the same embedding space\nas the indexed asset thumbnails."}, "VectorQuery": {"properties": {"field_name": {"type": "string", "title": "Field Name", "description": "Vector field to search in. Use 'siglip2-embedding.embedding' for SigLIP2 visual-language embeddings (1536 dimensions)."}, "query_type": {"$ref": "#/components/schemas/VectorQueryType", "description": "Type of query input: 'text' (natural language, converted to embedding), 'image' (base64/URL, converted to visual embedding), or 'vector' (raw float array)."}, "query": {"anyOf": [{"type": "string"}, {"items": {"type": "number"}, "type": "array"}], "title": "Query", "description": "The query content: a text string (for type 'text'), a base64 image or URL (for type 'image'), or a list of floats (for type 'vector'). For text queries, use SHORT descriptive phrases (2-5 words) for best results with CLIP/SigLIP2 embeddings."}}, "type": "object", "required": ["field_name", "query_type", "query"], "title": "VectorQuery", "description": "A single vector similarity search query.\n\nVector queries find assets whose embeddings are close to the query embedding\nin the shared vision-language embedding space. Use query_type='text' for natural\nlanguage descriptions (most common) or 'image' for visual similarity search."}, "VectorQueryType": {"type": "string", "enum": ["text", "image", "vector"], "title": "VectorQueryType", "description": "Type of input provided for vector similarity search.\n\n- TEXT: Natural language text that will be encoded into an embedding by the server (most common).\n- IMAGE: Base64-encoded image or image URL that will be encoded into a visual embedding.\n- VECTOR: Pre-computed embedding as a list of floats (for advanced use when you have your own encoder)."}, "VectorScore": {"properties": {"offset": {"type": "integer", "title": "Offset", "description": "Index offset of the matched embedding in the stored array"}, "score": {"type": "number", "title": "Score", "description": "Cosine similarity score between query and matched embedding (0-1, higher is more similar)"}, "field": {"type": "string", "title": "Field", "description": "Vector field name that produced this match"}, "image": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image", "description": "Image key/ID associated with this embedding, if the embedding was generated from an image"}, "keyword": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Keyword", "description": "Keywords/labels associated with this embedding"}, "label": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Label", "description": "Human-readable label for this embedding (e.g., model name or view angle)"}}, "type": "object", "required": ["offset", "score", "field"], "title": "VectorScore", "description": "Detail of a single vector similarity match within an explanation."}, "deepsearch_api__routers_v2__models__SearchResult": {"properties": {"url": {"type": "string", "title": "Url", "description": "URL of the asset"}, "score": {"type": "number", "title": "Score"}, "embed": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Embed"}, "root_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "Root Prims"}, "default_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "Default Prims"}, "image": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image"}, "predictions": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prediction"}, "type": "array"}, {"type": "null"}], "title": "Predictions"}, "vision_generated_metadata": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Vision Generated Metadata"}, "tags": {"anyOf": [{"items": {"additionalProperties": true, "type": "object"}, "type": "array"}, {"type": "null"}], "title": "Tags"}, "metadata": {"anyOf": [{"$ref": "#/components/schemas/Metadata"}, {"type": "null"}]}, "in_scene_instance_prims": {"anyOf": [{"items": {"$ref": "#/components/schemas/Prim"}, "type": "array"}, {"type": "null"}], "title": "In Scene Instance Prims"}, "usd_dimensions": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Usd Dimensions", "description": "USD asset bounding box dimensions"}, "query_relevance": {"anyOf": [{"$ref": "#/components/schemas/QueryRelevanceValidationResult"}, {"type": "null"}], "description": "VLM validation result when validate=True"}}, "type": "object", "required": ["url", "score"], "title": "SearchResult"}, "deepsearch_api__search_backend__models__SearchResult": {"properties": {"id": {"type": "string", "title": "Id", "description": "Unique document ID in the search index"}, "score": {"type": "number", "title": "Score", "description": "Raw relevance score from the primary search leg"}, "rrf_score": {"type": "number", "title": "Rrf Score", "description": "Final Reciprocal Rank Fusion score combining all search legs. Higher is better. Range typically 0.0-1.0."}, "metadata": {"$ref": "#/components/schemas/SearchResultMetadata", "description": "Scoring transparency: individual search leg scores, RRF rank, and original positions"}, "source": {"description": "Indexed asset data including URL, metadata, thumbnail, USD properties, and AI-generated labels"}, "inner_hits": {"additionalProperties": true, "type": "object", "title": "Inner Hits", "description": "Nested query matches showing which specific sub-document (e.g., USD property or embedding) matched"}, "ags_data": {"$ref": "#/components/schemas/AGSAssetData", "description": "Asset Graph Service data: instance prims, root prims, and default prims if the scene has been graph-indexed"}, "thumbnail_exists": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Thumbnail Exists", "description": "Whether a pre-rendered thumbnail exists for this asset in the image store"}, "query_relevance": {"anyOf": [{"$ref": "#/components/schemas/QueryRelevanceValidationResult"}, {"type": "null"}], "description": "VLM validation result: match confidence and reasoning (only present when validate_results=true)"}}, "type": "object", "required": ["id", "score", "rrf_score", "metadata", "source"], "title": "SearchResult", "description": "A single search hit from the USD Search index.\n\nResults are ranked by rrf_score (Reciprocal Rank Fusion) which combines\ntext search, vector similarity, and other scoring legs into a single ranking.\nThe source field contains the actual asset data; metadata contains scoring transparency."}, "AXIS": {"type": "string", "enum": ["X", "Y", "Z"], "title": "AXIS"}, "Asset": {"properties": {"url": {"type": "string", "title": "Url", "description": "Full URL of the asset on the storage backend (e.g., omniverse://server/path/file.usd or s3://bucket/key)"}, "deleted": {"type": "boolean", "title": "Deleted", "description": "Whether this asset has been marked as deleted from the storage backend", "default": false}}, "type": "object", "required": ["url"], "title": "Asset", "description": "A file node in the asset dependency graph.\n\nRepresents any file tracked by the Asset Graph Service (USD scenes, textures, materials, etc.).\nThe `url` uniquely identifies the asset on the storage backend."}, "AssetGraph": {"properties": {"nodes": {"items": {"$ref": "#/components/schemas/Asset"}, "type": "array", "title": "Nodes", "description": "All assets (files) in the dependency graph"}, "edges": {"items": {"$ref": "#/components/schemas/AssetRelationship"}, "type": "array", "title": "Edges", "description": "Directed dependency relationships between assets"}}, "type": "object", "required": ["nodes", "edges"], "title": "AssetGraph", "description": "Directed graph of asset dependencies.\n\nNodes are files (assets) in the storage backend, edges are reference relationships between them.\nFor example, a USD scene depends_on its textures and sub-assembly assets."}, "AssetRelationship": {"properties": {"node_1_url": {"type": "string", "title": "Node 1 Url", "description": "URL of the dependent asset (the one that contains the reference)"}, "node_2_url": {"type": "string", "title": "Node 2 Url", "description": "URL of the dependency (the referenced asset)"}, "type": {"$ref": "#/components/schemas/EdgeType", "description": "Relationship type: depends_on (file reference), parent_prim (hierarchy), root_prim, or source_asset"}}, "type": "object", "required": ["node_1_url", "node_2_url", "type"], "title": "AssetRelationship", "description": "A directed edge in the asset dependency graph.\n\nRepresents that node_1_url has a reference/dependency on node_2_url via the specified relationship type."}, "EdgeType": {"type": "string", "enum": ["depends_on", "parent_prim", "root_prim", "source_asset"], "title": "EdgeType"}, "AGSPrim": {"properties": {"scene_url": {"type": "string", "title": "Scene Url", "description": "URL of the Prim's scene"}, "scene_mpu": {"type": "number", "title": "Scene Mpu", "description": "MPU of the Prim's scene", "default": 1}, "usd_path": {"type": "string", "title": "Usd Path", "description": "USD path of the prim withn scene `scene_url`. Unique within a single scene."}, "prim_type": {"type": "string", "title": "Prim Type", "description": "Prim type", "examples": ["Xform", "Mesh"]}, "source_asset_url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Source Asset Url", "description": "URL of Prim's source asset (returned only if the prim contains a reference to another asset)"}, "properties": {"anyOf": [{"additionalProperties": {"anyOf": [{"type": "string"}, {"type": "boolean"}]}, "type": "object"}, {"type": "null"}], "title": "Properties"}, "translate": {"items": {"type": "number"}, "type": "array", "title": "Translate", "description": "Translate X, Y, Z world coordinates of the prim", "default": [0, 0, 0]}, "rotate_x": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rotate X", "description": "X rotation (degrees) of the prim"}, "rotate_y": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rotate Y", "description": "Y rotation (degrees) of the prim"}, "rotate_z": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Rotate Z", "description": "Z rotation (degrees) of the prim"}, "scale_x": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Scale X", "description": "X scaling of the prim"}, "scale_y": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Scale Y", "description": "Y scaling of the prim"}, "scale_z": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Scale Z", "description": "Z scaling of the prim"}, "bbox_max": {"items": {"type": "number"}, "type": "array", "title": "Bbox Max", "description": "Max X, Y, Z coordinates of the bounding box"}, "bbox_min": {"items": {"type": "number"}, "type": "array", "title": "Bbox Min", "description": "Min X, Y, Z coordinates of the bounding box"}, "bbox_midpoint": {"items": {"type": "number"}, "type": "array", "title": "Bbox Midpoint", "description": "Midpoint X, Y, Z coordinates of the bounding box, i.e. Prim's location within the scene `scene_url`."}, "root_prim": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Root Prim", "description": "Is the prim a root prim for the scene"}, "default_prim": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Default Prim", "description": "Is the prim a default prim for the scene"}, "polygon_count": {"type": "integer", "title": "Polygon Count", "description": "Number of polygons/faces in the geometry if it's a mesh, curves, or points prim", "default": 0}, "point_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Point Count", "description": "Number of points in the geometry if it's a points prim (only set if > 0)"}, "curve_segment_count": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Curve Segment Count", "description": "Number of curve segments in the geometry if it's a curves prim (only set if > 0)"}, "bbox_dimension_x": {"type": "number", "title": "Bbox Dimension X", "description": "X axis dimension of prim's bounding box", "readOnly": true}, "bbox_dimension_y": {"type": "number", "title": "Bbox Dimension Y", "description": "Y axis dimension of prim's bounding box", "readOnly": true}, "bbox_dimension_z": {"type": "number", "title": "Bbox Dimension Z", "description": "Z axis dimension of prim's bounding box", "readOnly": true}, "scaled_bbox_dimension_x": {"type": "number", "title": "Scaled Bbox Dimension X", "description": "X axis dimension of prim's bounding box scaled by the MPU", "readOnly": true}, "scaled_bbox_dimension_y": {"type": "number", "title": "Scaled Bbox Dimension Y", "description": "Y axis dimension of prim's bounding box scaled by the MPU", "readOnly": true}, "scaled_bbox_dimension_z": {"type": "number", "title": "Scaled Bbox Dimension Z", "description": "Z axis dimension of prim's bounding box scaled by the MPU", "readOnly": true}}, "type": "object", "required": ["scene_url", "usd_path", "prim_type", "bbox_max", "bbox_min", "bbox_midpoint", "bbox_dimension_x", "bbox_dimension_y", "bbox_dimension_z", "scaled_bbox_dimension_x", "scaled_bbox_dimension_y", "scaled_bbox_dimension_z"], "title": "Prim"}, "SceneSummaryResponse": {"properties": {"scene_url": {"type": "string", "title": "Scene Url"}, "scene_mpu": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Scene Mpu", "description": "Scene meters per unit, if available."}, "scene_up_axis": {"anyOf": [{"$ref": "#/components/schemas/AXIS"}, {"type": "null"}], "description": "Scene up axis, if available."}, "n_prims": {"type": "integer", "title": "N Prims", "description": "Number of prims in the scene."}, "total_polygon_count": {"type": "integer", "title": "Total Polygon Count", "description": "Total polygon count across all geometry in the scene."}, "total_point_count": {"type": "integer", "title": "Total Point Count", "description": "Total point count across all Points prims in the scene."}, "total_curve_segment_count": {"type": "integer", "title": "Total Curve Segment Count", "description": "Total curve segment count across all Curves prims in the scene."}, "prim_types": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Prim Types", "description": "Number of prims per type."}, "unique_property_keys": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Unique Property Keys", "description": "Number of unique property keys."}, "unique_properties": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Unique Properties", "description": "Number of unique property (key,value) pairs."}, "referenced_assets": {"additionalProperties": {"type": "integer"}, "type": "object", "title": "Referenced Assets", "description": "Number of unique assets referenced by the scene."}, "default_prim": {"anyOf": [{"$ref": "#/components/schemas/AGSPrim"}, {"type": "null"}], "description": "Default prim of the scene, if any."}}, "type": "object", "required": ["scene_url", "scene_mpu", "scene_up_axis", "n_prims", "total_polygon_count", "total_point_count", "total_curve_segment_count", "prim_types", "unique_property_keys", "unique_properties", "referenced_assets"], "title": "SceneSummaryResponse"}, "SpatialQueryResponseItem": {"properties": {"prim": {"$ref": "#/components/schemas/AGSPrim"}, "distance": {"type": "number", "title": "Distance", "description": "Distance from the query center to the bounding box midpoint of the result."}, "vector": {"items": {"type": "number"}, "type": "array", "title": "Vector", "description": "Vector from the query center to the result. If the `transformation_matrix` argument is provided, the vector is transformed using the given matrix."}}, "type": "object", "required": ["prim", "distance", "vector"], "title": "SpatialQueryResponseItem"}}, "securitySchemes": {"HTTPBearer": {"type": "http", "scheme": "bearer"}, "HTTPBasic": {"type": "http", "scheme": "basic"}, "APIKeyHeader": {"type": "apiKey", "in": "header", "name": "x-api-key"}}}, "tags": [{"name": "AI Search", "description": "Current version of the main AI search API."}, {"name": "Relevance verification", "description": "VLM-based validation of search results against the original query."}, {"name": "AGS Spatial Graph", "description": "Spatial graph queries APIs."}, {"name": "AGS Scene Graph", "description": "Scene graph queries APIs."}, {"name": "AGS Asset Graph", "description": "Asset graph/dependencies graph queries APIs."}], "servers": [{"url": "/"}]}