REST API
Comparison
summary (L1) | standard (L2) | full (L3) | |
|---|---|---|---|
| Tokens | ~100 | ~500 | ~2,000 |
title | Yes | Yes | Yes |
body (summary) | Yes | — | — |
body (full) | — | Yes | Yes |
tags | No | Yes | Yes |
scope | No | Yes | Yes |
url | No | Yes | Yes |
comments | No | No | Yes |
thought_chain | No | No | Yes |
branches | No | No | Yes |
Usage
Pass detail as a query parameter:
# Get by ID
curl "https://workthin.app/api/v1/knowledge/550e8400-e29b-41d4-a716-446655440000?detail=summary" \
-H "Authorization: Bearer wt_a1b2c3d4e5f6g7h8i9j0"
# Search
curl "https://workthin.app/api/v1/search?q=redis+timeout&detail=summary" \
-H "Authorization: Bearer wt_a1b2c3d4e5f6g7h8i9j0"When to Use Each Level
| Level | Best For |
|---|---|
summary | Chatbot integrations, quick lookups, token-sensitive contexts |
standard | Interactive CLI and dashboard workflows |
full | Incident postmortems, deep analysis, audit trails |