ApiWikis
List Wiki Sources
List source artifacts joined with this knowledge base's processed state.
List source artifacts joined with this knowledge base's processed state.
Each entry reports the artifact's metadata plus whether this knowledge base
has already ingested it (processed_at / processed_by_run_id).
pending_only=true filters out the ones this knowledge base has already
integrated.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Path Parameters
wiki_id*Wiki Id
Format
uuidQuery Parameters
pending_only?Pending Only
When true, only returns sources this knowledge base has not yet ingested.
Default
falseHeader Parameters
X-API-Key?string|null
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/wikis/497f6eca-6276-4993-bfeb-53cbbbba6f08/sources"[
{
"id": "string",
"connector": "user",
"source_id": "string",
"run": "string",
"filename": "string",
"byte_size": 0,
"added_at": "2019-08-24T14:15:22Z",
"processed_at": "2019-08-24T14:15:22Z",
"processed_by_run_id": "f43ac570-6d32-4123-8f24-8d9d5a5cde7a"
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}