API (Application Programming Interface) is a set of methods and rules by which programs communicate with each other and exchange data.
Lingohub provides API logs list - all API events for a given time period. An API event is logged each time an API operation is performed. With our API logs, you may get insights into your API activities. In addition, the API log can be used for debug purposes.
Read in this article:
To access the API logs, follow the steps below:
Click "Login & security" on the left-side navigation panel.
Choose "API Logs" from the drop-down list.
Information of the API log overview
Depending on your subscription, you will be able to see all API events within a set time period, but for a maximum of 30 days. The API logs will display the following information:
Id - The Id of the API event
Status: The HTTP status code of the API event. A complete list of HTTP status codes will be listed below.
HTTP Method: The HTTP method that was used. Lingohub's API currently supports: `GET`, `POST` and `PUT`.
Path: The used path for the API event.
API Version: The API version used for the API event.
Created at: The date and time of the API event.
Info: Find detailed information on the API event by clicking the information icon.
Export button to download the API logs information.
HTTP status codes
For each request, the Lingohub API tries to return suitable HTTP status codes. Response codes for the REST API can be suppressed. Below is a list of status codes that are used:
200 OK: Success!
304 Not Modified: No new data was found.
400 Bad Request: Your request was not valid. There will be an explanatory error message.
401 Unauthorized: There are missing or incorrect authentication credentials.
403 Forbidden: Your request was understood, but it has been refused due to missing rights. There will be an explanatory error message.
404 Not Found: The URI requested is not valid or the requested resource, a project for example, does not exist.
406 Not Acceptable: If an invalid format is specified in the request, the API will return this code.
429 Too Many Requests: If too many requests have been performed in a short time, the API rate limit is exceeded and will return this code.
500 Internal Server Error: Please inform the Lingohub Support team who will investigate as something is damaged.
For a detailed view with in-depth information about an API event, click the information button on the right side of the API event.
You will be redirected to the API event information screen.
The API event information screen will display the following additional information:
IP Address: The IP Address starting the API event.
Source: The source of the API event.
Authorization: The account used to authorize the API event.
Request query parameters: The request query parameters of the API event.
Request POST body: The request POST body of the API event.
Response body: The response body of the API event.
Filter your API logs
With filters you can easy find the needed API log by parameters:
Export your API logs
You can easily export your API logs by clicking Export in the API log overview.
Your API log will be sent to the email address you provided.
Note: Only currently displayed events will be exported. If you would like a full report, clear the filters first.
Great! You finished the article about API logs. In case of any questions - contact our support.