History
Generated from api/openapi.yaml (OpenAPI 3.1). Base URL: https://api.teemli.com. Auth: Authorization: Bearer <token or tml_ API key>. Errors are application/problem+json; writes accept an Idempotency-Key header.
Chats imported from other assistants (private to the person)
My imported chats (newest first; search with q)
Section titled “My imported chats (newest first; search with q)”GET /v1/orgs/{org}/historyAPI keys: needs the history:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
q |
query | string | Words in the title or any message (prefix match) |
source |
query | chatgpt, claude, grok, other |
|
limit |
query | integer | Page size. |
cursor |
query | string | Opaque cursor from a previous page’s next_cursor. |
Responses
200A page — object401Missing, invalid or expired token — Problem
One imported chat with its messages
Section titled “One imported chat with its messages”GET /v1/orgs/{org}/history/{id}API keys: needs the history:read scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) |
Responses
200The chat — HistoryConversation & object404Not found (also returned for rows the caller may not see, and for disabled features) — Problem
Delete an imported chat
Section titled “Delete an imported chat”DELETE /v1/orgs/{org}/history/{id}API keys: needs the history:write scope.
| Parameter | In | Type | Description |
|---|---|---|---|
org (required) |
path | string (uuid) | The caller’s organisation id. |
id (required) |
path | string (uuid) |
Responses
204Deleted404Not found (also returned for rows the caller may not see, and for disabled features) — Problem