Get Registry Credentials
GET
/registry/credentials
const url = 'https://api.mengi.cloud/registry/credentials';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.mengi.cloud/registry/credentialsGet current user’s registry credentials.
Returns credential metadata without the actual token password.
Responses
Section titled “ Responses ”Successful Response
Media type application/json
RegistryCredentialStatus
Simple status response.
object
has_credentials
required
Has Credentials
boolean
credentials
Any of:
RegistryCredentialResponse
Response for registry credential (without password).
object
id
required
Id
string
registry_url
required
Registry Url
string
repository_prefix
required
Repository Prefix
string
username
required
Username
string
docker_login_command
required
Docker Login Command
string
is_active
required
Is Active
boolean
created_at
required
Created At
string format: date-time
null
Example generated
{ "has_credentials": true, "credentials": { "id": "example", "registry_url": "example", "repository_prefix": "example", "username": "example", "docker_login_command": "example", "is_active": true, "created_at": "2026-04-15T12:00:00Z", "expires_at": "2026-04-15T12:00:00Z" }}