# API

OneStepAI provides a public API for all logged-in users. It covers the full functionality of the portal. It can be found at:

Authorization is via the OSAI website or access token. More detailed instructions can be found in authoriztion article or in the API by clicking on the Authorize button.

HTTP response status codes:

Status code Description
200 - OK The request succeeded.
400 - Bad Request The server cannot or will not process the request due to something that is perceived to be a client error.
401 - Unauthorized Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.

To familiarize you with the API, we present some examples of using the service, which you can find in the following pages of the documentation.