---
title: "Describe agent"
method: GET
path: "/agents/{agentId}"
tags: ["agents"]
---

# Describe agent

`GET /agents/{agentId}`

Retrieves an agent in a workspace.

## Path parameters

- `agentId` string, required

## Query parameters

- `workspaceId` integer

## Response `200`

OK

- DescribeAgentResponse
  - `agent` AgentDbDto
    - `agentInstructions` string
    - `agentInstructionsTemplateId` string, nullable
    - `createdBy` integer
    - `dateCreated` string, date-time
    - `description` string, nullable
    - `id` string
    - `lastUpdated` string, date-time
    - `name` string
    - `status` 'active' | 'inactive' | 'deleted'
    - `updatedBy` integer
    - `workspaceId` integer

## Other responses

- `400` — Bad request
- `403` — Operation not allowed
- `404` — Not found

## Changes

> 14 revisions in range; 1 not diffed, 2 could not be searched.

- **2026-07-24** `13316c9fe5ff` — 2 warning, 2 info
  - removed the optional property `agent/systemPrompt` from the response with the `200` status
  - removed the optional property `agent/templateId` from the response with the `200` status
  - added the optional property `agent/agentInstructions` to the response with the `200` status
  - added the optional property `agent/agentInstructionsTemplateId` to the response with the `200` status
- **2026-07-09** `aa8544683897` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/agents/:agentId/get.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
