> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Account

Get an account's details by its ID.

<Note>
  External Documentation

  To learn more, visit the [Vectra Detect documentation](https://vectranetworks.github.io/detect-openapi/#/Accounts/accountGetSingle).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                                                                        |
  | ---------- | -------------------------------------------------------------------------------------------------- |
  | Account ID | The ID of the account to retrieve.                                                                 |
  | Fields     | A comma-separated list of fields to include in the response. When omitted all fields are returned. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": 1,
	"url": "https://dummy.link",
	"name": "string",
	"state": "active",
	"threat": 80,
	"certainty": 80,
	"severity": "medium",
	"account_type": [
		"kerberos"
	],
	"tags": [
		"string"
	],
	"note": "string",
	"note_modified_by": "string",
	"note_modified_timestamp": "2022-01-01T00:00:00Z",
	"notes": [
		{
			"id": 1,
			"date_created": "2022-01-01T00:00:00Z",
			"date_modified": "2022-01-01T00:00:00Z",
			"created_by": "string",
			"modified_by": "string",
			"note": "string"
		}
	],
	"privilege_level": 8,
	"privilege_category": "Medium",
	"last_detection_timestamp": "2022-01-01T00:00:00Z",
	"detection_set": [
		"https://dummy.link"
	],
	"probable_home": "string",
	"assignment": {
		"id": 1,
		"assigned_by": {
			"id": 123,
			"username": "SAML:dummy@company.com"
		},
		"date_assigned": "2022-01-01T00:00:00Z",
		"date_resolved": "2022-01-01T00:00:00Z",
		"events": [
			{
				"assignment_id": 1,
				"actor": 1,
				"event_type": "created",
				"datetime": "2022-01-01T00:00:00Z",
				"context": {
					"from": 1,
					"to": 1,
					"entity_c_score": 80,
					"entity_t_score": 80,
					"triage_as": "string",
					"triaged_detection_ids": [
						1
					],
					"fixed_detection_ids": [
						1
					],
					"created_rule_ids": [
						1
					]
				}
			}
		],
		"outcome": {
			"id": 1,
			"builtin": true,
			"user_selectable": true,
			"title": "string",
			"category": "benign_true_positive"
		},
		"resolved_by": {
			"id": 123,
			"username": "SAML:dummy@company.com"
		},
		"triaged_detections": [
			1
		],
		"host_id": 1,
		"account_id": 1,
		"assigned_to": {
			"id": 123,
			"username": "SAML:dummy@company.com"
		}
	},
	"past_assignments": [
		{
			"id": 1,
			"assigned_by": {
				"id": 123,
				"username": "SAML:dummy@company.com"
			},
			"date_assigned": "2022-01-01T00:00:00Z",
			"date_resolved": "2022-01-01T00:00:00Z",
			"events": [
				{
					"assignment_id": 1,
					"actor": 1,
					"event_type": "created",
					"datetime": "2022-01-01T00:00:00Z",
					"context": {
						"from": 1,
						"to": 1,
						"entity_c_score": 80,
						"entity_t_score": 80,
						"triage_as": "string",
						"triaged_detection_ids": [
							1
						],
						"fixed_detection_ids": [
							1
						],
						"created_rule_ids": [
							1
						]
					}
				}
			],
			"outcome": {
				"id": 1,
				"builtin": true,
				"user_selectable": true,
				"title": "string",
				"category": "benign_true_positive"
			},
			"resolved_by": {
				"id": 123,
				"username": "SAML:dummy@company.com"
			},
			"triaged_detections": [
				1
			],
			"host_id": 1,
			"account_id": 1,
			"assigned_to": {
				"id": 123,
				"username": "SAML:dummy@company.com"
			}
		}
	],
	"sensors": [
		"string"
	]
}
```

## Workflow Library Example

[Get Account with Vectra Detect and Send Results Via Email](https://library.blinkops.com/workflows/get-account-with-vectra-detect-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/get-account-with-vectra-detect-and-send-results-via-email/canvas" />
</div>
