---
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

---

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