Skip to main content
PUT
/
experiments
/
{id}
/
metrics
Recompute experiment metrics
import requests

url = "https://{FUSION HOST}/api/experiments/{id}/metrics"

headers = {"Authorization": "Basic <encoded-value>"}

response = requests.put(url, headers=headers)

print(response.text)
{
  "jobs": [
    {
      "state": "unknown",
      "jobId": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://doc.lucidworks.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The experiment ID.

Query Parameters

sync
boolean
default:false

Whether to wait for the experiment to finish. If false, metrics are retrieved from the current job status which may be empty if the job has not started yet.

syncWait
integer<int32>
default:300

The maximum time to wait for an experiment to finish in seconds. Only used if sync=true.

Response

200 - */*

OK

jobs
object[]