Skip to content

Scout Stream

GET
/scout/stream
curl --request GET \
--url 'http://localhost:8000/scout/stream?q='

Server-Sent Events. Always HTTP 200: problems arrive as an error event (EventSource cannot read status codes).

q
Q
string
""

Successful Response

Media typeapplication/json

Example generated

example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}