| GET | |
||
| GET | |
||
| POST | |
||
| DELETE | |
curl
curl -H "Authorization: Bearer YOUR_TOKEN" \
"?role=user&has_rag_context=no&since=2026-05-01&limit=50"
curl -X POST -H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content":"Q: How do I enable streaming?\nA: ...","source_url":"https://example.com/faq#streaming","content_type":"faq"}' \
""
curl -X DELETE -H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"session_ids":["sess_abc","sess_def"],"cascade":true}' \
""