The basics of making requests to the Isaacus API
pip and npm, respectively.
https://api.isaacus.com/v1. You do not need to manually set this URL as your base URL when using our SDKs.
ISAACUS_API_KEY environment variable or by directly passing your API key to your client constructor.
Authorization header in the format Bearer STICK_YOUR_API_KEY_HERE.
POST /classifications/universal - Classify the relevance of a legal document to a query with an Isaacus universal legal AI classifier.POST /rerankings - Rerank legal documents by their relevance to a query with an Isaacus legal AI reranker.POST /extractions/qa - Extract answers to questions from legal documents with an Isaacus legal AI answer extractor.POST requests using the create() method and GET requests using the get() method. For example, to call POST /classifications/universal, you would use the method client.classifications.universal.create().
Content-Type header is set to application/json. The response will also be formatted as JSON.