ClimateAI Auth API

authentication related operations

Operations 7

POST /auth/login #
POST /auth/logout #
POST /auth/refresh #
GET /auth/status Returns a 200 code #
POST /auth/sudo/{user_id} #
POST /auth/switch_account/{account_id} #
GET /auth/verify_token Returns a 200 code if authentication passes #

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/climateai-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

climateai-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ClimateAI Platform Auth API
  version: '1.0'
  description: ClimateAI authentication and routing gateway for platform services
servers:
- url: /
security:
- jwt: []
tags:
- name: auth
  description: authentication related operations
paths:
  /auth/login:
    post:
      responses:
        '500':
          description: Error logging in
        '403':
          description: Inactive user
        '401':
          description: Invalid credentials
        '400':
          description: Bad input
        '200':
          description: Logged in
      operationId: user login
      tags:
      - auth
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/auth_details'
        required: true
  /auth/logout:
    post:
      responses:
        '500':
          description: Error logging out
        '401':
          description: Invalid auth token
        '200':
          description: Logged out
      operationId: logout a user
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      tags:
      - auth
  /auth/refresh:
    post:
      responses:
        '401':
          description: Error refreshing token
        '200':
          description: Refresh successful
      operationId: refresh a jwt token
      tags:
      - auth
  /auth/status:
    get:
      responses:
        '200':
          description: OK.
      summary: Returns a 200 code
      operationId: test request to check status
      tags:
      - auth
  /auth/sudo/{user_id}:
    parameters:
    - name: user_id
      in: path
      required: true
      schema:
        type: string
    post:
      responses:
        '500':
          description: Error generating token
        '403':
          description: Not allowed to generate token
        '200':
          description: Sudo token generated
      operationId: generates a jwt token with the given user_id
      tags:
      - auth
  /auth/switch_account/{account_id}:
    parameters:
    - name: account_id
      in: path
      required: true
      schema:
        type: string
    post:
      responses:
        '500':
          description: Error switching account
        '400':
          description: Bad input
        '200':
          description: Switched account
      operationId: switch account
      tags:
      - auth
  /auth/verify_token:
    get:
      responses:
        '422':
          description: Signature verification failed.
        '401':
          description: Unauthorized.
        '200':
          description: OK.
      summary: Returns a 200 code if authentication passes
      operationId: Verify credentials for reverse proxy
      security:
      - jwt: []
      - apikey: []
      tags:
      - auth
components:
  schemas:
    auth_details:
      required:
      - email
      - password
      properties:
        email:
          type: string
          description: The email address
        password:
          type: string
          description: 'The user password '
      type: object
  securitySchemes:
    jwt:
      type: apiKey
      in: header
      name: Authorization
    apikey:
      type: apiKey
      in: header
      name: X-Api-Key