> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://flash.outtake.ai/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://flash.outtake.ai/docs/_mcp/server.

# Read a brand's impersonations

GET https://armor.outtake.ai/v1/graph

Beta. The key's account must have beta access and belong to an org; access is granted to each account, so two members of one org can get different results. Every host this key's account may read whose page presented one brand, as scans found them. The org is the account's own, never a parameter.

Reference: https://flash.outtake.ai/docs/api-reference/get-impersonations

## Authentication

- `Authorization` header (bearer token, required) — A flash\_ API key, sent as Authorization: Bearer \<key>.

## Request

### Query parameters

- `entity` (string, required) — The brand's Wikidata item, such as wikidata:Q328840.

## Response

### 200

The brand's impersonations.

- `entity` (ImpersonationsEntity, required)
- `unsafe_host_count` (integer, required) — Hosts this account may read whose page presented the brand and whose own newest scan is unsafe. Counts every such host, not only those in hosts.
- `hosts` (list of ImpersonationsHostsItems, required) — Hosts whose page presented the brand, from public scans, the account's org's scans and its own scans; impersonations first, then newest first.
- `truncated` (boolean, required) — True when older links were left out of hosts.
- `graph_url` (string, required, nullable) — The brand's Impersonations view on Flash, for a person signed in to the key's account; null when Flash has no web app.

## Errors

### 400 Bad Request Error

invalid_request: entity is not a Wikidata item such as wikidata:Q328840.

- `error` (enum, required)
  - Allowed values: `invalid_request`, `unauthorized`, `forbidden`, `scope_required`, `not_found`, `rejected`, `objective_unavailable`, `rate_limited`, `disabled`, `unavailable`, `idempotency_key_in_use`, `idempotency_key_reused`
- `reason` (string, required) — A sentence that says what to do next, for a person or agent.
- `request_id` (string, required) — This request's id, also sent as x-request-id. Quote it when you contact support.
- `limit` (ErrorLimit, optional) — Which limit refused the scan, on limit refusals only.
- `allowance` (ErrorAllowance, optional) — The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

### 401 Unauthorized Error

unauthorized: no API key, or one Flash doesn't know.

- `error` (enum, required)
  - Allowed values: `invalid_request`, `unauthorized`, `forbidden`, `scope_required`, `not_found`, `rejected`, `objective_unavailable`, `rate_limited`, `disabled`, `unavailable`, `idempotency_key_in_use`, `idempotency_key_reused`
- `reason` (string, required) — A sentence that says what to do next, for a person or agent.
- `request_id` (string, required) — This request's id, also sent as x-request-id. Quote it when you contact support.
- `limit` (ErrorLimit, optional) — Which limit refused the scan, on limit refusals only.
- `allowance` (ErrorAllowance, optional) — The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

### 403 Forbidden Error

scope_required: the key lacks the scan scope.

- `error` (enum, required)
  - Allowed values: `invalid_request`, `unauthorized`, `forbidden`, `scope_required`, `not_found`, `rejected`, `objective_unavailable`, `rate_limited`, `disabled`, `unavailable`, `idempotency_key_in_use`, `idempotency_key_reused`
- `reason` (string, required) — A sentence that says what to do next, for a person or agent.
- `request_id` (string, required) — This request's id, also sent as x-request-id. Quote it when you contact support.
- `limit` (ErrorLimit, optional) — Which limit refused the scan, on limit refusals only.
- `allowance` (ErrorAllowance, optional) — The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

### 404 Not Found Error

not_found: the key's account is in no org, or doesn't have beta access.

- `error` (enum, required)
  - Allowed values: `invalid_request`, `unauthorized`, `forbidden`, `scope_required`, `not_found`, `rejected`, `objective_unavailable`, `rate_limited`, `disabled`, `unavailable`, `idempotency_key_in_use`, `idempotency_key_reused`
- `reason` (string, required) — A sentence that says what to do next, for a person or agent.
- `request_id` (string, required) — This request's id, also sent as x-request-id. Quote it when you contact support.
- `limit` (ErrorLimit, optional) — Which limit refused the scan, on limit refusals only.
- `allowance` (ErrorAllowance, optional) — The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

### 503 Service Unavailable Error

unavailable: Flash is starting, stopping or failed. Retry later.

- `error` (enum, required)
  - Allowed values: `invalid_request`, `unauthorized`, `forbidden`, `scope_required`, `not_found`, `rejected`, `objective_unavailable`, `rate_limited`, `disabled`, `unavailable`, `idempotency_key_in_use`, `idempotency_key_reused`
- `reason` (string, required) — A sentence that says what to do next, for a person or agent.
- `request_id` (string, required) — This request's id, also sent as x-request-id. Quote it when you contact support.
- `limit` (ErrorLimit, optional) — Which limit refused the scan, on limit refusals only.
- `allowance` (ErrorAllowance, optional) — The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

## Types

### ImpersonationsEntity

- `id` (string, required) — The brand's Wikidata item, as wikidata:Q328840.
- `name` (string, required, nullable) — The brand's name as the newest page this account may read presented it; null when no page named it in a form Flash shows.

### ImpersonationsHostsItems

- `host` (string, required) — The page's hostname, or its IP address when the page was served from a raw IP.
- `verdict` (enum, required, nullable) — From the host's own newest scan this account may read; null when none has a verdict.
  - Allowed values: `safe`, `unsafe`, `suspicious`, `not_live`, `inconclusive`
- `relationship` (string, required, nullable) — How the newest scan that saw the link judged the page to relate to the brand, such as impersonation.
- `last_seen_at` (datetime, required)

### ErrorLimit

Which limit refused the scan, on limit refusals only.

- `scope` (enum, required)
  - Allowed values: `caller`, `ip`, `all`
- `window` (enum, required)
  - Allowed values: `hour`, `day`
- `limit` (integer, required)
- `resetAt` (string, required) — When the window frees up, as ISO 8601.
- `caller` (enum, required)
  - Allowed values: `anonymous`, `account`, `internal_key`

### ErrorAllowance

The plan allowance that refused the scan, in place of `limit`, when the account has used the scans its plan includes.

- `scans` (integer, required) — The scans the plan includes in any run of `days` days.
- `days` (integer, required)
- `resetAt` (string, required) — When the next scan fits the allowance, as ISO 8601.

## Examples

**Response**

```json
{
  "entity": {
    "id": "string",
    "name": "string"
  },
  "unsafe_host_count": 1,
  "hosts": [
    {
      "host": "string",
      "verdict": "safe",
      "relationship": "string",
      "last_seen_at": "2024-01-15T09:30:00Z"
    }
  ],
  "truncated": true,
  "graph_url": "string"
}
```

**SDK Code**

```python
import requests

url = "https://armor.outtake.ai/v1/graph"

querystring = {"entity":"entity"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://armor.outtake.ai/v1/graph?entity=entity';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://armor.outtake.ai/v1/graph?entity=entity"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://armor.outtake.ai/v1/graph?entity=entity")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://armor.outtake.ai/v1/graph?entity=entity")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://armor.outtake.ai/v1/graph?entity=entity', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://armor.outtake.ai/v1/graph?entity=entity");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://armor.outtake.ai/v1/graph?entity=entity")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```