{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dust Agents DatasourceViews API",
    "version": "1.0.2"
  },
  "items": [
    {
      "info": {
        "name": "DatasourceViews",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a Data Source View",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dust.tt/api/v1/w/:wId/spaces/:spaceId/data_source_views/:dsvId",
            "params": [
              {
                "name": "wId",
                "value": "",
                "type": "path"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dsvId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Get a Data Source View"
        },
        {
          "info": {
            "name": "Update a Data Source View",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://dust.tt/api/v1/w/:wId/spaces/:spaceId/data_source_views/:dsvId",
            "params": [
              {
                "name": "wId",
                "value": "",
                "type": "path"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dsvId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Update a Data Source View"
        },
        {
          "info": {
            "name": "Delete a Data Source View",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://dust.tt/api/v1/w/:wId/spaces/:spaceId/data_source_views/:dsvId",
            "params": [
              {
                "name": "wId",
                "value": "",
                "type": "path"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path"
              },
              {
                "name": "dsvId",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Delete a Data Source View"
        },
        {
          "info": {
            "name": "Search the Data Source View",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dust.tt/api/v1/w/:wId/spaces/:spaceId/data_source_views/:dsvId/search",
            "params": [
              {
                "name": "wId",
                "value": "",
                "type": "path",
                "description": "ID of the workspace"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "ID of the space"
              },
              {
                "name": "dsvId",
                "value": "",
                "type": "path",
                "description": "ID of the data source view"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "top_k",
                "value": "",
                "type": "query",
                "description": "The number of results to return"
              },
              {
                "name": "full_text",
                "value": "",
                "type": "query",
                "description": "Whether to return the full document content"
              },
              {
                "name": "target_document_tokens",
                "value": "",
                "type": "query",
                "description": "The number of tokens in the target document"
              },
              {
                "name": "timestamp_gt",
                "value": "",
                "type": "query",
                "description": "The timestamp to filter by"
              },
              {
                "name": "timestamp_lt",
                "value": "",
                "type": "query",
                "description": "The timestamp to filter by"
              },
              {
                "name": "tags_in",
                "value": "",
                "type": "query",
                "description": "The tags to filter by"
              },
              {
                "name": "tags_not",
                "value": "",
                "type": "query",
                "description": "The tags to filter by"
              },
              {
                "name": "parents_in",
                "value": "",
                "type": "query",
                "description": "The parents to filter by"
              },
              {
                "name": "parents_not",
                "value": "",
                "type": "query",
                "description": "The parents to filter by"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Search the data source view identified by {dsvId} in the workspace identified by {wId}."
        },
        {
          "info": {
            "name": "List Data Source Views",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://dust.tt/api/v1/w/:wId/spaces/:spaceId/data_source_views",
            "params": [
              {
                "name": "wId",
                "value": "",
                "type": "path",
                "description": "Unique string identifier for the workspace"
              },
              {
                "name": "spaceId",
                "value": "",
                "type": "path",
                "description": "ID of the space"
              }
            ],
            "auth": {
              "type": "bearer",
              "token": "{{bearerToken}}"
            }
          },
          "docs": "Retrieves a list of data source views for the specified space"
        }
      ]
    }
  ],
  "bundled": true
}