Skip to content
Dashboard
Theme
Theme

Read the latest verified test attribute source

GET /v1/connections/{conn}/attribute_preview: Read the latest verified test attribute source.

View Markdown

GET /v1/connections/{conn}/attribute_preview

Protected preview only. Source values are never included in events or diagnostic history. Every authorized read is audited; responses use Cache-Control no-store. The latest failed, expired or unavailable test has no preview. No preview (no passed test sign-in yet, or the latest test failed, expired or its captured source is gone) answers 404 resource_not_found, still audited; 503 service_unavailable means the preview store could not be read and the call may be retried.

Scope
environment:write
Auth
Secret key (sk_…)
Since
1.0
  • conn string Required

Errors share one shape; see the error code catalogue.

curl -X GET \
"https://api.ohauthcat.com/v1/connections/conn_01J9Z3K5V7W8X9Y0Z1A2B3C4D5/attribute_preview" \
-H "Authorization: Bearer $OHAUTHCAT_API_KEY"
Response 200
{
"custom_attributes": {},
"warnings": [
{
"attribute": "department",
"reason": "missing"
}
],
"source": {
"v": 1,
"protocol": "saml",
"saml": {},
"oidc": {}
}
}