Run source collect (by creating a source collect job.)
POST
/sources/{source_id}/collect
curl \
--request POST 'http://api.example.com/sources/{source_id}/collect' \
--header "Content-Type: application/json"
Request examples
{}
Response examples (200)
{
"id": 42,
"source": 42,
"created_at": "2025-05-04T09:42:00Z",
"started_at": "2025-05-04T09:42:00Z",
"closed_at": "2025-05-04T09:42:00Z",
"status": "pending",
"state": {},
"config": {}
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}