---
title: "Get BigCommerce agent"
method: GET
path: "/bigcommerce/channels/{channelId}/agents/{agentId}"
tags: ["Agent", "BigCommerce"]
---

# Get BigCommerce agent

`GET /bigcommerce/channels/{channelId}/agents/{agentId}`

## Request

- Base URL: `https://api.takeshape.io`
- URL: `https://api.takeshape.io/bigcommerce/channels/{channelId}/agents/{agentId}`
- Auth: HTTP bearer

Fetches a specific BigCommerce agent for the store and channel.

## Path parameters

- `channelId` number, required
- `agentId` string, required

## Response `200`

Agent with configuration status

- Agent
  - `id` string, required: The encoded ID of the agent
  - `name` string, required: The name of the agent
  - `title` string, required: The title of the agent
  - `description` string, required: The description of the agent
  - `status` 'active' | 'disabled', required: The status of the agent
  - `systemPrompt` string: Custom system prompt for the agent
  - `systemPromptDefault` string, required: Default system prompt for the agent
  - `inputName` string, required: The name of the BigCommerce API input associated with the agent
  - `targetSelector` string: CSS selector for where the agent should be active
  - `targetSelectorDefault` string, required: Default CSS selector for where the agent should be active

## Other responses

- `400`: Bad Request - invalid or missing parameters
- `401`: Unauthorized - invalid or missing store token

---

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