inference-sh Auth API
The auth API from inference-sh — 47 operation(s) for auth.
Operations 53
GET
/auth/saml/connections/{connectionID}/metadata
Get auth saml connections by connection id metadata
#
The auth API from inference-sh — 47 operation(s) for auth.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/inference-sh:inference-sh-auth-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: inference.sh Auth API
version: '2'
servers:
- url: https://api.inference.sh
tags:
- name: Auth
paths:
/auth/callback/{provider}:
get:
tags:
- Auth
parameters:
- name: provider
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get auth callback by provider
x-summary-source: derived
operationId: getAuthCallbackByProvider
x-operation-id-source: derived
post:
tags:
- Auth
parameters:
- name: provider
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Create auth callback by provider
x-summary-source: derived
operationId: postAuthCallbackByProvider
x-operation-id-source: derived
/auth/link-account:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth link account
x-summary-source: derived
operationId: getAuthLinkAccount
x-operation-id-source: derived
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth link account
x-summary-source: derived
operationId: postAuthLinkAccount
x-operation-id-source: derived
/auth/login/{provider}:
get:
tags:
- Auth
parameters:
- name: provider
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get auth login by provider
x-summary-source: derived
operationId: getAuthLoginByProvider
x-operation-id-source: derived
/auth/logout:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth logout
x-summary-source: derived
operationId: postAuthLogout
x-operation-id-source: derived
/auth/magic-link/send:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth magic link send
x-summary-source: derived
operationId: postAuthMagicLinkSend
x-operation-id-source: derived
/auth/magic-link/verify:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth magic link verify
x-summary-source: derived
operationId: getAuthMagicLinkVerify
x-operation-id-source: derived
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth magic link verify
x-summary-source: derived
operationId: postAuthMagicLinkVerify
x-operation-id-source: derived
/auth/magic-link/verify-code:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth magic link verify code
x-summary-source: derived
operationId: postAuthMagicLinkVerifyCode
x-operation-id-source: derived
/auth/otp/resend:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth otp resend
x-summary-source: derived
operationId: postAuthOtpResend
x-operation-id-source: derived
/auth/otp/status:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth otp status
x-summary-source: derived
operationId: getAuthOtpStatus
x-operation-id-source: derived
/auth/otp/verify:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth otp verify
x-summary-source: derived
operationId: postAuthOtpVerify
x-operation-id-source: derived
/auth/passkey/assert/begin:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth passkey assert begin
x-summary-source: derived
operationId: postAuthPasskeyAssertBegin
x-operation-id-source: derived
/auth/passkey/register/begin:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth passkey register begin
x-summary-source: derived
operationId: postAuthPasskeyRegisterBegin
x-operation-id-source: derived
/auth/passkey/register/finish:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth passkey register finish
x-summary-source: derived
operationId: postAuthPasskeyRegisterFinish
x-operation-id-source: derived
/auth/providers:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth providers
x-summary-source: derived
operationId: getAuthProviders
x-operation-id-source: derived
/auth/saml/acs:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth saml acs
x-summary-source: derived
operationId: postAuthSamlAcs
x-operation-id-source: derived
/auth/saml/acs/{teamSlug}:
post:
tags:
- Auth
parameters:
- name: teamSlug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Create auth saml acs by team slug
x-summary-source: derived
operationId: postAuthSamlAcsByTeamSlug
x-operation-id-source: derived
/auth/saml/connections/{connectionID}/acs:
post:
tags:
- Auth
parameters:
- name: connectionID
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Create auth saml connections by connection id acs
x-summary-source: derived
operationId: postAuthSamlConnectionsByConnectionIDAcs
x-operation-id-source: derived
/auth/saml/connections/{connectionID}/metadata:
get:
tags:
- Auth
parameters:
- name: connectionID
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get auth saml connections by connection id metadata
x-summary-source: derived
operationId: getAuthSamlConnectionsByConnectionIDMetadata
x-operation-id-source: derived
/auth/saml/login/{teamSlug}:
get:
tags:
- Auth
parameters:
- name: teamSlug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get auth saml login by team slug
x-summary-source: derived
operationId: getAuthSamlLoginByTeamSlug
x-operation-id-source: derived
/auth/saml/metadata/{teamSlug}:
get:
tags:
- Auth
parameters:
- name: teamSlug
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get auth saml metadata by team slug
x-summary-source: derived
operationId: getAuthSamlMetadataByTeamSlug
x-operation-id-source: derived
/auth/second-factor:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth second factor
x-summary-source: derived
operationId: getAuthSecondFactor
x-operation-id-source: derived
/auth/second-factor/disable:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth second factor disable
x-summary-source: derived
operationId: postAuthSecondFactorDisable
x-operation-id-source: derived
/auth/second-factor/enable:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth second factor enable
x-summary-source: derived
operationId: postAuthSecondFactorEnable
x-operation-id-source: derived
/auth/second-factor/methods/{id}:
delete:
tags:
- Auth
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Delete auth second factor methods by id
x-summary-source: derived
operationId: deleteAuthSecondFactorMethodsById
x-operation-id-source: derived
patch:
tags:
- Auth
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Update auth second factor methods by id
x-summary-source: derived
operationId: patchAuthSecondFactorMethodsById
x-operation-id-source: derived
/auth/second-factor/recovery-codes:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth second factor recovery codes
x-summary-source: derived
operationId: postAuthSecondFactorRecoveryCodes
x-operation-id-source: derived
/auth/sessions:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get auth sessions
x-summary-source: derived
operationId: getAuthSessions
x-operation-id-source: derived
/auth/sessions/revoke-all:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth sessions revoke all
x-summary-source: derived
operationId: postAuthSessionsRevokeAll
x-operation-id-source: derived
/auth/sessions/{id}:
delete:
tags:
- Auth
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Delete auth sessions by id
x-summary-source: derived
operationId: deleteAuthSessionsById
x-operation-id-source: derived
/auth/totp/confirm:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth totp confirm
x-summary-source: derived
operationId: postAuthTotpConfirm
x-operation-id-source: derived
/auth/totp/enroll:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create auth totp enroll
x-summary-source: derived
operationId: postAuthTotpEnroll
x-operation-id-source: derived
/device/auth/:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create device auth
x-summary-source: derived
operationId: postDeviceAuth
x-operation-id-source: derived
/device/auth/approve:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create device auth approve
x-summary-source: derived
operationId: postDeviceAuthApprove
x-operation-id-source: derived
/device/auth/claim:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create device auth claim
x-summary-source: derived
operationId: postDeviceAuthClaim
x-operation-id-source: derived
/device/auth/code/{code}:
get:
tags:
- Auth
parameters:
- name: code
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get device auth code by code
x-summary-source: derived
operationId: getDeviceAuthCodeByCode
x-operation-id-source: derived
/device/auth/elevate:
delete:
tags:
- Auth
responses:
'200':
description: Success
summary: Delete device auth elevate
x-summary-source: derived
operationId: deleteDeviceAuthElevate
x-operation-id-source: derived
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get device auth elevate
x-summary-source: derived
operationId: getDeviceAuthElevate
x-operation-id-source: derived
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create device auth elevate
x-summary-source: derived
operationId: postDeviceAuthElevate
x-operation-id-source: derived
/device/auth/poll/{deviceCode}:
get:
tags:
- Auth
parameters:
- name: deviceCode
in: path
required: true
schema:
type: string
responses:
'200':
description: Success
summary: Get device auth poll by device code
x-summary-source: derived
operationId: getDeviceAuthPollByDeviceCode
x-operation-id-source: derived
/logout:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create logout
x-summary-source: derived
operationId: postLogout
x-operation-id-source: derived
/oauth/authorize:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get oauth authorize
x-summary-source: derived
operationId: getOauthAuthorize
x-operation-id-source: derived
/oauth/authorize/approve:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth authorize approve
x-summary-source: derived
operationId: postOauthAuthorizeApprove
x-operation-id-source: derived
/oauth/authorize/deny:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth authorize deny
x-summary-source: derived
operationId: postOauthAuthorizeDeny
x-operation-id-source: derived
/oauth/authorize/info:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get oauth authorize info
x-summary-source: derived
operationId: getOauthAuthorizeInfo
x-operation-id-source: derived
/oauth/connected-apps:
get:
tags:
- Auth
responses:
'200':
description: Success
summary: Get oauth connected apps
x-summary-source: derived
operationId: getOauthConnectedApps
x-operation-id-source: derived
/oauth/connected-apps/revoke:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth connected apps revoke
x-summary-source: derived
operationId: postOauthConnectedAppsRevoke
x-operation-id-source: derived
/oauth/device_authorization:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth device authorization
x-summary-source: derived
operationId: postOauthDeviceAuthorization
x-operation-id-source: derived
/oauth/register:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth register
x-summary-source: derived
operationId: postOauthRegister
x-operation-id-source: derived
/oauth/revoke:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth revoke
x-summary-source: derived
operationId: postOauthRevoke
x-operation-id-source: derived
/oauth/token:
post:
tags:
- Auth
responses:
'200':
description: Success
summary: Create oauth token
x-summary-source: derived
operationId: postOauthToken
x-operation-id-source: derived