---
title: "Get agent runs"
method: GET
path: "/v1/agents/{agent_id}/runs"
tags: ["Agent Chat & Monitoring"]
---

# Get agent runs

`GET /v1/agents/{agent_id}/runs`

## Request

- Base URL: `https://api.gigabrain.gg`
- URL: `https://api.gigabrain.gg/v1/agents/{agent_id}/runs`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/gigabraingg/apis/gigabrain-api/docs/v1/agents/:agent_id/runs/get.ts> (a function with typed inputs; its response is checked against the schema)

Get execution history for a specific agent, including trigger type, status, output, and credits charged.

## Path parameters

- `agent_id` string, uuid, required

## Query parameters

- `limit` integer

## Response `200`

Run history

- AgentRunResponse[]
  - `id` string
  - `agent_id` string
  - `trigger_type` 'scheduled' | 'alpha' | 'manual', nullable
  - `status` string
  - `title` string, nullable
  - `summary` string, nullable
  - `reasoning` string, nullable
  - `action_taken` boolean, nullable: Whether the agent executed a trade during this run
  - `error` string, nullable
  - `started_at` string, nullable
  - `finished_at` string, nullable

## Other responses

- `401`: Invalid or revoked API key
- `404`: Resource not found

---

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