Skip to content

Latest commit

 

History

History
1356 lines (1210 loc) · 82.6 KB

CHANGELOG.md

File metadata and controls

1356 lines (1210 loc) · 82.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

3.7.0 (2026-11-13)

Bug Fixes

  • session: Reject non-user access tokens in session cookies (#177) (dca45e4)

  • #179 feat(generated): regenerate from spec (1 change)

    ⚠️ Breaking

    • directory_sync:
      • Added parameter Directories.find.directoryId
      • Added parameter Directories.find.groupId
      • Removed parameter Directories.find.id
      • Changed path for endpoint GET /directories/{directoryId}/groups/{groupId}
      • Changed server default for parameter DirectoryGroups.list
      • Changed server default for parameter DirectoryGroups.find
      • Changed server default for parameter DirectoryUsers.list
      • Changed server default for parameter DirectoryUsers.find

    Features

    • directory_sync:
      • Added endpoint GET /directories/{id}
      • Added endpoint GET /directories/{directoryId}/groups
      • Added endpoint GET /directories/{directoryId}/users
      • Added endpoint GET /directories/{directoryId}/users/{userId}
    • multi_factor_auth:
      • Added model TooManyFailedVerificationAttemptsErrorBodyWithRetryAfter
      • Changed errors for endpoint POST /auth/challenges/{id}/verify
    • pipes:
      • Added config to CreateOrganizationConnectedAccount
      • Added metadata to CreateOrganizationConnectedAccount
      • Added config to OrganizationConnectedAccount
      • Added config to CreateConnectedAccount
      • Added metadata to CreateConnectedAccount
      • Added config to ConnectedAccountInput
      • Added too_many_failed_verification_attempts to ErrorBodyCode
      • Added ip_address_required to ErrorBodyCode
      • Added enum PipesProviderOwnership
      • Added parameter PipesProvider.listForOrganization.ownership
      • Changed errors for endpoint GET /organizations/{organizationId}/data_integration_configurations
      • Added parameter PipesProvider.configure.ownership
    • user_management:
      • Added radar_detection_id to PolicyDeniedErrorBody
    • webhooks:
      • Added feature_flags.flag.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag.updated to CreateWebhookEndpointEvents
      • Added feature_flags.flag.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.updated to CreateWebhookEndpointEvents
      • Added feature_flags.flag_target.created to CreateWebhookEndpointEvents
      • Added feature_flags.flag_rule.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag_target.deleted to CreateWebhookEndpointEvents
      • Added feature_flags.flag.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag.updated to UpdateWebhookEndpointEvents
      • Added feature_flags.flag.deleted to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.updated to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_target.created to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_rule.deleted to UpdateWebhookEndpointEvents
      • Added feature_flags.flag_target.deleted to UpdateWebhookEndpointEvents

    Fixes

    • directory_sync:
      • Changed response of Directories.find from Directory to DirectoryGroup
      • Updated endpoint GET /directory_groups
      • Updated endpoint GET /directory_groups/{id}
      • Updated endpoint GET /directory_users
      • Updated endpoint GET /directory_users/{id}
    • events:
      • Updated model EventSchema
    • pipes:
      • Removed policy_denied from ErrorBodyCode
    • user_management:
      • Changed errors for endpoint POST /user_management/users
      • Changed errors for endpoint POST /user_management/magic_auth
      • Changed errors for endpoint POST /user_management/authenticate
  • #180 feat(generated): regenerate from spec (1 change)

    Features

    • sso:
      • Added enum ConnectionsState
      • Added parameter Connections.list.state

3.6.0 (2026-11-04)

  • #175 feat(generated)!: regenerate from spec (5 changes)

    ⚠️ Breaking

    • groups:
      • Removed model ReplaceGroupMemberships
      • Removed endpoint PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships
    • pipes:
      • Removed model ConnectedAccountWriteResponse
      • Removed model ConnectedAccountWriteResponseWarning
      • Removed enum ConnectedAccountWriteResponseConnectionRole
      • Removed enum ConnectedAccountWriteResponseAuthMethod
      • Removed enum ConnectedAccountWriteResponseState
      • Removed model ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Removed model DataIntegrationsUpsertApiKeyRequest2
      • Removed model AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Removed model ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Removed model ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Removed model DataIntegrationsUpsertClientCredentialsRequest2
      • Removed enum ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Removed enum DataIntegrationsUpsertApiKeyRequest2ConnectionOwner
      • Removed enum AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Removed enum ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Removed enum ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Removed enum DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner

    Features

    • admin_portal:
      • Added action_denied to ErrorBodyCode
      • Added group_membership_update_overlap to ErrorBodyCode
    • connect:
      • Added cors_origins to Connect models
    • events:
      • Changed parameter Events.list.range_start
      • Changed parameter Events.list.range_end
    • groups:
      • Added model PatchGroupMemberships
      • Added endpoint PATCH /organizations/{organizationId}/groups/{groupId}/organization-memberships
      • Added model ReplaceGroupMemberships
      • Added endpoint PUT /organizations/{organizationId}/groups/{groupId}/organization-memberships
    • organizations:
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Added model DataIntegrationFinishConnectionResponse
      • Added model DataIntegrationsFinishConnectionRequest
      • Added model DataIntegrationsFinishConnectionError400
      • Added model DataIntegrationsFinishConnectionError4002
      • Added model DataIntegrationsFinishConnectionError403
      • Added model DataIntegrationsGetDataIntegrationAuthorizeUrlError4002
      • Added completion to DataIntegrationAuthorizeUrlResponse
      • Added code_challenge to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added code_challenge_method to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added code to DataIntegrationsGetDataIntegrationAuthorizeUrlError400
      • Added enum DataIntegrationsFinishConnectionError400Code
      • Added enum DataIntegrationsGetDataIntegrationAuthorizeUrlError400Code
      • Added endpoint POST /data-integrations/finish
      • Added model ConnectedAccountWarning
      • Added model DataIntegrationsListResponseDataConnectedAccountWarning
      • Added warnings to ConnectedAccount
      • Added warnings to DataIntegrationsListResponseDataConnectedAccount
      • Added connection_intent to DataIntegrationsUpsertApiKeyRequest
      • Added connected_account_id to DataIntegrationsUpsertApiKeyRequest
      • Added connection_intent to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added connected_account_id to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added connection_intent to DataIntegrationsUpsertClientCredentialsRequest
      • Added connected_account_id to DataIntegrationsUpsertClientCredentialsRequest
      • Added enum DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent
    • user_management:
      • Added model SendVerificationEmail
      • Added locale to CreateMagicCodeAndReturn
      • Added locale to CreatePasswordResetToken
      • Added locale to SendEmailChange
      • Added enum CreateMagicCodeAndReturnLocale
      • Added enum SendVerificationEmailLocale
      • Added enum CreatePasswordResetTokenLocale
      • Added enum SendEmailChangeLocale
    • widgets:
      • Added widgets:user-api-keys:manage-self to WidgetSessionTokenScopes
      • Added widgets:user-api-keys:manage-all to WidgetSessionTokenScopes

    Fixes

    • organizations:
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Changed the type of DataIntegrationsGetDataIntegrationAuthorizeUrlError400.message
      • Changed errors for endpoint POST /data-integrations/{slug}/authorize
      • Changed response of Pipes.createApiKeyConnection from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.upsertApiKey from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.createClientCredentialsConnection from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of Pipes.upsertClientCredentials from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of OrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of OrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of UserManagementDataProviders.createUserDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed response of UserManagementDataProviders.updateUserDataInstallation from ConnectedAccountWriteResponse to ConnectedAccount
      • Changed request body for Pipes.upsertApiKey
      • Changed request body for Pipes.getDataIntegrationAuthorizeUrl
      • Changed request body for Pipes.upsertClientCredentials
    • sso:
      • Changed errors for endpoint POST /sso/logout/authorize
    • user_management:
      • Changed errors for endpoint POST /user_management/authenticate
      • Changed request body for UserManagementUsers.sendVerificationEmail
      • Changed errors for endpoint POST /user_management/users/{id}/email_verification/send
      • Changed errors for endpoint POST /user_management/invitations
      • Changed errors for endpoint POST /user_management/invitations/{id}/resend
      • Changed errors for endpoint POST /user_management/waitlist_entries/{id}/approve

3.5.0 (2026-10-19)

Bug Fixes

  • deps: Consolidate crypto on aws-lc-rs and drop rsa (#169) (91aed66)

  • sso: Correct authorize URL query param names (#166) (317fe18)

  • #160 feat(generated): regenerate from spec

    Features

    • user_management:
      • Added model UserRoleAssignmentSourceGroup
      • Added group to UserRoleAssignmentSource
  • #165 feat(generated)!: regenerate from spec (9 changes)

    ⚠️ Breaking

    • pipes:
      • Removed model AddDataIntegrationsUpsertApiKeyRequest
      • Removed model AddDataIntegrationsUpsertClientCredentialsRequest
      • Removed enum AddDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Removed enum AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner

    Features

    • admin_portal:
      • Added model RevokeLink
      • Added external_user_id to GenerateLink
      • Added endpoint POST /portal/revoke_link
      • Changed errors for endpoint POST /portal/generate_link
    • agents:
      • Added model AgentBlueprintInvocableAs
      • Added model AgentBlueprintsCreateRequestInvocableAs
      • Added model AgentBlueprintsUpdateRequestInvocableAs
      • Added invocable_as to AgentBlueprint
      • Added invocable_as to AgentBlueprintsCreateRequest
      • Added invocable_as to AgentBlueprintsUpdateRequest
      • Added enum AgentBlueprintInvocableAsInstanceTypes
      • Added enum AgentBlueprintsCreateRequestInvocableAsInstanceTypes
      • Added enum AgentBlueprintsUpdateRequestInvocableAsInstanceTypes
    • audit_logs:
      • Changed errors for endpoint GET /audit_logs/actions
      • Changed errors for endpoint GET /audit_logs/actions/{actionName}/schemas
      • Changed errors for endpoint POST /audit_logs/actions/{actionName}/schemas
      • Changed errors for endpoint POST /audit_logs/events
      • Changed errors for endpoint POST /audit_logs/exports
      • Changed errors for endpoint GET /audit_logs/exports/{auditLogExportId}
    • authorization:
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/role_assignments
      • Changed errors for endpoint POST /authorization/groups/{group_id}/role_assignments
      • Changed errors for endpoint PUT /authorization/groups/{group_id}/role_assignments
      • Changed errors for endpoint GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}
      • Changed errors for endpoint POST /authorization/organization_memberships/{organization_membership_id}/check
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_id}/permissions
      • Changed errors for endpoint GET /authorization/organization_memberships/{organization_membership_id}/resources/{resource_type_slug}/{external_id}/permissions
      • Changed errors for endpoint POST /authorization/organization_memberships/{organization_membership_id}/role_assignments
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}
      • Changed errors for endpoint PATCH /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/organization_memberships
      • Changed errors for endpoint GET /authorization/organizations/{organization_id}/resources/{resource_type_slug}/{external_id}/role_assignments
      • Changed errors for endpoint GET /authorization/resources
      • Changed errors for endpoint POST /authorization/resources
      • Changed errors for endpoint GET /authorization/resources/{resource_id}
      • Changed errors for endpoint PATCH /authorization/resources/{resource_id}
      • Changed errors for endpoint GET /authorization/resources/{resource_id}/organization_memberships
      • Changed errors for endpoint GET /authorization/resources/{resource_id}/role_assignments
    • directory_sync:
      • Added model DirectorySyncResponse
      • Added model DirectorySyncRateLimitError
      • Added endpoint POST /directories/{id}/sync
    • feature_flags:
      • Changed errors for endpoint PUT /feature-flags/{slug}/disable
      • Changed errors for endpoint PUT /feature-flags/{slug}/enable
    • organization_membership:
      • Changed errors for endpoint DELETE /user_management/organization_memberships/{id}
    • organizations:
      • Changed errors for endpoint GET /organizations/{id}/audit_logs_retention
      • Changed errors for endpoint PUT /organizations/{id}/audit_logs_retention
      • Changed errors for endpoint POST /organizations/{organization_id}/it_contacts/{contact_id}/invite
    • pipes:
      • Added established_by_user_id to ConnectedAccountWriteResponse
      • Added state_reason to ConnectedAccountWriteResponse
      • Added established_by_user_id to ConnectedAccount
      • Added state_reason to ConnectedAccount
      • Added established_by_user_id to DataIntegrationsListResponseDataConnectedAccount
      • Added state_reason to DataIntegrationsListResponseDataConnectedAccount
      • Changed idempotency-key contract for endpoint POST /data-integrations/{slug}/api-key
      • Changed idempotency-key contract for endpoint POST /data-integrations/{slug}/client-credentials
      • Changed idempotency-key contract for endpoint POST /organizations/{organization_id}/connected_accounts/{slug}
      • Changed idempotency-key contract for endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Added model ConnectedAccountWriteResponse
      • Added model ConnectedAccountWriteResponseWarning
      • Added account_display_name to CreateOrganizationConnectedAccount
      • Added account_identifier to CreateOrganizationConnectedAccount
      • Added account_display_name to OrganizationConnectedAccount
      • Added account_identifier to OrganizationConnectedAccount
      • Added account_display_name to CreateConnectedAccount
      • Added account_identifier to CreateConnectedAccount
      • Added account_display_name to ConnectedAccountInput
      • Added account_identifier to ConnectedAccountInput
      • Added account_display_name to DataIntegrationsCreateApiKeyConnectionRequest
      • Added account_identifier to DataIntegrationsCreateApiKeyConnectionRequest
      • Added account_display_name to DataIntegrationsUpsertApiKeyRequest
      • Added account_identifier to DataIntegrationsUpsertApiKeyRequest
      • Added account_display_name to ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Added account_identifier to ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Added account_display_name to DataIntegrationsUpsertApiKeyRequest2
      • Added account_identifier to DataIntegrationsUpsertApiKeyRequest2
      • Added account_display_name to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added account_display_name to DataIntegrationsCreateClientCredentialsConnectionRequest
      • Added account_identifier to DataIntegrationsCreateClientCredentialsConnectionRequest
      • Added account_display_name to DataIntegrationsUpsertClientCredentialsRequest
      • Added account_identifier to DataIntegrationsUpsertClientCredentialsRequest
      • Added account_display_name to ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Added account_identifier to ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Added account_display_name to DataIntegrationsUpsertClientCredentialsRequest2
      • Added account_identifier to DataIntegrationsUpsertClientCredentialsRequest2
      • Added enum ConnectedAccountWriteResponseConnectionRole
      • Added enum ConnectedAccountWriteResponseAuthMethod
      • Added enum ConnectedAccountWriteResponseState
      • Changed errors for endpoint POST /data-integrations/{slug}/api-key
      • Changed errors for endpoint POST /data-integrations/{slug}/authorize
      • Changed errors for endpoint POST /data-integrations/{slug}/client-credentials
      • Added model AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added model ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added enum AddDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Added enum ReauthorizeDataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Added model DataIntegrationsCreateApiKeyConnectionRequest
      • Added model DataIntegrationsCreateClientCredentialsConnectionRequest
      • Added enum DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner
      • Added enum DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner
      • Added endpoint POST /data-integrations/{slug}/api-key
      • Added endpoint POST /data-integrations/{slug}/client-credentials
      • Added config to DataIntegrationVendedCredential
      • Added model DataIntegrationVendedCredential
      • Added model CreateOrganizationConnectedAccount
      • Added model CreateConnectedAccount
      • Added model AddDataIntegrationsUpsertApiKeyRequest
      • Added model ReauthorizeDataIntegrationsUpsertApiKeyRequest
      • Added model DataIntegrationsUpsertApiKeyRequest2
      • Added model AddDataIntegrationsUpsertClientCredentialsRequest
      • Added model ReauthorizeDataIntegrationsUpsertClientCredentialsRequest
      • Added model DataIntegrationsUpsertClientCredentialsRequest2
      • Added enum CreateOrganizationConnectedAccountState
      • Added enum CreateConnectedAccountState
      • Added enum AddDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Added enum ReauthorizeDataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Added enum DataIntegrationsUpsertApiKeyRequest2ConnectionOwner
      • Added enum AddDataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Added enum ReauthorizeDataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Added enum DataIntegrationsUpsertClientCredentialsRequest2ConnectionOwner
      • Added parameter OrganizationsDataProviders.updateOrganizationDataInstallation.connection_intent
      • Added parameter UserManagementDataProviders.updateUserDataInstallation.connection_intent
      • Added model OrganizationConnectedAccount
      • Added enum OrganizationConnectedAccountState
    • radar:
      • Changed errors for endpoint POST /radar/attempts
      • Changed errors for endpoint PUT /radar/attempts/{id}
      • Changed errors for endpoint POST /radar/lists/{type}/{action}
    • sso:
      • Added code_verifier to TokenQuery
    • user_management:
      • Changed errors for endpoint POST /user_management/invitations
      • Changed errors for endpoint POST /user_management/invitations/{id}/resend
      • Changed errors for endpoint POST /user_management/waitlist_entries/{id}/approve
      • Changed errors for endpoint PUT /user_management/users/{id}

    Fixes

    • agents:
      • Changed errors for endpoint POST /agents/blueprints/{agent_blueprint_id}/tokens
    • pipes:
      • Changed response of Pipes.createApiKeyConnection from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of Pipes.upsertApiKey from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of Pipes.createClientCredentialsConnection from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of Pipes.upsertClientCredentials from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of OrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of OrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of UserManagementDataProviders.createUserDataInstallation from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed response of UserManagementDataProviders.updateUserDataInstallation from ConnectedAccount to ConnectedAccountWriteResponse
      • Changed errors for endpoint POST /organizations/{organization_id}/connected_accounts/{slug}
      • Changed errors for endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint PUT /data-integrations/{slug}/api-key
      • Changed request body for Pipes.getDataIntegrationAuthorizeUrl
      • Changed errors for endpoint POST /data-integrations/{slug}/authorize
      • Changed errors for endpoint PUT /data-integrations/{slug}/client-credentials
      • Changed request body for Pipes.upsertApiKey
      • Changed request body for Pipes.upsertClientCredentials
      • Changed the type of DataIntegrationCredentialsResponse.credential
      • Removed connected_account_id from DataIntegrationsUpsertApiKeyRequest
      • Removed connected_account_id from DataIntegrationsUpsertClientCredentialsRequest
      • Changed request body of OrganizationsDataProviders.createOrganizationDataInstallation from OrganizationConnectedAccount to CreateOrganizationConnectedAccount
      • Changed request body of UserManagementDataProviders.createUserDataInstallation from ConnectedAccountInput to CreateConnectedAccount
      • Changed request body of OrganizationsDataProviders.createOrganizationDataInstallation from ConnectedAccountInput to OrganizationConnectedAccount
      • Changed request body of OrganizationsDataProviders.updateOrganizationDataInstallation from ConnectedAccountInput to OrganizationConnectedAccount
      • Changed errors for endpoint PUT /organizations/{organization_id}/connected_accounts/{slug}
    • sso:
      • Changed errors for endpoint POST /connections
      • Changed errors for endpoint POST /connections/{connectionId}/saml_sp_signing_cert
  • #167 feat(generated): regenerate from spec (2 changes)

    Features

    • user_management:
      • Changed errors for endpoint POST /user_management/users
      • Changed errors for endpoint POST /user_management/magic_auth

    Fixes

    • user_management:
      • Changed errors for endpoint POST /user_management/authenticate
  • #170 fix(generated): regenerate from spec

    Features

    • agents:
      • Added revoked_at to AgentRegistration
      • Added endpoint POST /agents/registrations/{id}/revoke

