CredentialSignInResult
Where a subscription sign-in stands: still waiting for the person (Codex), or done, with the credential.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
status | CredentialSignInStatus | |
credential | ModelCredential| null |
Example
Section titled “Example”{ "status": "Pending", "credential": { "name": "...", "description": "...", "provider": "Anthropic", "kind": "ApiKey", "endpoint": "...", "endpointKind": "Public", "cloud": { "kind": "Bedrock", "awsRegion": "...", "gcpProjectId": "...", "gcpRegion": "..." }, "keys": [ {} ], "oAuth": { "tool": "Claude", "expiresAtUtc": "2026-10-26T12:00:00.0000000Z", "scopes": [], "subscriptionType": "...", "accountName": "...", "signedInAtUtc": "2026-10-26T12:00:00.0000000Z", "refreshedAtUtc": "2026-10-26T12:00:00.0000000Z", "nextRefreshAtUtc": "2026-10-26T12:00:00.0000000Z", "refreshedByCaller": false, "refreshFailures": 0, "lastRefreshError": "..." }, "models": [ {} ], "tag": "...", "externalTenantRef": "...", "health": { "consecutiveFailures": 0, "disabledUntilUtc": "2026-10-26T12:00:00.0000000Z", "breaks": 0, "offUntilTested": false, "lastFailureAtUtc": "2026-10-26T12:00:00.0000000Z", "lastFailureReason": "...", "lastTestedAtUtc": "2026-10-26T12:00:00.0000000Z", "lastTestSucceeded": false, "lastTestError": "..." }, "createdByUserId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "revision": 0, "tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "dateCreated": "2026-10-26T12:00:00.0000000Z", "dateUpdated": "2026-10-26T12:00:00.0000000Z" }}Where it’s used
Section titled “Where it’s used”credentials.finishSignIn(POST /credentials/sign-in/{tool}/finish)