Get a knowledge library
curl --request GET \
--url https://api.seynlabs.com/v1/libraries/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 2,
"createdAt": "2023-11-07T05:31:56Z",
"pipelineRunId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "<string>"
},
"meta": {
"requestId": "<string>"
}
}Libraries
Get a knowledge library
Detail for a single knowledge library version.
GET
/
v1
/
libraries
/
{id}
Get a knowledge library
curl --request GET \
--url https://api.seynlabs.com/v1/libraries/{id} \
--header 'Authorization: Bearer <token>'{
"success": true,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version": 2,
"createdAt": "2023-11-07T05:31:56Z",
"pipelineRunId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organizationId": "<string>"
},
"meta": {
"requestId": "<string>"
}
}Returns one library’s version, status, and the pipeline run that produced it. To read the rules inside it, use List rules in a library.
Authorizations
Bearer token from app.seynlabs.com → Settings → API Keys.
Send as Authorization: Bearer sk_live_....
Path Parameters
⌘I