3.4.1 (2026-09-18)

Bug Fixes

  • authkit: Verify sealed-session JWTs (#152) (7fb6c47)
  • query: Prevent OAuth parameter injection from nested maps (#153) (093f3d8)
  • security: Reject path traversal segments (#151) (483bcce)

Miscellaneous Chores

  • release 3.4.1 (a9a8a36)

  • #147 fix(generated): regenerate from spec

    Features

    • pipes:
      • Added connected_account_id to DataIntegrationsVendCredentialsRequest
      • Added connected_account_id to DataIntegrationsGetUserTokenRequest
      • Added parameter UserManagementDataProviders.getUserDataInstallation.connected_account_id
      • Changed errors for endpoint GET /user_management/users/{user_id}/connected_accounts/{slug}
      • Added parameter UserManagementDataProviders.updateUserDataInstallation.connected_account_id
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Added parameter UserManagementDataProviders.deleteUserDataInstallation.connected_account_id
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Added connected_accounts to DataIntegrationsListResponseData
      • Changed errors for endpoint PUT /data-integrations/{slug}
      • Changed errors for endpoint PUT /data-integrations/{slug}/api-key
      • Changed errors for endpoint PUT /data-integrations/{slug}/client-credentials
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
  • #150 feat(generated)!: regenerate from spec (1 change)

    Fixes

    • sso:
      • remove incorrect parameter from getProfileAndToken.
  • #156 feat(generated): regenerate from spec (4 changes)

    Features

    • admin_portal:
      • Changed the format of PortalLinkResponse.link
    • agents:
      • Added parameter AgentsSessions.list.organization_id
      • Changed the format of ClaimViewResponse.user_code
      • Changed the format of AgentAdminValidateCredentialRequest.credential
    • api_keys:
      • Changed the format of ValidateApiKey.value
      • Changed the format of OrganizationApiKeyWithValue.value
      • Changed the format of UserApiKeyWithValue.value
    • multi_factor_auth:
      • Changed the format of AuthenticationChallenge.code
      • Changed the format of AuthenticationFactorEnrolledTotp.secret
      • Changed the format of AuthenticationFactorEnrolledTotp.qr_code
      • Changed the format of AuthenticationFactorEnrolledTotp.uri
      • Changed the format of AuthenticationChallengesVerifyRequest.code
    • pipes:
      • Added supports_multiple_connections to DataIntegrationsVendCredentialsRequest
      • Added supports_multiple_connections to DataIntegrationsGetUserTokenRequest
      • Added parameter UserManagementDataProviders.getUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.updateUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.deleteUserDataInstallation.supports_multiple_connections
      • Added parameter UserManagementDataProviders.getUserDataIntegrations.supports_multiple_connections
      • Added enum PipesOwnership
      • Added user to CreateDataIntegrationOwnership
      • Added user to DataIntegrationOwnership
      • Added endpoint GET /data-integrations/{slug}/organization
      • Added endpoint PUT /data-integrations/{slug}/organization
      • Added endpoint DELETE /data-integrations/{slug}/organization
      • Added parameter Pipes.listDataIntegrations.ownership
      • Changed errors for endpoint GET /data-integrations
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed the format of DataIntegrationCredentialsResponseCredential.value
      • Added connection_owner to DataIntegrationsUpsertApiKeyRequest
      • Added connection_owner to DataIntegrationsUpsertClientCredentialsRequest
      • Added enum DataIntegrationsUpsertApiKeyRequestConnectionOwner
      • Added enum DataIntegrationsUpsertClientCredentialsRequestConnectionOwner
      • Added model AccountSelectionRequiredError
      • Added connected_account_id to DataIntegrationsUpsertApiKeyRequest
      • Added connected_account_id to DataIntegrationsUpsertClientCredentialsRequest
      • Added ownership to CreateDataIntegration
      • Added ownership to DataIntegration
      • Added connection_owner to DataIntegrationsVendCredentialsRequest
      • Added connection_owner to DataIntegrationsGetUserTokenRequest
      • Added enum CreateDataIntegrationOwnership
      • Added enum DataIntegrationOwnership
      • Added enum DataIntegrationsVendCredentialsRequestConnectionOwner
      • Added enum DataIntegrationsGetUserTokenRequestConnectionOwner
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
    • sso:
      • Changed the format of CreateConnectionKeyPair.key
      • Changed the format of TokenQuery.code
      • Changed the format of SSOLogoutAuthorizeResponse.logout_url
    • user_management:
      • Added model CreateAuthkitOAuthResource
      • Added model AuthkitOAuthResource
      • Added service UserManagementAuthkitOAuthResources
      • Changed the format of DeviceAuthorizationResponse.verification_uri_complete
      • Changed the format of VerifyEmailAddress.code
      • Changed the format of ConfirmEmailChange.code
      • Changed the format of MagicAuth.code
      • Changed the format of UserInvite.accept_invitation_url
      • Changed the format of EmailVerification.code
      • Changed the format of PasswordReset.password_reset_url
      • Changed the format of AuthenticateResponse.authkit_authorization_code
      • Changed the format of DeviceAuthorizationResponse.device_code
      • Changed the format of DeviceAuthorizationResponse.user_code
      • Changed the format of AuthorizationCodeSessionAuthenticateRequest.code
      • Changed the format of AuthorizationCodeSessionAuthenticateRequest.code_verifier
      • Changed the format of MagicAuthCodeSessionAuthenticateRequest.code
      • Changed the format of EmailVerificationCodeSessionAuthenticateRequest.code
      • Changed the format of MfaTotpSessionAuthenticateRequest.code
      • Changed the format of RadarEmailChallengeCodeSessionAuthenticateRequest.code
      • Changed the format of RadarSmsChallengeCodeSessionAuthenticateRequest.code
      • Changed the format of DeviceCodeSessionAuthenticateRequest.device_code
      • Changed the format of Invitation.accept_invitation_url
      • Changed the format of MagicAuthSendMagicAuthCodeAndReturnResponse.code
    • radar:
      • Changed the format of RadarChallenge.code
    • vault:
      • Changed the format of CreateObjectRequest.value
      • Changed the format of VaultObject.value
      • Changed the format of UpdateObjectRequest.value

    Fixes

    • pipes:
      • Removed userland_user from CreateDataIntegrationOwnership
      • Removed userland_user from DataIntegrationOwnership
      • Changed errors for endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint PUT /data-integrations/{slug}/api-key
      • Changed errors for endpoint PUT /data-integrations/{slug}/client-credentials
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Changed errors for endpoint POST /data-integrations/{provider}/token
      • Changed errors for endpoint GET /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed errors for endpoint DELETE /user_management/users/{user_id}/connected_accounts/{slug}
      • Changed the type of DataIntegrationInstallation.user_id
  • #157 feat(generated)!: regenerate from spec (3 changes)

    Features

    • multi_factor_auth:
      • Changed errors for endpoint POST /auth/factors/{id}/challenge
    • pipes:
      • Added connection_owner to DataIntegrationsListResponseData
      • Added enum DataIntegrationsListResponseDataConnectionOwner
      • Added connection_role to DataIntegrationsListResponseDataConnectedAccount
      • Added account_identifier to DataIntegrationsListResponseDataConnectedAccount
      • Added account_display_name to DataIntegrationsListResponseDataConnectedAccount
      • Added enum DataIntegrationsListResponseDataConnectedAccountConnectionRole
      • Added connection_role to DataIntegrationInstallation
      • Added account_identifier to DataIntegrationInstallation
      • Added account_display_name to DataIntegrationInstallation
      • Added enum DataIntegrationInstallationConnectionRole
      • Added connection_owner to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added enum DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner
      • Added the organization connected-account operations on Pipes: client.pipes().get_organization_connected_account, create_organization_connected_account, update_organization_connected_account, delete_organization_connected_account, list_organization_data_providers
    • connect:
      • Added connection_role to ConnectedAccount
      • Added account_identifier to ConnectedAccount
      • Added account_display_name to ConnectedAccount
      • Added enum ConnectedAccountConnectionRole
    • webhooks:
      • Added pipes.account_connection.add_failed to CreateWebhookEndpointEvents
      • Added pipes.account_connection.connected to CreateWebhookEndpointEvents
      • Added pipes.account_connection.connection_failed to CreateWebhookEndpointEvents
      • Added pipes.account_connection.disconnected to CreateWebhookEndpointEvents
      • Added pipes.account_connection.reauthorization_needed to CreateWebhookEndpointEvents
      • Added pipes.account_connection.add_failed to UpdateWebhookEndpointEvents
      • Added pipes.account_connection.connected to UpdateWebhookEndpointEvents
      • Added pipes.account_connection.connection_failed to UpdateWebhookEndpointEvents
      • Added pipes.account_connection.disconnected to UpdateWebhookEndpointEvents
      • Added pipes.account_connection.reauthorization_needed to UpdateWebhookEndpointEvents

    Fixes

  • #159 fix(generated): regenerate from spec (1 change)

    Fixes

  • fix(security): reject empty and dot-segment path parameters with Error::Builder before sending requests, preventing URL normalization from silently retargeting requests to other API endpoints (VULN-1240).

3.4.0 (2026-09-01)

  • #142 feat(generated)!: regenerate from spec (4 changes)

    ⚠️ Breaking

    • agents:
      • Removed service Agents
    • sso:
      • Removed model TokenBody
      • Removed enum TokenBodyGrantType
      • Removed model TokenQuery
      • Changed parameter SSO.token.grant_type

    Features

    • agents:
      • Added model AgentBlueprint
      • Added model AgentInstance
      • Added model AgentToken
      • Added model AgentInstanceSession
      • Added model AgentBlueprintInvocableBy
      • Added model AgentBlueprintSessionSetting
      • Added model AgentBlueprintsCreateRequest
      • Added model AgentBlueprintsCreateRequestInvocableBy
      • Added model AgentBlueprintsCreateRequestSessionSetting
      • Added model AgentBlueprintsUpdateRequest
      • Added model AgentBlueprintsUpdateRequestInvocableBy
      • Added model AgentBlueprintsUpdateRequestSessionSetting
      • Added model AgentBlueprintsTokenMintTokenRequest
      • Added enum AgentInstanceType
      • Added enum AgentInstanceSessionStatus
      • Added enum AgentBlueprintsTokenMintTokenRequestType
    • agents_blueprints:
      • Added service AgentsBlueprints
    • agents_blueprints_tokens:
      • Added service AgentsBlueprintsTokens
    • agents_instances:
      • Added service AgentsInstances
    • agents_registrations:
      • Added service AgentsRegistrations
    • agents_sessions:
      • Added service AgentsSessions
    • organizations:
      • Added retention_period to UpdateAuditLogsRetention
      • Made UpdateAuditLogsRetention.retention_period_in_days optional
      • Added enum UpdateAuditLogsRetentionRetentionPeriod
      • Added model CreateItContact
      • Added model InviteItContact
      • Added model ItContact
      • Added model ItContactList
      • Added model ItContactListListMetadata
      • Added enum InviteItContactIntents
      • Added service OrganizationsItContacts
    • platform_teams:
      • Added model CreateTeam
      • Added model Team
      • Added enum TeamProductionState
      • Added service PlatformTeams
    • sso:
      • Added model TokenQuery
      • Added enum TokenQueryGrantType
      • Added model CreateConnectionKeyPair
      • Added model CreateConnectionSAMLOptions
      • Added model CreateConnectionOidcOptions
      • Added model CreateConnectionStandardAttributes
      • Added model CreateConnectionAttributeMaps
      • Added model CreateConnection
      • Added model PatchConnectionSAMLOptions
      • Added model PatchConnectionOidcOptions
      • Added model PatchConnectionStandardAttributes
      • Added model PatchConnectionAttributeMaps
      • Added model PatchConnection
      • Added model CreateSAMLIdpSigningCertificate
      • Added model SAMLIdpSigningCertificate
      • Added model SAMLIdpSigningCertificateList
      • Added model SAMLSpEncryptionCertificate
      • Added model SAMLSpEncryptionCertificateList
      • Added model SAMLSpSigningCertificate
      • Added enum CreateConnectionOidcOptionsIdTokenSignatureAlgorithm
      • Added enum PatchConnectionOidcOptionsIdTokenSignatureAlgorithm
      • Added endpoint POST /connections
      • Added endpoint GET /connections/{connectionId}/saml_idp_signing_certs
      • Added endpoint POST /connections/{connectionId}/saml_idp_signing_certs
      • Added endpoint DELETE /connections/{connectionId}/saml_idp_signing_certs/{certificateId}
      • Added endpoint GET /connections/{connectionId}/saml_sp_encryption_certs
      • Added endpoint POST /connections/{connectionId}/saml_sp_encryption_certs
      • Added endpoint DELETE /connections/{connectionId}/saml_sp_encryption_certs/{certificateId}
      • Added endpoint GET /connections/{connectionId}/saml_sp_signing_cert
      • Added endpoint POST /connections/{connectionId}/saml_sp_signing_cert
      • Added endpoint DELETE /connections/{connectionId}/saml_sp_signing_cert/{certificateId}
      • Added endpoint PATCH /connections/{id}
      • Added model TokenBody
      • Added enum TokenBodyGrantType
      • Added enum SSOGrantType
      • Changed required status for parameter SSO.token.code
    • user_management:
      • Added enum CreateConnectionOidcOptionsTokenAuthenticationMethod
      • Added enum PatchConnectionOidcOptionsTokenAuthenticationMethod
      • Added model EmailCompletionSessionAuthenticateRequest
      • Added model CreateWaitlistEntry
      • Added model Waitlist
      • Added model WaitlistEntry
      • Added enum WaitlistEntryState
      • Added enum UserManagementWaitlistsState
      • Added service UserManagementWaitlists
    • webhooks:
      • Added agent.instance.created to CreateWebhookEndpointEvents
      • Added agent.instance.deleted to CreateWebhookEndpointEvents
      • Added agent.instance.session.created to CreateWebhookEndpointEvents
      • Added agent.instance.session.revoked to CreateWebhookEndpointEvents
      • Added agent.instance.created to UpdateWebhookEndpointEvents
      • Added agent.instance.deleted to UpdateWebhookEndpointEvents
      • Added agent.instance.session.created to UpdateWebhookEndpointEvents
      • Added agent.instance.session.revoked to UpdateWebhookEndpointEvents
      • Added agent.blueprint.created to CreateWebhookEndpointEvents
      • Added agent.blueprint.deleted to CreateWebhookEndpointEvents
      • Added agent.blueprint.updated to CreateWebhookEndpointEvents
      • Added agent.blueprint.created to UpdateWebhookEndpointEvents
      • Added agent.blueprint.deleted to UpdateWebhookEndpointEvents
      • Added agent.blueprint.updated to UpdateWebhookEndpointEvents

    Fixes

    • sso:
      • Changed request body of SSO.token from TokenBody to TokenQuery
      • Removed DiscordOAuth from ConnectionType
      • Removed GrokOAuth from ConnectionType
      • Removed XOAuth from ConnectionType
      • Removed DiscordOAuth from ProfileConnectionType
      • Removed GrokOAuth from ProfileConnectionType
      • Removed XOAuth from ProfileConnectionType
      • Removed DiscordOAuth from ConnectionsConnectionType
      • Removed GrokOAuth from ConnectionsConnectionType
      • Removed XOAuth from ConnectionsConnectionType
      • Changed request body of SSO.token from TokenQuery to TokenBody
    • user_management:
      • Changed request body for UserManagementAuthentication.authenticate
      • Changed errors for endpoint POST /user_management/authenticate
      • Removed DiscordOAuth from AuthenticateResponseAuthenticationMethod
      • Removed GrokOAuth from AuthenticateResponseAuthenticationMethod
      • Removed XOAuth from AuthenticateResponseAuthenticationMethod
      • Removed DiscordOAuth from UserIdentitiesGetItemProvider
      • Removed GrokOAuth from UserIdentitiesGetItemProvider
      • Removed XOAuth from UserIdentitiesGetItemProvider
      • Changed errors for endpoint DELETE /user_management/users/{id}
  • #146 fix(generated): regenerate from spec

    Features

    • agents:
      • Made AgentBlueprintsCreateRequest.session_settings optional
      • Added model AgentTokenValidation
      • Added model AgentBlueprintsTokenValidateTokenRequest
    • agents_blueprints_tokens:
      • Added endpoint POST /agents/blueprints/{agent_blueprint_id}/tokens/validate

3.3.0 (2026-08-13)

Features

  • expose authentication method on action contexts (#139) (43cf7e8)

3.2.0 (2026-08-11)

Bug Fixes

  • parse AuthKit Actions request into flat ActionContext (#135) (294d438)

  • #136 feat(generated)!: regenerate from spec (2 changes)

    ⚠️ Breaking

    • events:
      • Changed required status for parameter Events.list.events

    Features

    • groups:
      • Added parameter Groups.list.search
    • connect:
      • Added client_id to ConnectedAccount
      • Added client_secret_last_4 to ConnectedAccount
      • Added config to ConnectedAccount
    • pipes:
      • Added client_id to DataIntegrationsListResponseDataConnectedAccount
      • Added client_secret_last_4 to DataIntegrationsListResponseDataConnectedAccount
      • Added config to DataIntegrationsListResponseDataConnectedAccount
      • Changed errors for endpoint POST /data-integrations/{slug}/credentials
      • Made CustomProviderDefinition.authorization_url optional
      • Made CustomProviderDefinition.token_url optional
      • Added model DataIntegrationsUpsertClientCredentialsRequest
      • Added client_credentials to CreateDataIntegrationAuthMethods
      • Added endpoint PUT /data-integrations/{slug}/client-credentials
    • sso:
      • Added XOAuth to ConnectionType
      • Added XOAuth to ProfileConnectionType
      • Added XOAuth to ConnectionsConnectionType
      • Added GrokOAuth to ConnectionType
      • Added GrokOAuth to ProfileConnectionType
      • Added GrokOAuth to ConnectionsConnectionType
    • user_management:
      • Changed errors for endpoint DELETE /user_management/users/{id}
      • Added password_salt_position to CreateUser
      • Added password_salt_position to UpdateUser
      • Made RadarSmsChallengeCodeSessionAuthenticateRequest.verification_id optional
      • Made RadarSmsChallengeCodeSessionAuthenticateRequest.phone_number optional
      • Added enum CreateUserPasswordSaltPosition
      • Added enum UpdateUserPasswordSaltPosition
      • Added XOAuth to AuthenticateResponseAuthenticationMethod
      • Added XOAuth to UserIdentitiesGetItemProvider
      • Added GrokOAuth to AuthenticateResponseAuthenticationMethod
      • Added GrokOAuth to UserIdentitiesGetItemProvider
    • webhooks:
      • Added agent.registration.refreshed to CreateWebhookEndpointEvents
      • Added agent.registration.refreshed to UpdateWebhookEndpointEvents

    Fixes

    • pipes:
      • Changed the type of DataIntegration.credentials
    • user_management:
      • Changed errors for endpoint POST /user_management/authenticate
      • Changed errors for endpoint POST /user_management/users
      • Changed errors for endpoint PUT /user_management/users/{id}

3.1.0 (2026-07-28)

  • #132 fix(generated): regenerate from spec

    Features

    • pipes:
      • Added config to DataIntegrationsGetDataIntegrationAuthorizeUrlRequest
      • Added client_credentials to DataIntegrationAuthMethods
      • Added client_credentials to DataIntegrationsListResponseDataAuthMethods
      • Added client_credentials to DataIntegrationsListResponseDataConnectedAccountAuthMethod
      • Added config to Pipes models
    • connect:
      • Added client_credentials to ConnectedAccountAuthMethod

    Fixes

    • user_management:
      • Changed errors for endpoint POST /user_management/invitations
      • Changed errors for endpoint POST /user_management/invitations/{id}/resend
      • Changed errors for endpoint POST /user_management/magic_auth
      • Changed errors for endpoint POST /user_management/authenticate
  • #134 fix(generated): regenerate from spec

    Fixes

    • sso:
      • Removed callback_endpoint from Connection

3.0.0 (2026-07-22)

  • #126 fix(generated): regenerate from spec

    Features

    • audit_logs:
      • Added expired to AuditLogExportState
  • #129 feat(generated)!: regenerate from spec (2 changes)

    Features

    • agents:
      • Added model ClaimViewResponse
      • Added model ClaimViewResponseOrganization
      • Added model AgentAdminLinkClaimAttemptToExternalUserRequest
      • Added model AgentAdminLinkClaimAttemptToExternalUserRequestUser
      • Added enum ClaimViewResponseStatus
      • Added endpoint PATCH /agents/claims/attempts
      • Added model AgentRegistration
      • Added model AgentCredentialValidation
      • Added model AgentRegistrationAgentIdentity
      • Added model AgentRegistrationClaim
      • Added model AgentAdminValidateCredentialRequest
      • Added model AgentRegistrationClaimClaimCompletion
      • Added enum AgentRegistrationStatus
      • Added enum AgentRegistrationKind
      • Added enum AgentAdminValidateCredentialRequestType
      • Added service Agents
    • api_keys:
      • Added agent_registration_id to ApiKeyValidationResponse
    • connect:
      • Added enum ApplicationsRegistrationTypes
      • Added parameter Applications.list.registration_types
    • directory_sync:
      • Added parameter DirectoryUsers.list.idp_id
      • Added parameter DirectoryUsers.list.email
    • organizations:
      • Added model OrganizationAuthorizedConnectApplicationList
      • Added model OrganizationAuthorizedConnectApplicationListData
      • Added model OrganizationAuthorizedConnectApplicationListListMetadata
      • Added service OrganizationsAuthorizedApplications
    • pipes:
      • Added model DataIntegrationInstallation
      • Added auth_methods to CreateDataIntegration
      • Added api_key to CreateDataIntegration
      • Added api_key to UpdateDataIntegration
      • Added auth_methods to DataIntegration
      • Added installation to DataIntegration
      • Added enum CreateDataIntegrationAuthMethods
      • Added enum DataIntegrationAuthMethods
      • Added model DataIntegrationCredentialsResponse
      • Added model DataIntegrationCredentialsResponseCredential
      • Added model DataIntegrationsUpsertApiKeyRequest
      • Added model DataIntegrationsVendCredentialsRequest
      • Added enum DataIntegrationCredentialsResponseError
      • Added endpoint PUT /data-integrations/{slug}/api-key
      • Added endpoint POST /data-integrations/{slug}/credentials
    • sso:
      • Added parameter SSO.authorize.prompt
    • user_management:
      • Added ssha256 to CreateUserPasswordHashType
      • Added ssha256 to UpdateUserPasswordHashType
      • Added endpoint GET /user_management/radar_challenges/{id}
    • webhooks:
      • Added agent.registration.revoked to CreateWebhookEndpointEvents
      • Added agent.registration.revoked to UpdateWebhookEndpointEvents
      • Added agent.registration.deleted to CreateWebhookEndpointEvents
      • Added agent.registration.deleted to UpdateWebhookEndpointEvents
      • Added radar.challenge_created to CreateWebhookEndpointEvents
      • Added radar.challenge_created to UpdateWebhookEndpointEvents
      • Added agent.registration.expired to CreateWebhookEndpointEvents
      • Added agent.registration.expired to UpdateWebhookEndpointEvents
    • widgets:
      • Made WidgetSessionToken.organization_id optional
  • #130 feat(generated)!: regenerate from spec (5 changes)

    ⚠️ Breaking

    • admin_portal:
      • SDK surface change: Symbol "IntentOptions" was removed
    • connect:
      • SDK surface change: Symbol "ConnectedAccountDto" was removed
    • organization_domains:
      • SDK surface change: Symbol "DomainVerificationIntentOptions" was removed
    • pipes:
      • SDK surface change: Symbol "DataIntegrationCredentialsDto" was removed
    • sso:
      • SDK surface change: Symbol "SSOIntentOptions" was removed

2.5.0 (2026-07-06)

  • #124 fix(generated): regenerate from spec

    Features

    • user_management:
      • Added model UserRoleAssignmentSource
      • Added source to UserRoleAssignment
      • Added enum UserRoleAssignmentSourceType
      • Added parameter UserManagementAuthentication.authorize.max_age
      • Added endpoint GET /user_management/cors_origins
      • Added endpoint GET /user_management/redirect_uris

    Fixes

    • Restore mistakenly removed CreateMagicAuth logic from previous release

2.4.0 (2026-07-02)

  • #118 fix(generated): regenerate from spec

    Features

    • pipes:
      • Added model DataIntegrationCredentialsResponse
      • Added model DataIntegrationCredentialsResponseCredential
      • Added model DataIntegrationsUpsertApiKeyRequest
      • Added model DataIntegrationsVendCredentialsRequest
      • Added enum DataIntegrationCredentialsResponseError
      • Added endpoint PUT /data-integrations/{slug}/api-key
      • Added endpoint POST /data-integrations/{slug}/credentials
  • #120 fix(generated): regenerate from spec

    ⚠️ Breaking

    • user_management:
      • Removed model SessionReauthenticated
      • Removed model SessionReauthenticatedData
      • Removed model SessionReauthenticatedDataImpersonator
      • Removed enum SessionReauthenticatedDataAuthMethod
      • Removed enum SessionReauthenticatedDataStatus

    Features

    • webhooks:
      • Added agent.registration.created to CreateWebhookEndpointEvents
      • Added agent.registration.claim.attempt.created to CreateWebhookEndpointEvents
      • Added agent.registration.claim.completed to CreateWebhookEndpointEvents
      • Added agent.registration.credential.issued to CreateWebhookEndpointEvents
      • Added agent.registration.organization.switched to CreateWebhookEndpointEvents
      • Added authentication.reauthentication_succeeded to CreateWebhookEndpointEvents
      • Added agent.registration.created to UpdateWebhookEndpointEvents
      • Added agent.registration.claim.attempt.created to UpdateWebhookEndpointEvents
      • Added agent.registration.claim.completed to UpdateWebhookEndpointEvents
      • Added agent.registration.credential.issued to UpdateWebhookEndpointEvents
      • Added agent.registration.organization.switched to UpdateWebhookEndpointEvents
      • Added authentication.reauthentication_succeeded to UpdateWebhookEndpointEvents
    • webhooks:
      • Added session.reauthenticated to CreateWebhookEndpointEvents
      • Added session.reauthenticated to UpdateWebhookEndpointEvents
    • webhooks:
      • Added pipes.connected_account.connection_failed to CreateWebhookEndpointEvents
      • Added pipes.connected_account.connection_failed to UpdateWebhookEndpointEvents
    • user_management:
      • Added model UserRoleAssignmentSource
      • Added source to UserRoleAssignment
      • Added enum UserRoleAssignmentSourceType
      • Added parameter UserManagementAuthentication.authorize.max_age
      • Added endpoint GET /user_management/cors_origins
      • Added endpoint GET /user_management/redirect_uris
    • audit_logs:
      • Changed the format of AuditLogExportCreation.range_start
      • Changed the format of AuditLogExportCreation.range_end
    • audit_logs:
      • Added expired to AuditLogExportState

    Fixes

    • admin_portal:
      • Removed intent_options from GenerateLink
    • webhooks:
      • Removed session.reauthenticated from CreateWebhookEndpointEvents
      • Removed session.reauthenticated from UpdateWebhookEndpointEvents
  • #122 feat(generated): regenerate from spec (1 change)

    Features

    • pipes:
      • Added model DataIntegrationCredentialsDto
      • Added model CustomProviderDefinition
      • Added model CreateDataIntegration
      • Added model UpdateCustomProviderDefinition
      • Added model UpdateDataIntegration
      • Added model DataIntegration
      • Added model DataIntegrationList
      • Added model DataIntegrationListListMetadata
      • Added model DataIntegrationCredential
      • Added model DataIntegrationCustomProvider
      • Added enum DataIntegrationCredentialsType
      • Added enum CustomProviderDefinitionAuthenticateVia
      • Added enum UpdateCustomProviderDefinitionAuthenticateVia
      • Added enum DataIntegrationState
      • Added enum DataIntegrationCredentialType
      • Added enum DataIntegrationCustomProviderAuthenticateVia
      • Added endpoint GET /data-integrations
      • Added endpoint POST /data-integrations
      • Added endpoint GET /data-integrations/{slug}
      • Added endpoint PUT /data-integrations/{slug}
      • Added endpoint DELETE /data-integrations/{slug}
      • Added endpoint POST /user_management/users/{user_id}/connected_accounts/{slug}
      • Added endpoint PUT /user_management/users/{user_id}/connected_accounts/{slug}
  • #123 feat(generated): regenerate from spec (2 changes)

    Features

    • user_management:
      • Added model SendRadarSmsChallenge
      • Added model SendRadarSmsChallengeResponse
      • Added model UrnWorkosOAuthGrantTypeRadarEmailChallengeCodeSessionAuthenticateRequest
      • Added model UrnWorkosOAuthGrantTypeRadarSmsChallengeCodeSessionAuthenticateRequest
      • Added model MagicAuthSendMagicAuthCodeAndReturnResponse
      • Added model UserCreateResponse
      • Added ip_address to CreateMagicCodeAndReturn
      • Added user_agent to CreateMagicCodeAndReturn
      • Added radar_auth_attempt_id to CreateMagicCodeAndReturn
      • Added signals_id to CreateMagicCodeAndReturn
      • Added ip_address to CreateUser
      • Added user_agent to CreateUser
      • Added signals_id to CreateUser
      • Added signals_id to AuthorizationCodeSessionAuthenticateRequest
      • Added signals_id to PasswordSessionAuthenticateRequest
      • Added radar_auth_attempt_id to PasswordSessionAuthenticateRequest
      • Added radar_auth_attempt_id to UrnWorkosOAuthGrantTypeMagicAuthCodeSessionAuthenticateRequest
      • Added endpoint POST /user_management/radar_challenges
    • radar:
      • Added signals_id to RadarStandaloneAssessRequest

    Fixes

    • user_management:
      • Changed request body for UserManagementAuthentication.authenticate
      • Changed response of UserManagementUsers.create from User to UserCreateResponse
      • Changed response of UserManagementMagicAuth.sendMagicAuthCodeAndReturn from MagicAuth to MagicAuthSendMagicAuthCodeAndReturnResponse

2.3.0 (2026-06-30)

2.2.0 (2026-06-23)

  • #111 feat(generated)!: regenerate from spec (11 changes)

    Features

    • authorization:
      • Added model ReplaceGroupRoleAssignmentEntry
      • Added model ReplaceGroupRoleAssignments
      • Added model DeleteGroupRoleAssignmentsByCriteria
      • Added endpoint POST /authorization/groups/{group_id}/role_assignments
      • Added endpoint PUT /authorization/groups/{group_id}/role_assignments
      • Added endpoint DELETE /authorization/groups/{group_id}/role_assignments
      • Added endpoint GET /authorization/groups/{group_id}/role_assignments/{role_assignment_id}
      • Added endpoint DELETE /authorization/groups/{group_id}/role_assignments/{role_assignment_id}
    • client:
      • Added model ClientApiToken
      • Added model ClientApiTokenResponse
      • Added service Client
    • connect:
      • Added auth_method to ConnectedAccount
      • Added api_key_last_4 to ConnectedAccount
      • Added enum ConnectedAccountAuthMethod
    • groups:
      • Added model CreateGroupRoleAssignment
      • Added model GroupRoleAssignment
      • Added model GroupRoleAssignmentList
      • Added model GroupRoleAssignmentResource
    • organization_membership:
      • Added model UserOrganizationMembershipList
      • Added model UserOrganizationMembershipListListMetadata
    • pipes:
      • Added model DataIntegrationCredentials
      • Added model DataIntegrationConfigurationResponse
      • Added model DataIntegrationConfigurationListResponse
      • Added model ConfigureDataIntegrationBody
      • Added auth_methods to DataIntegrationsListResponseData
      • Added auth_method to DataIntegrationsListResponseDataConnectedAccount
      • Added api_key_last_4 to DataIntegrationsListResponseDataConnectedAccount
      • Added enum DataIntegrationCredentialsCredentialsType
      • Added enum DataIntegrationsListResponseDataAuthMethods
      • Added enum DataIntegrationsListResponseDataConnectedAccountAuthMethod
      • Added service PipesProvider
    • user_management:
      • Added model UserInviteList
      • Added model UserInviteListListMetadata
      • Made AuthorizationCodeSessionAuthenticateRequest.client_secret optional
      • Made RefreshTokenSessionAuthenticateRequest.client_secret optional
    • widgets:
      • Added widgets:pipes:manage to WidgetSessionTokenScopes

    Fixes

    • organization_membership:
      • Changed response of UserManagementOrganizationMembership.list from UserOrganizationMembership to UserOrganizationMembershipList
    • user_management:
      • Changed response of UserManagementInvitations.list from UserInvite to UserInviteList

2.1.0 (2026-06-17)

  • #105 feat(generated)!: regenerate from spec (10 changes)

    ⚠️ Breaking

    • api_keys:
      • Made expires_at required in API key models
    • directory_sync:
      • Removed model DsyncDeactivated
      • Removed model DsyncDeactivatedData
      • Removed model DsyncDeactivatedDataDomain
      • Removed enum DsyncDeactivatedDataType
      • Removed enum DsyncDeactivatedDataState
    • radar:
      • Removed domain_sign_up_rate_limit from RadarStandaloneResponseControl
    • user_management:
      • Removed return_to from RevokeSession

    Features

    • api_keys:
      • Added model ExpireApiKey
      • Added model ApiKeyUpdated
      • Added model ApiKeyUpdatedData
      • Added model ApiKeyUpdatedDataOwner
      • Added model UserApiKeyUpdatedDataOwner
      • Added model ApiKeyUpdatedDataPreviousAttribute
      • Added endpoint POST /api_keys/{id}/expire
    • audit_logs:
      • Added Snowflake to AuditLogConfigurationLogStreamType
    • connect:
      • Added name to UserObject
    • directory_sync:
      • Added model DsyncTokenCreated
      • Added model DsyncTokenCreatedData
      • Added model DsyncTokenRevoked
      • Added model DsyncTokenRevokedData
    • user_management:
      • Added name to user management models
    • webhooks:
      • Added api_key.updated to CreateWebhookEndpointEvents
      • Added api_key.updated to UpdateWebhookEndpointEvents

2.0.1 (2026-05-28)

Bug Fixes

  • renovate: explicitly enable minor and patch updates (#99) (2639af6)
  • sdk: omit defaulted screen_hint from auth URLs (#102) (2dc6fa4)

2.0.0 (2026-05-26)

  • #97 feat(generated)!: regenerate from spec (8 changes)

    ⚠️ Breaking

    • organization_membership: Split organization membership operations from user_management into dedicated service
      • New OrganizationMembershipApi service with full CRUD and role management for organization memberships
      • Moved from UserManagementApi: list/create/get/update/delete/deactivate/reactivate operations
      • Breaking change: symbols removed from user_management and moved to organization_membership (see compat_breaking list)
      • Role enum (Single/Multiple variants) moved from user_management to organization_membership
      • client.user_management_organization_membership_groups() removed; use client.organization_membership().list_organization_membership_groups() instead
      • Group membership listing now accessible via organization_membership.list_organization_membership_groups
    • radar: Remove deprecated action and control fields from Radar standalone assessment
      • Removed deprecated enum variants: RadarStandaloneAssessRequestAction::Login, RadarStandaloneAssessRequestAction::Signup, RadarStandaloneResponseControl::CredentialStuffing, RadarStandaloneResponseControl::IpSignUpRateLimit
      • Removed lenient parsing aliases for SignUp ("sign up", "sign_up") and SignIn ("sign in", "sign_in"); only canonical wire values "sign-up" and "sign-in" are accepted
      • Removed fields from RadarStandaloneAssessRequest: device_fingerprint and bot_score (marked breaking in spec)
    • vault: Replaced hand-written helpers::VaultApi with generated resources::VaultApi
      • client.vault() now returns resources::VaultApi instead of helpers::VaultApi
      • Old custom types removed: DataKeyPair, DataKey, KeyContext, ObjectMetadata, VaultObject, VaultObjectDigest, VaultObjectVersion, VaultListObjectsParams, VaultListObjectsResponse, VaultCreateDataKeyParams, VaultCreateObjectParams, VaultUpdateObjectParams, VaultDecryptDataKeyParams
      • Replaced by generated types: CreateDataKeyRequest, CreateDataKeyResponse, DecryptRequest, DecryptResponse, RekeyRequest, CreateObjectRequest, UpdateObjectRequest, VaultObject, ObjectMetadata, ObjectSummary, ObjectVersion, ObjectListResponse, VersionListResponse
      • Local encrypt/decrypt convenience methods preserved on resources::VaultApi with the same behavior
      • Crypto helpers moved from helpers::vault to helpers::vault_crypto (re-exported: VaultEncryptResult, local_encrypt, local_decrypt, extract_encrypted_keys)
    • generated: Rename types to remove Json suffix and standardize naming
      • AuditLogExportJsonState → AuditLogExportState
      • AuditLogActionJson → AuditLogAction
      • AuditLogExportJson → AuditLogExport
      • AuditLogsRetentionJson → AuditLogsRetention
      • WebhookEndpointJson → WebhookEndpoint, WebhookEndpointJsonStatus → WebhookEndpointStatus
      • RadarAction → RadarListAction, RadarType → RadarListType
      • AuditLogSchema renamed to AuditLogSchemaDto; new AuditLogSchemaInput, AuditLogSchemaActorInput, AuditLogSchemaTargetInput types added

    Features

    • vault: Add Vault service with key management and object storage APIs
      • New VaultApi service providing encryption key management and encrypted object storage
      • Key management: create_data_key, create_decrypt, create_rekey for cryptographic operations
      • Object storage: list_kv, create_kv, get_kv, get_name, update_kv, delete_kv for managing encrypted key-value pairs
      • Metadata operations: list_kv_metadata and list_kv_versions for inspecting object history without decryption
    • api_key: Add expires_at field to API key models
      • New optional expires_at field added to ApiKey, OrganizationApiKey, OrganizationApiKeyWithValue, UserApiKey, UserApiKeyWithValue models
      • Allows setting expiration timestamps on API keys; null means no expiration
      • Event data models updated: ApiKeyCreatedData and ApiKeyRevokedData now include expires_at
      • New optional parameter expires_at in CreateOrganizationApiKey and CreateUserApiKey request bodies
    • webhooks: Add Pipes connected account events to webhook subscriptions
      • Three new webhook event types for Pipes integrations: PIPES_CONNECTED_ACCOUNT_CONNECTED, PIPES_CONNECTED_ACCOUNT_DISCONNECTED, PIPES_CONNECTED_ACCOUNT_REAUTHORIZATION_NEEDED
      • New model types: PipeConnectedAccount, PipesConnectedAccountConnected, PipesConnectedAccountDisconnected, PipesConnectedAccountReauthorizationNeeded
      • New enum PipeConnectedAccountState for connected account status tracking
    • connect: Add typed connect application models and new fields
      • New ConnectApplicationM2M and ConnectApplicationOAuth model types for M2M and OAuth applications
      • New fields on ConnectApplication: redirect_uris, uses_pkce, is_first_party, was_dynamically_registered
      • New ConnectApplicationRedirectUri and ConnectApplicationOAuthRedirectUris types
    • generated: Add new general-purpose models
      • New Actor model for representing users or API keys that performed actions
      • New ErrorResponse model for structured error response bodies
      • New ListMetadata model for cursor-based pagination metadata
      • New VaultOrder enum for ordering vault list results

    Fixes

    • generated: Standardize type names and fix parameter defaults in authorization service
      • Added resource_id, resource_external_id, and resource_type_slug filters to ListRoleAssignmentsParams for more granular assignment filtering
      • Added role_slug filter to ListRoleAssignmentsForResourceParams and ListRoleAssignmentsForResourceByExternalIdParams
      • Removed search parameter from ListResourcesParams (deprecated)
    • connect: Fix last_used_at field type in application credentials
      • NewConnectApplicationSecret.last_used_at type changed from invalid string value to ISO 8601 timestamp
      • ApplicationCredentialsListItem.last_used_at type changed from invalid string value to ISO 8601 timestamp
      • Ensures consistency with API contract for credential timestamp tracking
    • sso: Expand login_hint documentation to include custom SAML
      • Updated GetAuthorizationUrlParams.login_hint documentation to indicate support for custom SAML connections in addition to existing OAuth/OpenID Connect/Okta/Entra ID support

1.0.1 (2026-05-13)

Bug Fixes

  • generated: Regenerate from oagen with query encoder + typed param bodies (e63d620)

1.0.0 (2026-05-10)

⚠ BREAKING CHANGES

  • prep for v1

Features

  • Add ApiError, RequestOptions, and auto-paging streams (a1a66ba)
  • client: Add path_segment encoder and shared auto-paging driver (7f1c2d3)
  • client: Gate retries by safety and add per-request RequestStrategy (1fb9b1c)
  • prep for v1 (9b42e77)
  • secret: Add SecretString wrapper for sensitive fields (d3729a9)

Bug Fixes

  • helpers: Harden webhook, session, and vault crypto paths (98b8a59)

This release is a ground-up rebuild of the SDK. Every resource module is now generated from the WorkOS OpenAPI spec by oagen; only a thin async client, the helper layer, and the pagination/transport plumbing are hand-maintained.

Added

  • Async, builder-based Client with configurable timeout, retry budget, base URL, and pluggable transport (reqwest by default; rustls-tls and native-tls are exposed as crate features).
  • Generated resource APIs covering Organizations, User Management, SSO, Directory Sync, Audit Logs, Authorization (FGA), Vault, Webhooks, Events, API Keys, Admin Portal, Connect, Feature Flags, Groups, Multi-factor Auth, Pipes, Radar, and Widgets.
  • RequestOptions with idempotency_key(...) and header(...) setters; each generated method now has a companion *_with_options(..., Some(&opts)).
  • Structured ApiError carrying status, code, message, request_id, Retry-After, full headers, and the raw response body. Error exposes request_id(), code(), retry_after(), plus is_unauthorized(), is_not_found(), is_rate_limited(), and is_server_error() predicates.
  • Cursor-based auto-pagination: every list endpoint generates a *_auto_paging(...) method returning impl futures_util::Stream. The shared auto_paginate(fetch) helper is also re-exported for custom flows.
  • Hand-maintained helper layer for AuthKit, SSO URL builders, PKCE flows, webhook signature verification, sealed sessions, JWKS, Vault local crypto, Passwordless, and a public PKCE-only client.
  • Path parameters are percent-encoded as URL segments before interpolation.
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps is enforced in CI; cargo fmt, cargo clippy --all-targets -- -D warnings, and cargo test run on every change. Rust 1.88 (edition 2024) is pinned via rust-toolchain.toml.

Changed

  • The crate is now async-first and depends on tokio. Synchronous wrappers from earlier 0.x releases are no longer provided.

0.2.0 - 2022-07-14

Added

  • Added organization_id to DirectoryUsers and DirectoryGroups (#84)

0.1.1 - 2022-07-11

Changed

  • Updated the endpoints used for ChallengeFactor and VerifyChallenge operations (#81)
  • Changed project status to "experimental" (#82)

0.1.0 - 2022-07-01

Added

  • Initial release