The team's types and the team-types-only switch
GET
/v1/workspaces/{workspaceId}/knowledge/schema
const url = 'https://shareout.site/v1/workspaces/example/knowledge/schema';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://shareout.site/v1/workspaces/example/knowledge/schema \ --header 'Authorization: Bearer <token>'Every member. Owners and admins also get the types in use with counts (team: false for learned ones) and the connection types in use; members get only the team’s own types.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”workspaceId
required
string
Workspace ID or slug.
Responses
Section titled “Responses”{ types: [{ type, description, ignored, team, count? }], teamOnly, relationTypes }
