V2: History
GET /v2/history
GET https://api.codefundi.app/v2/history
Summary: Paginated query history with optional ISO 8601 date window.
Query parameters
| Parameter | Type | Description |
|---|---|---|
limit | int | Page size 1–100, default 20. |
offset | int | Offset. |
from | string | Start date-time (inclusive filter). |
to | string | End date-time (inclusive filter). |
Responses: 200 HistoryListResponse; 401.
cURL
history.sh
curl -sS -G "https://api.codefundi.app/v2/history" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "limit=20" \
--data-urlencode "offset=0" \
--data-urlencode "from=2026-01-01T00:00:00Z" \
--data-urlencode "to=2026-01-31T23:59:59Z"GET /v2/history/{history_id}
GET https://api.codefundi.app/v2/history/{history_id}
Summary: Single history row by UUID.
Path parameter
| Parameter | Description |
|---|---|
history_id | UUID of the history row. |
Responses: 200 HistoryItemResponse; 401, 404.
cURL
history-item.sh
curl -sS "https://api.codefundi.app/v2/history/770e8400-e29b-41d4-a716-446655440002" \
-H "X-API-Key: YOUR_API_KEY"GET /v2/history/conversation/{conversation_id}
GET https://api.codefundi.app/v2/history/conversation/{conversation_id}
Summary: Full ordered thread for a conversation UUID.
Path parameter
| Parameter | Description |
|---|---|
conversation_id | Conversation / thread UUID. |
Responses: 200 ConversationResponse; 401, 404.
cURL
conversation.sh
curl -sS "https://api.codefundi.app/v2/history/conversation/880e8400-e29b-41d4-a716-446655440003" \
-H "X-API-Key: YOUR_API_KEY"Last updated on