Needle integration
Needle provides retrieval-augmented generation (RAG) tools that enable semantic…
- Provider
- needle
- Category
- Other
- Setup
- User-supplied API key
- Actions
- 16 available
Quick start
Call Needle from your generated app's worker code via the OverSkill composio client. The toolkit slug below maps to Needle's public Composio identifier — your app references it by name and OverSkill handles the OAuth round-trip.
// In your generated app's worker handler:
const composio = composioClient(env);
const result = await composio.execute(
"NEEDLE_ACTION_NAME",
{ /* action parameters — see Actions section below */ }
);
return new Response(JSON.stringify(result), {
headers: { "Content-Type": "application/json" }
});
Replace ACTION_NAME with one of the slugs listed in
the Actions section below. The composio client handles auth +
rate limits automatically — no API key is exposed to user code.
Setup
End-users supply their own Needle API key. OverSkill provides a pre-built connection form via the integration card — your app can call the composio client immediately once the user has connected.
Available actions
16 actions exposed via the
Needle integration. Each maps to a callable
slug — pass it to composio.execute(...) in your
worker code.
-
NEEDLE_ADD_FILES_TO_COLLECTION -
NEEDLE_ADD_FILES_TO_LOCAL_CONNECTOR -
NEEDLE_CREATE_COLLECTION -
NEEDLE_CREATE_LOCAL_CONNECTOR -
NEEDLE_DELETE_FILES_FROM_COLLECTION -
NEEDLE_DELETE_FILES_FROM_LOCAL_CONNECTOR -
NEEDLE_GET_COLLECTION -
NEEDLE_GET_COLLECTION_STATS -
NEEDLE_GET_FILE_DOWNLOAD_URL -
NEEDLE_GET_FILE_UPLOAD_URL -
NEEDLE_GET_LOCAL_CONNECTOR -
NEEDLE_LIST_COLLECTION_FILES
Show all 16 actions
-
NEEDLE_LIST_COLLECTIONS -
NEEDLE_LIST_CONNECTORS -
NEEDLE_LIST_LOCAL_CONNECTORS -
NEEDLE_SEARCH_COLLECTION
Build with Needle
Open OverSkill, describe what you want to build, and reference Needle in your prompt — the AI will wire up the integration automatically.