✨ Run prompt inference
✨ Run prompt inference
<Card href="https://humansignal.com/goenterprise">
<img style="pointer-events: none; margin-left: 0px; margin-right: 0px;" src="https://docs.humansignal.com/images/badge.svg" alt="Label Studio Enterprise badge"/>
<p style="margin-top: 10px; font-size: 14px;">
This endpoint is not available in Label Studio Community Edition. [Learn more about Label Studio Enterprise](https://humansignal.com/goenterprise)
</p>
</Card>
Run a prompt inference.
Authentication
AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>
Path parameters
prompt_id
version_id
Request
This endpoint expects an object.
project
filters_json
DM filter group for Filtered subset. Stored for display/re-run purposes.
job_id
Job ID for inference job for a ModelRun e.g. Adala job ID
only_missing_predictions
When true, only tasks without successful predictions for this prompt version are submitted for inference.
organization
predictions_updated_at
project_subset
All- AllHasGT- HasGTSample- SampleCustom- Custom
Allowed values:
sample_subset_size
Custom sample size for Sample subset. Uses PROMPTER_SAMPLE_SUBSET_SIZE if not set.
total_correct_predictions
total_predictions
total_tasks
Response
completed_at
created_at
created_by
A ModelSerializer that takes additional arguments for
"fields", "omit" and "expand" in order to
control which fields are displayed, and whether to replace simple
values with complex, nested serializations
id
parent_model
project
source_model_run
status
Pending- PendingInProgress- InProgressCompleted- CompletedFailed- FailedCanceled- Canceled
Allowed values:
task_ids
List of task IDs for Custom subset re-evaluation.
triggered_at
filters_json
DM filter group for Filtered subset. Stored for display/re-run purposes.
job_id
Job ID for inference job for a ModelRun e.g. Adala job ID
organization
predictions_updated_at
project_subset
All- AllHasGT- HasGTSample- SampleCustom- Custom
Allowed values:
sample_subset_size
Custom sample size for Sample subset. Uses PROMPTER_SAMPLE_SUBSET_SIZE if not set.
total_correct_predictions
total_predictions
total_tasks