> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/backend-sdk/selphid/technical_documentation/api_reference/management/api-v1-selphid-config.md).

# /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.

Any `FACEPHI_SELPHID_*` environment variable set when the service starts is also returned in the response, with its value.

```json
{"openapi":"3.0.0","info":{"title":"SelphID-SDK Rest API","version":"6.22.0"},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"HS256 JWT signed with `auth_jwt_secret` and carrying an `exp` claim, sent as `Authorization: Bearer <jwt>`.\nAccepted while `auth_accept_authorization_header` is `true` (default). Only enforced when `auth_enabled` is\n`true`.\n"},"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"The same JWT, sent as is (without the `Bearer` prefix) in the header named by `auth_api_key_header_name`\n(`x-api-key` by default). Accepted while `auth_accept_api_key_header` is `true` (default). Only enforced when\n`auth_enabled` is `true`.\n"}},"schemas":{"ConfigParams":{"type":"object","description":"The configuration parameters of the SDK and the service. The JWT authentication configuration is intentionally omitted.","properties":{"client_max_body_size":{"type":"integer","description":"Maximum size of the request data (Mb)."},"connection_timeout":{"type":"integer","description":"Maximum timeout for connections (0=infinite)."},"keep_alive_request_number":{"type":"integer","description":"How a connection can be used in terms of timeout and maximum number of requests."},"logger_level":{"type":"string","description":"Logging level (logger)."},"logger_max_files":{"type":"integer","description":"Maximum number of files used in log rotation."},"logger_path":{"type":"string","description":"Path where the service logs are stored."},"logger_rotation":{"type":"string","description":"Log rotation strategy (logger)."},"number_of_threads":{"type":"integer","description":"Number of cores assigned to concurrent requests."},"port":{"type":"integer","description":"Service listening port."}}},"BadRequestResult":{"type":"object","description":"Result when incorrect parameters arrive in the request.","properties":{"status":{"type":"number"},"error":{"type":"string"},"message":{"type":"string","description":"Reason of the rejection."},"timeStamp":{"$ref":"#/components/schemas/TimeStamp"}}},"TimeStamp":{"type":"string","description":"A date and time value in \"%Y-%m-%dT%H:%M:%SZ\" format."},"UnauthorizedResult":{"type":"object","description":"Result when JWT authentication is enabled and the request carries no token or an invalid one.","properties":{"status":{"type":"number"},"error":{"type":"string"},"message":{"type":"string","description":"Reason of the rejection."},"timeStamp":{"$ref":"#/components/schemas/TimeStamp"}}},"ExceptionResult":{"type":"object","description":"An error occurred in the call to the SelphID-SDK backend.","properties":{"status":{"type":"number"},"error":{"type":"string"},"exception":{"type":"string"},"timeStamp":{"$ref":"#/components/schemas/TimeStamp"}}}},"responses":{"Unauthorized":{"description":"JWT authentication is enabled and the request carries no token or an invalid one. `message` is one of\n`Missing authentication token`, `JWT token is expired`, `JWT token is not yet valid`,\n`JWT token does not include exp claim`, `JWT token validation failed` or, when `auth_jwt_secret` is empty,\n`Authentication secret is not configured`.\n","headers":{"WWW-Authenticate":{"$ref":"#/components/headers/WWW-Authenticate"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedResult"}}}}},"headers":{"WWW-Authenticate":{"description":"Always `Bearer` on `401` responses.","schema":{"type":"string"}}}},"paths":{"/api/v1/selphid/config":{"get":{"description":"Gets the current configuration parameters of selphId-sdk and the service. The JWT authentication configuration is intentionally omitted from this response.\n\nAny `FACEPHI_SELPHID_*` environment variable set when the service starts is also returned in the response, with its value.\n","tags":["Management"],"responses":{"200":{"description":"An object with the current configuration parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfigParams"}}}},"400":{"description":"Incorrect parameters in the request.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestResult"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"500":{"description":"An error occurred in the call to the SelphID-SDK backend.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExceptionResult"}}}}}}}}}
```
