Server information
List available corpora and general information about the server environment, such as BlackLab version, available corpora and plugins and whether a user is logged-in.
URL
/blacklab-server/
Method : GET
Success Response
HTTP response code: 200 OK
Content examples
A server with one corpus named BaB and no logged-in user might show this result:
(some parts of the response are omitted for brevity)
jsonc
{
"apiVersion": "5.0",
"blacklabBuildTime": 2025-06-16T09:06:31Z",
"blacklabVersion": "4.0.0-SNAPSHOT",
"blacklabScmRevision": "7e15de7",
"corpora": {
"BaB": {
"status": "available",
"documentFormat": "zeebrieven",
"timeModified": "2020-12-08 10:06:26",
"count": {
"tokens": 459354,
"documents": 802
},
}
},
"user": {
"loggedIn": false,
"canCreateIndex": false,
"debugMode": false
},
"plugins": {
"FileConverter": {
},
"DocTaskType": {
},
"HitGroupScorerType": {
"coll-dice": {
"params": []
},
"coll-groupsize": {
"params": []
},
"coll-salience": {
"params": []
}
},
"IndexSourceType": {
},
"ProcessingInstruction": [
// ...
],
"QueryFunction": [
"gap": {
"params": [
{
"name": "first",
"type": "matchInfo",
"required": true
},
{
"name": "second",
"type": "matchInfo",
"required": true
},
{
"name": "directional",
"type": "boolean",
"required": false
}
]
},
// ...
],
"QueryParserProvider": [
"corpusql": {
"params": []
},
"contextql": {
"params": []
},
"json-bql": {
"params": []
}
]
},
"config": {
// ... (sanitized blacklab-server.yaml config)
}
}API version differences
The major differences between API v4 and v5 are:
- API
v4includes bothcorporaandindices. APIv5only hascorpora, which doesn't include custom properties likedisplayNameanddescriptionunless you specifycustom=true. - API
v5has acountobject withtokensanddocuments, while APIv4hastokenCountand no document count. - API
v5includespluginsandconfigobjects, which are not present in APIv4.