Menu
Platform
AI
Alerts and status pages
App store purchases
Credits
Generated Assets
Knowledge
KV
Localization
Notifications
Organizations
Payments
Queues
Realtime
Sandboxes
Storage
Workflows
API reference
- Overview
- Access API keys
- Agent sessions API
- Agent versions API
- Agents API
- AI models API
- Artifacts API
- Assets API
- Auth configs API
- Bank receipts API
- Bank transfer accounts API
- Buckets API
- Builds API
- Catalogs API
- Chat profiles API
- Chat reports API
- Chat sticker packs API
- Checkout policies API
- Checkout sessions API
- Config changes API
- Config flags API
- Config segments API
- Connection providers API
- Connections API
- Connectors API
- Credit grants API
- Customer organizations API
- Customer subscriptions API
- Databases API
- Documents API
- Email domains API
- End users API
- Entities API
- Entitlement grants API
- Entries API
- Environments API
- Episodes API
- Error events API
- Error groups API
- Events API
- Exchange rates API
- Generations API
- Glossaries API
- Goals API
- Identities API
- Inbound emails API
- Inbound endpoints API
- Inbound sms API
- Invitations API
- Job runs API
- Jobs API
- Knowledge schemas API
- KV API
- KV namespaces API
- Lease events API
- Leases API
- Licence keys API
- Licence tokens API
- Mail domains API
- Mail routes API
- Mailbox connect links API
- Mailbox OAUTH apps API
- Mailboxes API
- Memberships API
- Memories API
- Memory stores API
- Merchant accounts API
- Message topics API
- Messages API
- OAUTH clients API
- Objects API
- Organization roles API
- Owner pools API
- Phone numbers API
- Portal sessions API
- Preferences API
- Price catalogs API
- Processor events API
- Projects API
- Queued executions API
- Queues API
- Realtime channels API
- Realtime members API
- Realtime messages API
- Recipients API
- Relations API
- Releases API
- Revenue API
- Revenue facts API
- Revenue sources API
- Runs API
- Sandbox shapes API
- Schedules API
- Scrubbing policies API
- Search API
- Search indexes API
- Secret versions API
- Secrets API
- Service enablements API
- Service observations API
- Services API
- Serving routes API
- Session events API
- Sessions API
- Signing key versions
- Signing keys
- Sms numbers API
- Source maps API
- Spaces API
- Store connections API
- Store purchases API
- Subscriptions API
- Suppressions API
- Tax threshold statuses API
- Templates API
- Test clocks API
- Token exchanges API
- Transfers API
- Trust policies API
- Trusted issuers API
- Uptime checks API
- Uptime manifests API
- Uptime sources API
- Usage events API
- Usage invoices API
- Usage meter prices API
- Usage meters API
- Usage reservations API
- Usage settings API
- Usage tiers API
- Volumes API
- Waits API
- Webhook deliveries API
- Webhook endpoints API
- Workflows API
Getting Started
Authentication
KV Store
Deploy & Infrastructure
Reference
Get an auth config
Gets an auth config.
Gets an auth config.
- Path
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/auth_configs/auth-config - Scope
auth:read - Effect
read— nothing is written. - Collection auth_configs
#Request
| Field | Type | What it is |
|---|---|---|
name | string | The name of the auth config to get. Required. |
#Response
| Field | Type | What it is |
|---|---|---|
name | string | orgs/{org}/projects/{project}/envs/{env}/auth_configs/{auth_config}. |
uid | string | acf_<cell><ulid>; never reused. Output only. |
meta | ResourceMeta | Resource metadata. |
spec | AuthConfigSpec | Desired state. Required. |
status | AuthConfigStatus | Observed state. Output only. |
#ResourceMeta
| Field | Type | What it is |
|---|---|---|
generation | int64 | Increases by one on every change to spec. Output only. |
etag | string | Strong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only. |
create_time | timestamp | When the Resource was created. Output only. |
update_time | timestamp | When the Resource last changed. Output only. |
delete_time | timestamp | Set while the Resource is being deleted. Output only. |
labels | map<string, string> | Caller-writable, indexed labels (AIP-122 label rules). |
annotations | map<string, string> | Caller-writable, unindexed annotations. |
display_name | string | Caller-writable human-readable name. |
creator | string | The principal that created the Resource. Output only. |
#AuthConfigSpec
| Field | Type | What it is |
|---|---|---|
auth_methods | AuthMethod[] | Sign-in methods offered to end users. One of password, magic_link, email_otp, passkey, totp, oidc, saml, device. |
mfa_required | bool | Require a second factor for every end user. |
passkey_policy | PasskeyPolicy | Passkey policy; unset enforces nothing. |
lockout_enabled | bool | Progressive lockout by user and IP. |
session_policy | SessionPolicy | Session limits. |
captcha_secret | string | The CAPTCHA verifier secret, held in Sylphx Secrets; unset disables CAPTCHA. |
portal | PortalConfig | Account Portal origin and branding. |
mail_sending_domain | string | The Notify Sending Domain Auth mail is sent from; unset uses the Sylphx default. |
user_sync_database | string | A Sylphx Data database end users are synced into; unset disables sync. |
social_providers | SocialProvider[] | Social sign-in: one entry per provider Sylphx serves (google, github, apple), whether it is on, and whether end users can use it now. An update changes only the providers it lists; the others keep their state. Without any change Google is on through Sylphx's shared client, when Sylphx has one. The provider's credentials (the shared client, or your own client id and secret) are set with the instance's sign-in-providers:put: a client secret never passes through this resource. |
test_email_pattern | string | The address pattern of this environment's test accounts (a regular expression over the whole lower-cased address); unset means the environment has none. It must end in @ and one of the environment's DNS-verified customer-organization domains, escaped (qa\+[a-z0-9-]{1,40}@example\.com), and must not match probe@example.com; it is stored as ^(?:<local part>)@<domain>$. An end user is a test account (synthetic_time) only when it signed up with a matching address and proved that address by a link or code; changing the pattern never makes an existing end user one. |
#AuthConfigStatus
| Field | Type | What it is |
|---|---|---|
observed_generation | int64 | The generation this status was computed from. Output only. |
conditions | Condition[] | Ready, Reconciling, Stalled. Output only. |
portal_origin | string | The Account Portal origin in use. Output only. |
issuer_uri | string | The OAuth issuer URI; tokens verify from its JWKS. Output only. |
#PasskeyPolicy
| Field | Type | What it is |
|---|---|---|
required | bool | Require a passkey for every end user. |
device_bound | bool | Refuse synced (multi-device) passkeys. |
aaguid_allowlist | string[] | Allowed authenticator AAGUIDs; empty allows any. |
#SessionPolicy
| Field | Type | What it is |
|---|---|---|
max_concurrent_sessions | int32 | Concurrent sessions per end user; excess sessions are revoked, oldest first. 0 is unlimited. |
idle_timeout | duration | Revoke after this long without use; default 30d. |
absolute_timeout | duration | Revoke this long after sign-in regardless of use; default 90d. |
fingerprint_binding | bool | Bind sessions to network and agent; a mismatch demands step-up. |
#PortalConfig
| Field | Type | What it is |
|---|---|---|
custom_domain | string | A verified Network Domain serving the portal; unset uses the default origin. |
product_title | string | The product name shown to end users. |
logo_uri | string | An HTTPS logo URI. |
primary_color | string | The primary color, #rrggbb. |
sylphx_branding | bool | Show Sylphx branding. |
#SocialProvider
| Field | Type | What it is |
|---|---|---|
provider | string | The provider: google, github or apple. Required. |
enabled | bool | Whether the provider is offered. Turning one on needs credentials: Sylphx's shared client for that provider, or your own. |
credentials | string | shared (Sylphx's client) or custom (your own client). Output only. |
usable | bool | Whether end users can sign in with it now: it is on and its credentials exist. The client config (GET /v1/client/config) lists exactly the usable providers. Output only. |
#Condition
| Field | Type | What it is |
|---|---|---|
type | string | The condition type, for example Ready. |
status | ConditionStatus | Whether the condition holds. One of true, false, unknown. |
observed_generation | int64 | The generation this observation was made against. |
reason | string | A machine-readable UpperCamelCase reason. |
message | string | A customer-safe human-readable message. |
severity | Severity | How severe a FALSE condition is. One of info, warning, error. |
transition_time | timestamp | When status last changed. |
#Errors
UNAUTHENTICATED— No valid key or token was presented.PERMISSION_DENIED— The key lacks the method's permission.RESOURCE_NOT_FOUND— The named Resource does not exist or is not visible.
Every error arrives in the body Errors describes.
#Examples
curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/auth_configs/auth-config" \
-H "Authorization: Bearer $SYLPHX_API_KEY"