Prompts

✨ Get inference run info

Changed on
<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> Get information (status, metadata, etc) about an existing inference run
get/api/prompts/{prompt_id}/versions/{version_id}/inference-runs

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/prompts/{prompt_id}/versions/{version_id}/inference-runs
  • Auth
    API key in header Authorization

Path parameters

prompt_idinteger required
version_idinteger required

Query parameters

orderingstring

Which field to use when ordering the results.

parent_modelinteger

The ID of the parent model for this Inference Run

projectinteger

The ID of the project this Inference Run makes predictions on

project_subset'All' | 'HasGT' | 'Sample'

Defines which tasks are operated on (e.g. HasGT will only operate on tasks with a ground truth annotation, but All will operate on all records)

Response

completed_atstring date-time nullable required
created_atstring date-time required
filters_jsonunknown
idinteger required
job_idstring nullable

Job ID for inference job for a ModelRun e.g. Adala job ID

model_versioninteger required
organizationinteger nullable
parent_modelinteger required
predictions_updated_atstring date-time nullable
projectinteger required
project_subset'All' | 'HasGT' | 'Sample' | 'Custom'
  • All - All
  • HasGT - HasGT
  • Sample - Sample
  • Custom - Custom
sample_subset_sizeinteger nullable

Custom sample size for Sample subset. Uses PROMPTER_SAMPLE_SUBSET_SIZE if not set.

source_model_runinteger nullable required
status'Pending' | 'InProgress' | 'Completed' | 'Failed' | 'Canceled' required
  • Pending - Pending
  • InProgress - InProgress
  • Completed - Completed
  • Failed - Failed
  • Canceled - Canceled
task_idsunknown required
total_correct_predictionsinteger nullable
total_predictionsinteger nullable
total_tasksinteger nullable
triggered_atstring date-time nullable required

Changes

    • info

      added the required property / to the response with the status

    • breaking

      the response property ////// became nullable for the status