Events
Datapoints
Datasets
Projects
Experiments
Create a new evaluation run
Create a new evaluation run
POST
/
runs
import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.runs.create_run(request=components.CreateRunRequest(
project='<value>',
name='<value>',
event_ids=[
'1b590040-fd4d-40db-a8d8-d6e550cfa9f3',
],
))
if res.create_run_response is not None:
# handle response
pass
{
"evaluation": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"event_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"dataset_id": "<string>",
"datapoint_ids": [
"<string>"
],
"results": {},
"configuration": {},
"metadata": {},
"status": "pending",
"name": "<string>"
},
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Was this page helpful?
import honeyhive
from honeyhive.models import components
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.runs.create_run(request=components.CreateRunRequest(
project='<value>',
name='<value>',
event_ids=[
'1b590040-fd4d-40db-a8d8-d6e550cfa9f3',
],
))
if res.create_run_response is not None:
# handle response
pass
{
"evaluation": {
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"event_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"dataset_id": "<string>",
"datapoint_ids": [
"<string>"
],
"results": {},
"configuration": {},
"metadata": {},
"status": "pending",
"name": "<string>"
},
"run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}