POST
/scout/run
const url = 'http://localhost:8000/scout/run';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
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://localhost:8000/scout/run \ --header 'Content-Type: application/json' \ --data '{}'One run, answered when it finishes: 200 also when search was unavailable (done.search), 502 only when a
model call failed.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Body
object
Example generated
{}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Scout Run Scout Run Post
object
Example generated
{}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example" } ]}