Authentication
GET/projects/jwt/
To access your deployment's REST API you must be authenticated with a JWT token. This endpoint from Ikomia SCALE API allows you to request a JWT token for a specific deployment. We recommend to check the JWT token validity (expiry) before requesting a new one to avoid time overhead.
Request
This endpoint requires to be logged to an Ikomia account that has access to the deployment.
When implementing the authentication process on your backend, you must provide an API Token in the Authorization header of the request. You can create a token from your token settings.
Query Parameters
The deployment endpoint URL for which the JWT is requested.
In the format Token <SCALE_API_TOKEN>
. (Replace <SCALE_API_TOKEN>
with your actual API token)
Responses
- 200
- 404
A JSON object containing the JWT and its expiry information, along with other OAuth 2.0 standard fields.
- application/json
- Schema
- Example (from schema)
Schema
The JWT token to be used for authentication.
The access token issued by the authorization server.
The type of the token issued. Value is case insensitive and should be Bearer
.
The lifetime in seconds of the access token.
A token that can be used to obtain a new access token when the original expires.
Optional. The scope of the access request.
{
"access_token": "string",
"token_type": "string",
"expires_in": 0,
"refresh_token": "string",
"id_token": "string",
"scope": "string"
}
The token to use on deployment endpoints is the id_token
field.
If we can't find the deployment on your account, we will return a 404 error.