POST
/
inference
/
v0
/
feedback
/
{org_id}
/
{flow_id}
import requests
import json

url = "/inference/v0/feedback/{org_id}/{flow_id}"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"

}
data = json.dumps({"run_id": run_id, "feedback": feedback})

response = requests.post(url, headers=headers, data=data)

{}
import requests
import json

url = "/inference/v0/feedback/{org_id}/{flow_id}"
headers = {
"Authorization": "Bearer <your-public-key>",
"Content-Type": "application/json"

}
data = json.dumps({"run_id": run_id, "feedback": feedback})

response = requests.post(url, headers=headers, data=data)

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

flow_id
string
required

The flow ID. Learn how to get it.

org_id
string
required

Body

application/json

Input parameters: feedback, inputs, outputs

run_id
string
required
feedback
string
required

Response

200
application/json
Successful Response
{key}
integer