PermuteDocs
Dashboard

Guide

Find supporting evidence

Retrieve the most relevant evidence and citations for a specific claim or topic. Search reranks results by default.

Workflow

  1. 1Describe the evidence you need
  2. 2Review the highest-ranked results
  3. 3Use returned citations

Complete example

typescript
import { PermuteClient } from '@permute/sdk';

const orgClient = new PermuteClient({
  apiKey: process.env.PERMUTE_API_KEY!,
});
const client = orgClient.withWorkspace(process.env.PERMUTE_WORKSPACE_ID!);

// sourceIds, types, limit, and rerank are optional.
// rerank defaults to true; types filters broad table or text evidence categories.
const evidence = await client.search({
  query: 'Q4 revenue growth drivers',
  limit: 5,
});

console.log(evidence.items);