---
title: "Get agent"
method: GET
path: "/api/agents/{agent_id}"
tags: ["Agents"]
---

# Get agent

`GET /api/agents/{agent_id}`

Retrieve details for an agent available to the authenticated user.

## Path parameters

- `agent_id` string, required

## Response `200`

Successful response.

- PlatformAgentGetResponse
  - `agent` PlatformAgent, required
    - `agent_id` string, required — ID of the agent.
    - `name` string, required — Name of the agent.
    - `description` string — Description of the agent.
    - `metadata` object — Agent metadata.
    - `capabilities` PlatformAgentCapabilities, required
      - `ap.io.messages` boolean — Whether the agent supports messages as input.
      - `ap.io.streaming` boolean — Whether the agent supports streaming output.
  - `request_id` string, required — Platform-generated request ID for support correlation.

## Other responses

- `400` — Invalid request (malformed JSON, invalid parameter values, unknown fields).
- `401` — Missing or invalid authentication token.
- `403` — Token valid but lacks permission for the requested operation.
- `404` — Resource not found.
- `408` — Backend did not respond within the timeout window.
- `429` — Rate limit exceeded. Includes Retry-After header.
- `500` — Unexpected server-side failure.
- `503` — Backend temporarily unavailable.

## Changes

> 68 revisions in range; 12 could not be searched.

- **2026-07-02** `8d67513963e9` — 16 warning
  - added the new `request_too_large` enum value to the `code` response property for the response status `400`
  - added the new `request_too_large` enum value to the `code` response property for the response status `401`
  - added the new `request_too_large` enum value to the `code` response property for the response status `403`
  - added the new `request_too_large` enum value to the `code` response property for the response status `404`
  - …12 more
- **2026-07-01** `affb3c2f206c` — 8 info
  - added the optional property `errors` to the response with the `400` status
  - added the optional property `errors` to the response with the `401` status
  - added the optional property `errors` to the response with the `403` status
  - added the optional property `errors` to the response with the `404` status
  - …4 more

[Change history](https://skmtc.dev/gleanwork/apis/glean-platform-api/changes/api/agents/:agent_id/get.md)

---

[API](https://skmtc.dev/gleanwork/apis/glean-platform-api.md) · [All operations](https://skmtc.dev/gleanwork/apis/glean-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gleanwork/glean-platform-api/revisions/46c121f70527/schema)
