Obtaining access
To access the Isaacus API, you must:- have an active, email-verified account on the Isaacus Platform, which you can create here;
- be subscribed to our zero flat fee, usage-based API plan, which you can do here (if you’ve unsubscribed to that plan, you can use that same link to resubscribe);
- not have any overdue invoices, which you can pay here; and
- have an active API key, which you can generate here.
Acesssing the API
The Isaacus API is a RESTful API that can be accessed using any tool or programming language that supports HTTP requests. To make it easier to interface with the Isaacus API than making raw HTTP requests, we also offer and recommend you to use our Python and server-side JavaScript/TypeScript packages, which can be installed withpip
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.
Authentication
If you are using one of our SDKs, you can authenticate with the Isaacus API by either setting theISAACUS_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
.
Endpoints
The Isaacus API currently offers the following endpoints: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()
.
Requests and responses
Our SDKs accept request parameters in the form of function arguments and they return responses in the form of objects, as shown below.Content-Type
header is set to application/json
. The response will also be formatted as JSON.