---
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

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/revisions/4ed2fbc97cc3/schema)
