Retrieve a paginated list of your glossary terms.
const result = await client.glossary.list({ page: 1, limit: 25 });
for (const term of result.data) {
console.log(`${term.term} (${term.type})`);
}
{
"data": [
{
"id": "term_abc123",
"term": "Lasso AI",
"type": "do_not_translate",
"case_sensitive": true,
"category": "brand",
"translations": {},
"created_at": "2025-03-01T10:00:00.000Z"
}
],
"pagination": { "page": 1, "limit": 25, "total": 12 }
}
Show Glossary term object
do_not_translate, specific_translation, or context_dependent.const result = await client.glossary.list({ page: 1, limit: 25 });
for (const term of result.data) {
console.log(`${term.term} (${term.type})`);
}
{
"data": [
{
"id": "term_abc123",
"term": "Lasso AI",
"type": "do_not_translate",
"case_sensitive": true,
"category": "brand",
"translations": {},
"created_at": "2025-03-01T10:00:00.000Z"
}
],
"pagination": { "page": 1, "limit": 25, "total": 12 }
}
const result = await client.glossary.list({ page: 1, limit: 25 });
for (const term of result.data) {
console.log(`${term.term} (${term.type})`);
}
{
"data": [
{
"id": "term_abc123",
"term": "Lasso AI",
"type": "do_not_translate",
"case_sensitive": true,
"category": "brand",
"translations": {},
"created_at": "2025-03-01T10:00:00.000Z"
}
],
"pagination": { "page": 1, "limit": 25, "total": 12 }
}