Start Run
POST
/runs
const url = 'http://127.0.0.1:8000/runs';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"disclosure_id":"example","run_id":"example","thesis_id":"example"}'};
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 \ --header 'Content-Type: application/json' \ --data '{ "disclosure_id": "example", "run_id": "example", "thesis_id": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
StartRun
object
disclosure_id
required
Disclosure Id
string
run_id
required
Run Id
string
thesis_id
required
Thesis Id
string
Examplegenerated
{ "disclosure_id": "example", "run_id": "example", "thesis_id": "example"}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Start Run Runs 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" } ]}