---
title: "Get Active Directory Agent authentication settings"
method: GET
path: "/agent-authentication/ad"
tags: ["AgentAuthentication"]
---

# Get Active Directory Agent authentication settings

`GET /agent-authentication/ad`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/agent-authentication/ad`
- Auth: API key in header `Authorization`

Returns the Active Directory (SPNEGO) Agent authentication configuration.

## Response `200`

Successful response

- object
  - `enabled` boolean: Determines whether Active Directory (SPNEGO) Agent authentication is enabled
  - `allow_fallback_to_default` boolean: Allow fallback to default authentication when AD authentication fails
  - `token_ttl` number: Token time-to-live in milliseconds
  - `require_reauthorization` boolean: When enabled, Agents will be required to re-authorize after any AD configuration change

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

[API](https://skmtc.dev/resilio/apis/resilio-api.md) - [All operations](https://skmtc.dev/resilio/apis/resilio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/resilio/apis/resilio-api/revisions/ca39130a395e?raw)
