Read one compiled version - the exact text the model sees
GET
/v1/knowledge-packs/{pack_id}/versions/{version}
const url = 'https://api.vocapable.com/v1/knowledge-packs/example/versions/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/knowledge-packs/example/versions/1 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pack_id
required
Pack Id
string
version
required
Version
integer
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
KnowledgePackVersionResource
A compiled version. Immutable once ready - an edit is the next version.
object
id
required
Id
string
knowledge_pack_id
required
Knowledge Pack Id
string
version
required
Version
integer
content_hash
required
Content Hash
string
status
required
Status
string
sources
required
Sources
Array<object>
PackSourceOne distilled section of a pack, plus where it came from.
text is the artifact, not a summary of one: knowledge_pack_versions carries
sources and no separate body column, so these sections are the compiled pack.
Phrase them spoken-answer-ready - short declaratives an agent can say verbatim.
created_at
required
Created At
string format: date-time
updated_at
required
Updated At
string format: date-time
over_default_budget
required
Over Default Budget
Compiled above the 8k default budget but inside the 16k hard cap.
Permitted, and worth telling the tenant: a cap-size pack roughly doubles cold prefill and halves the number of warm pack prefixes a node holds.
boolean
Example
{ "status": "compiling", "sources": [ { "kind": "pdf" } ]}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}