v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
AI Model Suggestions

Generate model suggestions

Triggers an AI suggestion generation run for the shared model and enqueues the async job. Poll GET /suggestions/runs/{runId} for status. Requires organization admin permissions. At most one active run per model; a cooldown applies after a completed run.

post/api/v1/models/{modelId}/suggestions/generate

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

Generation run enqueued

runIdstring uuid required

The id of the created generation run. Poll GET /suggestions/runs/{runId} for status.

status'queued' required

The generation run was enqueued. Generation runs asynchronously.