Anaconda Auth API

Authentication endpoints

Operations 4

POST /auth/login Authenticate user #
GET /auth/logout #
GET /auth/authorize Initiates authentication flow #
GET /auth/callback/kc Callback endpoint, used for final redirect from the OpenID connect provider #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/anaconda-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

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 Specification

anaconda-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '6.5'
  title: Anaconda Server Auth API
  description: Authentication endpoints
servers:
- url: https://api.anaconda.cloud/api
tags:
- name: auth
  description: Authentication endpoints
paths:
  /auth/login:
    post:
      tags:
      - auth
      summary: Authenticate user
      operationId: repo.endpoints.auth.login
      requestBody:
        description: Get user token by providing credentials
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoginRequest'
      responses:
        '200':
          description: Token information
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoginResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '500':
          $ref: '#/components/responses/InternalServerError'
  /auth/logout:
    get:
      tags:
      - auth
      operationId: repo.endpoints.auth.logout_get
      responses:
        '302':
          description: successful redirect a user
  /auth/authorize:
    get:
      tags:
      - auth
      summary: Initiates authentication flow
      operationId: repo.endpoints.auth.openidc_authorize
      responses:
        '200':
          description: returns the redirect_rul
          content:
            application/json:
              schema:
                type: object
                properties:
                  redirect_url:
                    type: string
  /auth/callback/kc:
    get:
      tags:
      - auth
      parameters:
      - in: query
        name: code
        required: true
        schema:
          type: string
        description: authorization_code from OpenID provider
      - in: query
        name: state
        schema:
          type: string
      - in: query
        name: redirect_uri
        schema:
          type: string
      summary: Callback endpoint, used for final redirect from the OpenID connect provider
      operationId: repo.endpoints.auth.openidc_callback_keycloak
      description: kc means Keycloak, could be potentially extended with different providers
      responses:
        '302':
          description: redirects to index page and sets the corresponding cookies
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthenticated'
components:
  responses:
    InternalServerError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Unauthenticated:
      description: Unauthenticated, no token is provided or token is invalid
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    BadRequest:
      description: Server cannot execute request due to something that is perceived to be a client error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    LoginResponse:
      type: object
      properties:
        token:
          type: string
    LoginRequest:
      type: object
      additionalProperties: false
      required:
      - username
      - password
      properties:
        username:
          type: string
          minLength: 1
          example: user@anaconda.com
        password:
          type: string
          minLength: 1
    ErrorResponse:
      type: object
      description: The metadata contained in an error response
      properties:
        code:
          type: string
          description: Internal error code. Could be used to show corresponding message text from a message catalog
          example: bad-parameter
        message:
          type: string
          description: Short human-readable error message. Used mainly for logging
          example: Bad request parameter for 'sort'
        status:
          type: integer
          description: The HTTP Status code
          example: 401
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT
      x-bearerInfoFunc: repo.auth.token_provider.decode_token
    user_token:
      type: apiKey
      name: X-Auth
      in: header
      x-apikeyInfoFunc: repo.auth.token_provider.decode_user_private_token