Dynamiq
Apps

Get an app trace

Returns a single execution trace of an app.

GET
/v1/apps/{app_id}/traces/{trace_id}

Authorization

AuthorizationBearer <token>

Organization or project Access Key created in the Dynamiq console. Used for deployed-app (Runs API), AI Gateway, traces collector, and management API requests. Send as Authorization: Bearer <access-key>.

In: header

Path Parameters

app_id*string

App UUID.

trace_id*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/traces/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "data": {
    "id": "6e7f8091-a2b3-4c5d-8e6f-708192a3b4c5",
    "source_id": "4f6e1c2a-7b8d-4e9f-a1b2-c3d4e5f60718",
    "started_at": "2026-06-10T09:15:21Z",
    "ended_at": "2026-06-10T09:15:34Z",
    "status": "succeeded",
    "input": {
      "ticket_subject": "Charged twice for June invoice"
    },
    "output": {
      "category": "billing"
    },
    "usage": {
      "prompt_tokens": 1843,
      "completion_tokens": 212
    }
  }
}
{
  "error": {
    "code": "unauthorized",
    "message": "Unauthorized"
  }
}
{
  "error": {
    "code": "not_found",
    "message": "Not Found"
  }
}