v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
AI Model Suggestions

Generate model suggestions

<Note> This endpoint requires **Organization Admin** permissions. </Note>

Trigger an AI suggestion generation run for the shared model and enqueue the async job. Poll the Get status for a generation run endpoint for status.

A model can have one active run at a time and a cooldown period is enforced after a successful run. See the Retry-After header in the response for more information.

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

Path parameters

modelIdstring uuid required

UUID of the shared model the suggestions belong to

Response

Generation run enqueued

runIdstring uuid required

The ID of the created generation run. Poll the Get status for a generation run endpoint for status.

status'queued' required

The status of the run. Generation runs asynchronously.