---
title: "Read"
method: GET
path: "/api/cp/class5/ai-agent-task/{id}"
tags: ["Class 5 AI Agent Task"]
---

# Read

`GET /api/cp/class5/ai-agent-task/{id}`

Retrieve a single Class 5 AI Agent Task record by ID.

## Path parameters

- `id` integer, required

## Response `200`

Successful response

- Class5AiAgentTask
  - `id` string — Id
  - `ai_agent` string — Ai Agent
  - `ai_agent_task_id` string — Ai Agent Task Id
  - `next_ai_agent_task_id` string — Next Ai Agent Task Id
  - `condition` string — Condition

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
