---
title: "Get Failure Flag by name."
method: GET
path: "/failure-flags/flags/{name}"
tags: ["failure-flags.flags"]
---

# Get Failure Flag by name.

`GET /failure-flags/flags/{name}`

Requires the privilege [`EXPERIMENTS_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)

## Path parameters

- `name` string, required

## Query parameters

- `teamId` string, required

## Response `200`

Get a Failure Flag by name and team

- FailureFlag
  - `teamId` string
  - `name` string
  - `labelKeys` string[]
  - `behaviors` string[]
  - `createdAt` string, date-time
  - `lastSeen` string, date-time
  - `protected` boolean
  - `apps` string[]
  - `experiments` string[]

## Other responses

- `401` — Authorization header missing or malformed. Please provide proper credentials in the authorization header.
- `403` — User requires privilege for target team: EXPERIMENTS_READ
- `404` — Not found

---

[API](https://skmtc.net/gremlin/apis/gremlin-api.md) · [All operations](https://skmtc.net/gremlin/apis/gremlin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gremlin/gremlin-api/revisions/36ee938323f0/schema)
