---
title: "Get Agent Insights job"
method: GET
path: "/v1/private/agent-insights/jobs/{projectId}"
tags: ["Agent Insights Jobs"]
---

# Get Agent Insights job

`GET /v1/private/agent-insights/jobs/{projectId}`

Returns the Agent Insights job for the (workspace, project), or 404 if none exists.

## Path parameters

- `projectId` string, uuid, required

## Response `200`

Job

- AgentInsightsJob
  - `id` string, uuid
  - `project_id` string, uuid, required
  - `status` 'enabled' | 'disabled'
  - `last_scan_at` string, date-time
  - `last_failure_reason` string
  - `last_failure_detail` string
  - `last_failed_at` string, date-time
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string

## Other responses

- `404` — Job not found

## Changes

- **2026-07-02** `3144ea40dac0` — 3 info
  - added the optional property `last_failed_at` to the response with the `200` status
  - added the optional property `last_failure_detail` to the response with the `200` status
  - added the optional property `last_failure_reason` to the response with the `200` status
- **2026-06-23** `d4ccb2feb097` — 1 info
  - added the optional property `last_scan_at` to the response with the `200` status
- **2026-06-19** `78b5cd88d461` — 1 info
  - endpoint added
- **2026-05-04** `d606e84c75e4` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/comet-ml/apis/opik-rest-api/changes/v1/private/agent-insights/jobs/:projectId/get.md)

---

[API](https://skmtc.dev/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.dev/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/comet-ml/apis/opik-rest-api/revisions/7e9b9ca95d8f?raw)
