---
title: "GET /human-loops#FlowDefinitionArn"
method: GET
path: "/human-loops#FlowDefinitionArn"
---

# GET /human-loops#FlowDefinitionArn

`GET /human-loops#FlowDefinitionArn`

Returns information about human loops, given the specified parameters. If a human loop was deleted, it will not be included.

## Query parameters

- `CreationTimeAfter` string, date-time
- `CreationTimeBefore` string, date-time
- `FlowDefinitionArn` string, required
- `SortOrder` 'Ascending' | 'Descending'
- `NextToken` string
- `MaxResults` integer

## Response `200`

Success

- ListHumanLoopsResponse
  - `HumanLoopSummaries` HumanLoopSummary[], required — An array of objects that contain information about the human loops.
    - `HumanLoopName` string — The name of the human loop.
    - `HumanLoopStatus` 'InProgress' | 'Failed' | 'Completed' | 'Stopped' | 'Stopping' — The status of the human loop.
    - `CreationTime` string, date-time — When Amazon Augmented AI created the human loop.
    - `FailureReason` string — The reason why the human loop failed. A failure reason is returned when the status of the human loop is <code>Failed</code>.
    - `FlowDefinitionArn` string — The Amazon Resource Name (ARN) of the flow definition used to configure the human loop.
  - `NextToken` string — A token to display the next page of results.

## Other responses

- `480` — ValidationException
- `481` — ResourceNotFoundException
- `482` — ThrottlingException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/sagemaker-a2i-runtime.md) · [All operations](https://skmtc.net/aws/apis/sagemaker-a2i-runtime/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/sagemaker-a2i-runtime/versions/2c5b0408d20c/schema)
