Skip to main content
GET
/
api
/
v2
/
saved-queries
/
export
"[this request has a binary response]"
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Query Parameters

scope
enum<string>
required

Scope of saved queries, only the first scope parameter is used.

Available options:
all,
public,
shared,
owned

Response

OK This response will contain binary content.

The response ZIP file will contain JSON files using their query name as the file name. The underlying JSON file is expected to have the following structure:

{
"name": "Return_Nodes",
"query": "MATCH (n) RETURN n",
"description": "Returns all nodes in a given graph"
}

The response is of type file.