Orq MCP is live: Use natural language to interrogate traces, spot regressions, and experiment your way to optimal AI configurations. Available in Claude Desktop, Claude Code, Cursor, and more. Start now →
cURL
curl --request DELETE \ --url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "chunk_ids": [ "<string>" ] } '
{ "deleted_count": 123, "failed_ids": [ "<string>" ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the knowledge base
The unique identifier of the datasource.
Array of chunk IDs to delete
1 - 100
Chunks deletion result
Number of chunks successfully deleted
Array of chunk IDs that failed to delete
Was this page helpful?