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

# Get agent

`GET /v1/agents/{id}`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/agents/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Get the full configuration and current state of an agent you own: goal, instructions, soul, enabled flag, trading_enabled flag, last_run_at, and memory size. 404 if the agent doesn't exist or isn't owned by the calling key.

## Path parameters

- `id` string, required

## Response `200`

Agent details

- Agent
  - `id` string, required
  - `name` string, required
  - `description` string
  - `enabled` boolean, required
  - `schedule` string: Cron expression governing scheduled execution (omitted = manual-only)
  - `model` string: LLM model id this agent uses (e.g. 'sonnet-4', 'opus-4')
  - `owner_id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `last_run_at` string, date-time, nullable
  - `tools` string[]: Mastra tool ids the agent may call

## Other responses

- `404`: Not found

---

[API](https://skmtc.dev/marketintell/apis/marketintell-api.md) · [All operations](https://skmtc.dev/marketintell/apis/marketintell-api/llms.txt) · [OpenAPI document](https://skmtc.dev/marketintell/apis/marketintell-api/revisions/f3ef87afc41f?raw)
