---
title: "Obter execução de agente específica"
method: GET
path: "/api/management/ai/agents/executions/{execution}"
tags: ["ai-agents", "agents", "executions"]
---

# Obter execução de agente específica

`GET /api/management/ai/agents/executions/{execution}`

Retorna o detalhe de uma execução de agente: o prompt enviado, a resposta gerada, o erro quando houve falha e o consumo em créditos. Traz também `steps`, o histórico de idas e voltas ao modelo, com as ferramentas chamadas, os tokens e o custo de cada passo.

## Response `200`

Sucesso

- object
  - `data` object
    - `id` string
    - `agent_id` string
    - `model` string
    - `provider` string
    - `response` string
    - `prompt` string
    - `status` string
    - `latency` integer
    - `bill_computed` boolean
    - `tokens_used` integer
    - `credits_debited` string
    - `credit_transaction_id` string
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `steps` object[]
      - `index` integer
      - `provider` string
      - `model` string
      - `tool_calls` object[]
        - `id` string
        - `name` string
        - `arguments` object
          - `project_id` string
      - `tool_results` object[]
        - `id` string
        - `name` string
        - `arguments` object
          - `project_id` string
        - `result` string
      - `finish_reason` string
      - `prompt_tokens` integer
      - `completion_tokens` integer
      - `cached_tokens` integer
      - `cache_write_tokens` integer
      - `reasoning_tokens` integer
      - `cost` string
      - `created_at` string, date-time
  - `response` boolean

## Other responses

- `404` — Execução não encontrada

## Changes

- **2026-09-22** `b43a04f35145` — 7 warning
  - removed the optional property `data/error` from the response with the `200` status
  - removed the optional property `data/invoice_id` from the response with the `200` status
  - removed the optional property `data/steps/items/text` from the response with the `200` status
  - removed the optional property `data/steps/items/tool_calls/items/reasoning_id` from the response with the `200` status
  - …3 more
- **2026-09-18** `468063611950` — 2 info
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `404`

[Change history](https://skmtc.dev/olie-ai/apis/olie-api/changes/api/management/ai/agents/executions/:execution/get.md)

---

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