---
title: "GET /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/"
method: GET
path: "/agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/"
---

# GET /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/

`GET /agents/{agentId}/agentversions/{agentVersion}/actiongroups/{actionGroupId}/`

Gets information about an action group for an agent.

## Path parameters

- `agentId` string, required
- `agentVersion` string, required
- `actionGroupId` string, required

## Response `200`

Success

- GetAgentActionGroupResponse
  - `agentActionGroup` object, required — Contains details about the action group.
    - `agentId` string, required — The unique identifier of the agent to which the action group belongs.
    - `agentVersion` string, required — The version of the agent to which the action group belongs.
    - `actionGroupId` string, required — The unique identifier of the action group.
    - `actionGroupName` string, required — The name of the action group.
    - `clientToken` string — A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.
    - `description` string — The description of the action group.
    - `createdAt` string, date-time, required — The time at which the action group was created.
    - `updatedAt` string, date-time, required — The time at which the action group was last updated.
    - `parentActionSignature` 'AMAZON.UserInput' | 'AMAZON.CodeInterpreter' | 'ANTHROPIC.Computer' | 'ANTHROPIC.Bash' | 'ANTHROPIC.TextEditor' — <p>If this field is set as <code>AMAZON.UserInput</code>, the agent can request the user for additional information when trying to complete a task. The <code>description</code>, <code>apiSchema</code>, and <code>actionGroupExecutor</code> fields must be blank for this action group.</p> <p>During orchestration, if the agent determines that it needs to invoke an API in an action group, but doesn't have enough information to complete the API request, it will invoke this action group instead and return an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html">Observation</a> reprompting the user for more information.</p>
    - `parentActionGroupSignatureParams` object — <p>The configuration settings for a computer use action.</p> <important> <p> Computer use is a new Anthropic Claude model capability (in beta) available with Claude 3.7 Sonnet and Claude 3.5 Sonnet v2 only. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html">Configure an Amazon Bedrock Agent to complete tasks with computer use tools</a>. </p> </important>
    - `actionGroupExecutor` object — The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action or the custom control method for handling the information elicited from the user.
      - `lambda` string — The Amazon Resource Name (ARN) of the Lambda function containing the business logic that is carried out upon invoking the action.
      - `customControl` 'RETURN_CONTROL' — To return the action group invocation results directly in the <code>InvokeAgent</code> response, specify <code>RETURN_CONTROL</code>.
    - `apiSchema` object — Contains either details about the S3 object containing the OpenAPI schema for the action group or the JSON or YAML-formatted payload defining the schema. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html">Action group OpenAPI schemas</a>.
      - `s3` object — Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html">Action group OpenAPI schemas</a>.
        - `s3BucketName` string — The name of the S3 bucket.
        - `s3ObjectKey` string — The S3 object key for the S3 resource.
      - `payload` string, password — The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/agents-api-schema.html">Action group OpenAPI schemas</a>.
    - `functionSchema` object — Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
      - `functions` Function[] — A list of functions that each define an action in the action group.
        - `name` string, required — A name for the function.
        - `description` string — A description of the function and its purpose.
        - `parameters` object — The parameters that the agent elicits from the user to fulfill the function.
        - `requireConfirmation` 'ENABLED' | 'DISABLED' — Contains information if user confirmation is required to invoke the function.
    - `actionGroupState` 'ENABLED' | 'DISABLED', required — Specifies whether the action group is available for the agent to invoke or not when sending an <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_InvokeAgent.html">InvokeAgent</a> request.

## Other responses

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

---

[API](https://skmtc.net/aws/apis/bedrock-agent.md) · [All operations](https://skmtc.net/aws/apis/bedrock-agent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/bedrock-agent/versions/a3b2356f17da/schema)
