v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
AI Model Suggestions

Get the latest generation run

<Note> **Organization Admin** permissions are required to use this endpoint. </Note>

Retrieve the most recent generation run for the shared model (the active run if one is in flight, otherwise the last terminal run), or null if none exists.

get/v1/models/{modelId}/suggestions/runs/latest

Path parameters

modelIdstring uuid required

UUID of the shared model the suggestions belong to

Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

UUID of the shared model the suggestions belong to

Response

The latest generation run, or null

Example response

{
  "run": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "status": "complete",
    "triggerSource": "manual",
    "triggeredBy": {
      "userId": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "name": "Jane Doe"
    },
    "createdAt": "2026-07-15T14:30:00Z",
    "executionStartedAt": "2026-07-15T14:30:05Z",
    "completedAt": "2026-07-15T14:32:30Z"
  }
}