Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview

Get issue

Get an issue, citations, and event history by ID.

GET/v1/projects/{projectId}/issues/{issueId}
Authorization
AuthorizationPersonal API key · headerrequired

Your personal API key from Settings > Personal API Keys, sent as Bearer <key>.

X-Organization-IdOrganization ID · headerrequired

The organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.

Path parameters
projectIdstringrequired
issueIdstring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Responses
200

Response for status 200

issueobjectrequired
Show properties
idstringrequired
organization_idstringrequired
project_idstringrequired
issue_keystringrequired
titlestringrequired
diagnosisstringrequired
impact_summarystring | nullrequired
prioritystringrequired
Allowed:lowmediumhighcritical
user_statusstringrequired
Allowed:needs_reviewignoredresolvedmergedmonitored
production_activitystringrequired
Allowed:newongoingincreasingrecurring
first_seen_atstring | nullrequired
last_seen_atstring | nullrequired
evidence_countnumberrequired

Distinct stored traces the Issue cites. Citations that point to the same trace count once.

agent_reasoningstring | nullrequired
monitoring_judge_idstring | nullrequired
monitoring_behavior_idstring | nullrequired
created_atstringrequired
updated_atstringrequired
cited_itemsobject[]required
Show properties
Array of object
typestringrequired
cited_items_totalintegerrequired

Saved citations, counting each one even when several point to the same trace; cited_items holds the first 100

min -9007199254740991 · max 9007199254740991
events_totalintegerrequired

Recorded events; events holds the newest 50

min -9007199254740991 · max 9007199254740991
eventsobject[]required
Show properties
Array of object
idstringrequired
issue_idstringrequired
actor_user_idstring | nullrequired
agent_chat_idstring | nullrequired
event_typestringrequired
Allowed:createdupdatedresolvedignoredreopenedmergedrecurringcommentcoding_handoffproperty_changedmonitored
messagestring | nullrequired
metadataobjectrequired
created_atstringrequired
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.judgmentlabs.ai/v1/projects/YOUR_PROJECT_ID/issues/YOUR_ISSUE_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'X-Organization-Id: YOUR_ORGANIZATION_ID' \
  -H 'Accept: application/json'
Response
{
  "issue": {
    "id": "string",
    "organization_id": "string",
    "project_id": "string",
    "issue_key": "string",
    "title": "string",
    "diagnosis": "string",
    "impact_summary": "string",
    "priority": "low",
    "user_status": "needs_review",
    "production_activity": "new",
    "first_seen_at": "string",
    "last_seen_at": "string",
    "evidence_count": 0,
    "agent_reasoning": "string",
    "monitoring_judge_id": "string",
    "monitoring_behavior_id": "string",
    "created_at": "string",
    "updated_at": "string",
    "cited_items": [
      {
        "type": "string",
        "property1": null,
        "property2": null
      }
    ],
    "cited_items_total": -9007199254740991,
    "events_total": -9007199254740991,
    "events": [
      {
        "id": "string",
        "issue_id": "string",
        "actor_user_id": "string",
        "agent_chat_id": "string",
        "event_type": "created",
        "message": "string",
        "metadata": {
          "property1": null,
          "property2": null
        },
        "created_at": "string"
      }
    ]
  }
}

Was this page helpful?