---
title: "Retrieve the latest SSO connection test result"
method: GET
path: "/sso-connections/{id}/test-result"
tags: ["Settings"]
---

# Retrieve the latest SSO connection test result

`GET /sso-connections/{id}/test-result`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/sso-connections/{id}/test-result`
- Auth: HTTP bearer

The result of the latest connection test, kept for 30 minutes. Tests run in the operator’s browser from the dashboard.

## Path parameters

- `id` string, required: The SSO connection ID returned by create or list endpoints.

## Response `200`

Successful response.

- SsoConnectionTestResult
  - `object` 'sso_connection_test_result', required
  - `testId` string, required
  - `passed` boolean, required
  - `configSource` 'live' | 'pending', required: Whether the test ran on the live settings or on pending changes.
  - `outcome` 'recorded' | 'promoted' | 'stale_config', required: `stale_config`: settings changed during the test, so it does not count. `promoted` appears only on results recorded before saving took over making pending changes live.
  - `principal` object, nullable, required
    - `issuer` string, required
    - `subject` string, required
    - `email` string, nullable, required
    - `emailVerified` boolean, required
    - `displayName` string, nullable, required
  - `claims` object, nullable, required: The claims the provider sent, bounded in size.
  - `warnings` string[], required
  - `error` object, nullable, required
    - `code` string, required
    - `message` string, required
    - `expected` string, nullable, required
    - `received` string, nullable, required
  - `completedAt` string, required
  - `expiresAt` string, required

## Other responses

- `404`: SSO connection or test result not found.

## Changes

- **2026-10-19** `c34152c38176`: 1 info
  - added the optional property `error/upgrade` to the response with the `404` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/sso-connections/:id/test-result/get.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
