Read Company Knowledge
GET
/v1/mobile/company-knowledge/{pack_id}
const url = 'https://api.vocapable.com/v1/mobile/company-knowledge/example';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/mobile/company-knowledge/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”pack_id
required
Pack Id
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MobileCompanyKnowledge
object
id
required
Id
string
name
required
Name
string
version
required
Version
integer
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.
Example
{ "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": {} } ]}