GET
/v1/facts/{factId}betaapiKeyorganization
When to use
Read the exact rule referenced by a fact citation.
For agents
Use the returned fact ID; the API checks organization ownership and fact read permission.
Example
import { PermuteClient } from '@permute/sdk';
const orgClient = new PermuteClient({
apiKey: process.env.PERMUTE_API_KEY!,
});
const result = await orgClient.facts.get('fact_revenue123');Response
{
"data": {
"id": "fact_revenue123",
"organizationId": "org_acme123",
"ownerId": "user_admin123",
"key": "net_revenue",
"name": "Net revenue",
"type": "formula",
"definition": "Revenue after returns",
"formula": "revenue - returns",
"formulaType": "math",
"aliases": null,
"usualValue": null,
"usualValueMin": null,
"usualValueMax": null,
"unit": null,
"startDate": null,
"endDate": null,
"scope": null,
"metadata": null,
"createdAt": "2026-09-10T12:00:00.000Z",
"updatedAt": "2026-09-10T12:00:00.000Z"
}
}