Welcome to the Search Tweak API documentation. This guide will help you understand and utilize the various API endpoints available to interact with the Search Tweak platform.
To access the Search Tweak API, you need an API Token. This token can be generated from the Current Team
page on the Search Tweak website.
Navigate to the Current Team page.
Click the API
button.
In the dialog that opens, you can:
Note: The API token is visible and can be copied only immediately after it is generated. If you lose the token, you must generate a new one.
To authenticate your requests, you need to include the API token in the Authorization
header of your request. The token should be prefixed with Bearer
.
Authorization: Bearer YOUR_API_TOKEN
The base URL for accessing the API is:
https://searchtweak.com/api/v1
Models GET /models
Model Details GET /models/{id}
Evaluations GET /evaluations
Evaluation Details GET /evaluations/{id}
Judgements GET /evaluations/{id}/judgements
Create Evaluation POST /evaluations
Start Evaluation POST /evaluations/{id}/start
Stop Evaluation POST /evaluations/{id}/stop
Finish Evaluation POST /evaluations/{id}/finish
Delete Evaluation DELETE /evaluations/{id}