/api/v1/selphid/config
Gets the current configuration parameters of selphId-sdk and the service. The JWT authentication configuration is intentionally omitted from this response.
HS256 JWT signed with auth_jwt_secret and carrying an exp claim, sent as Authorization: Bearer <jwt>.
Accepted while auth_accept_authorization_header is true (default). Only enforced when auth_enabled is
true.
An object with the current configuration parameters.
The configuration parameters of the SDK and the service. The JWT authentication configuration is intentionally omitted.
Path and file where the SelphID logs are written.
./SelphIDDebug.logThreshold for facial authentication.
65Number of cores assigned to extraction/authentication operations.
4Liveness engine pipeline mode.
partialStatus of the liveness injection attack detection (IAD) filters.
enablePath where the models and other pipeline data are installed.
/home/install/selpid-sdk/dataThreshold for liveness operations.
50License path.
/license.licGlobal value to accept templateRaws with future dates.
0Removal method for 1:N galleries.
erasePath of the usage database.
./SelphIDUsage.dbMaximum size of the request data (Mb).
100Maximum timeout for connections (0=infinite).
0How a connection can be used in terms of timeout and maximum number of requests.
0Logging level (logger).
offMaximum number of files used in log rotation.
7Path where the service logs are stored.
./logsLog rotation strategy (logger).
dailyNumber of cores assigned to concurrent requests.
1Service listening port.
6982Incorrect parameters in the request.
JWT authentication is enabled and the request carries no token or an invalid one. message is one of
Missing authentication token, JWT token is expired, JWT token is not yet valid,
JWT token does not include exp claim, JWT token validation failed or, when auth_jwt_secret is empty,
Authentication secret is not configured.
An error occurred in the call to the SelphID-SDK backend.
GET /api/v1/selphid/config HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"FACEPHI_SELPHID_DEBUGPATH_KEY": "./SelphIDDebug.log",
"FACEPHI_SELPHID_FACIALAUTHENTICATION_THRESHOLD": "65",
"FACEPHI_SELPHID_FACIALEXTRACTOR_NUM_THREADS": "4",
"FACEPHI_SELPHID_FACIALLIVENESS_DEPTH": "partial",
"FACEPHI_SELPHID_FACIALLIVENESS_IAD": "enable",
"FACEPHI_SELPHID_FACIALLIVENESS_PATH_KEY": "/home/install/selpid-sdk/data",
"FACEPHI_SELPHID_FACIALLIVENESS_THRESHOLD": "50",
"FACEPHI_SELPHID_FACIAL_LICPATH_KEY": "/license.lic",
"FACEPHI_SELPHID_FUTURE_TIME_ALLOWED": "0",
"FACEPHI_SELPHID_GALLERY_REMOVE_METHOD": "erase",
"FACEPHI_SELPHID_USAGEPATH_KEY": "./SelphIDUsage.db",
"client_max_body_size": 100,
"connection_timeout": 0,
"keep_alive_request_number": 0,
"logger_level": "off",
"logger_max_files": 7,
"logger_path": "./logs",
"logger_rotation": "daily",
"number_of_threads": 1,
"port": 6982
}Atualizado