---
title: "POST /identities/GetWorkloadIdentity"
method: POST
path: "/identities/GetWorkloadIdentity"
---

# POST /identities/GetWorkloadIdentity

`POST /identities/GetWorkloadIdentity`

Retrieves information about a workload identity.

## Request body

- object
  - `name` string, required — The name of the workload identity to retrieve.

## Response `200`

Success

- GetWorkloadIdentityResponse
  - `name` string, required — The name of the workload identity.
  - `workloadIdentityArn` string, required — The Amazon Resource Name (ARN) of the workload identity.
  - `allowedResourceOauth2ReturnUrls` ResourceOauth2ReturnUrlType[] — The list of allowed OAuth2 return URLs for resources associated with this workload identity.
  - `createdTime` string, date-time, required — The timestamp when the workload identity was created.
  - `lastUpdatedTime` string, date-time, required — The timestamp when the workload identity was last updated.

## Other responses

- `480` — UnauthorizedException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/bedrock-agentcore-control.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agentcore-control/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agentcore-control/revisions/0ebde766792b/schema)
