Review Run
POST
/runs/{run_id}/review
const url = 'http://127.0.0.1:8000/runs/example/review';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"action":"approve","edited_delta":{"base_thesis_version":1,"claim_deltas":[{"claim_id":"example","evidence_ids":["example"],"explanation":"example","matched_falsifier":"example","status":"supported"}]}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://127.0.0.1:8000/runs/example/review \ --header 'Content-Type: application/json' \ --data '{ "action": "approve", "edited_delta": { "base_thesis_version": 1, "claim_deltas": [ { "claim_id": "example", "evidence_ids": [ "example" ], "explanation": "example", "matched_falsifier": "example", "status": "supported" } ] } }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”run_id
required
Run Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ReviewDecision
object
action
required
Action
string
edited_delta
Any of:
ThesisDelta
null
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Review Run Runs Run Id Review Post
object
key
additional properties
any
Examplegenerated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}