---
title: "Get agent"
method: GET
path: "/api/v1/agent/{agentId}"
tags: ["agent"]
---

# Get agent

`GET /api/v1/agent/{agentId}`

Gets a single agent by it's agent ID

## Path parameters

- `agentId` string, required

## Headers

- `authorization` string — This is your JWT tolen
- `x-api-key` string — A valid API key

## Response `200`

200

- object
  - `success` boolean, required
  - `agent` object, required
    - `id` string, required
    - `title` string, required
    - `handle` string, nullable, required
    - `image` string, nullable, required
    - `userId` string, nullable, required
    - `description` string, nullable, required
    - `useCase` string, nullable, required
    - `uiSchema` unknown, required
    - `inputSchema` unknown, required
    - `details` unknown, required
    - `visibility` string, required
    - `ratings` number[], nullable, required
    - `averageRating` string, nullable, required
    - `revenue` number, nullable, required
    - `pendingPayout` number, nullable, required
    - `totalPayout` number, nullable, required
    - `taskRequests` number, nullable, required
    - `tasksStarted` number, nullable, required
    - `tasksCompleted` number, nullable, required
    - `price` number, nullable, required
    - `webhookEnabled` boolean, nullable, required
    - `webhookDetails` unknown, required
    - `createdAt` string, required
    - `updatedAt` string, required

## Changes

- **2024-08-20** `74bdfb8101cc` — 9 breaking, 12 info
  - removed the required property `agent/data` from the response with the `200` status
  - removed the required property `agent/lifetimeEarnings` from the response with the `200` status
  - removed the required property `agent/owner` from the response with the `200` status
  - removed the required property `agent/preview` from the response with the `200` status
  - …17 more
- **2024-08-05** `4042c6552ea9` — 1 breaking
  - removed the required property `agent/apiKey` from the response with the `200` status
- **2024-08-03** `3b82b46ab1d2` — 1 breaking, 23 info
  - the `agent` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed `subschema #1, subschema #2` from the `agent` response property `allOf` list for the response status `200`
  - added the required property `agent/apiKey` to the response with the `200` status
  - added the required property `agent/averageRating` to the response with the `200` status
  - …20 more

[Change history](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation/changes/api/v1/agent/:agentId/get.md)

---

[API](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation.md) · [All operations](https://skmtc.dev/artilla-ai/apis/artilla-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/artilla-ai/artilla-api-documentation/revisions/db7d7d4115f0/schema)
