Plith Auth API

API key management

GitHub OpenAPI

Operations 2

POST /api/keys Creates a new organization and API key pair #
GET /api/keys/verify Confirms an API key is valid and returns the associated org context #

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/plith-ai:plith-ai-auth-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

plith-ai-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Plith Ai Auth API
  version: 1.0.0
  contact:
    email: support@plith.ai
    url: https://plith.ai/docs
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  description: 'Operations tagged Auth across 2 of this provider''s published API definitions: openapi.json, plith-ai-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://plith.ai
  description: Production
security: []
tags:
- name: Auth
  description: API key management
paths:
  /api/keys:
    post:
      summary: Creates a new organization and API key pair
      operationId: createApiKey
      security: []
      tags:
      - Auth
      description: 'Auth: None — public endpoint. Cost: Free. Full request and response contract: https://plith.ai/docs/api-reference'
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                email:
                  type: string
                  format: email
                  example: dev@example.com
                  description: Optional. Stored for reference. Must be unique across orgs.
                name:
                  type: string
                  example: My Org
                  description: Optional. Human-readable org name. Defaults to email if omitted.
      responses:
        '201':
          description: API key created — store it securely, shown only once
          headers:
            X-RateLimit-Remaining:
              schema:
                type: string
              description: Keys remaining in the current 24-hour window
          content:
            application/json:
              schema:
                type: object
                properties:
                  org_id:
                    type: string
                    format: uuid
                    description: Unique identifier for the created org.
                  key:
                    type: string
                    example: plth_xxxxxxxxxxxx...
                    description: Full API key — shown once, never stored in plaintext.
                  prefix:
                    type: string
                    example: plth_xxxxxxxx
                    description: First 12 characters of the key, stored for display/identification.
                  message:
                    type: string
                    example: Store this key securely — it will not be shown again.
                  docs:
                    type: string
                    format: uri
                    example: https://plith.ai/docs/authentication
        '409':
          description: An org with this email already exists
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          $ref: '#/components/responses/429'
        '500':
          $ref: '#/components/responses/500'
      x-plith-reference-synced: true
    servers:
    - url: https://plith.ai
      description: Production
  /api/keys/verify:
    get:
      summary: Confirms an API key is valid and returns the associated org context
      operationId: verifyApiKey
      tags:
      - Auth
      description: 'Auth: Required (x-api-key). Cost: Free. Full request and response contract: https://plith.ai/docs/api-reference'
      security:
      - ApiKeyAuth: []
      responses:
        '200':
          description: Key is valid
          content:
            application/json:
              schema:
                type: object
                properties:
                  org_id:
                    type: string
                    format: uuid
                    description: Org ID associated with the key.
                  is_paid:
                    type: boolean
                    description: Whether the org is on a paid plan.
                  request_id:
                    type: string
                    example: req_a1b2c3d4e5f6
                  credits_used:
                    type: integer
                    example: 0
                  credits_remaining:
                    type: integer
                    example: 0
                  fallback_behavior:
                    type: string
                    example: none
        '401':
          $ref: '#/components/responses/401'
      x-plith-reference-synced: true
    servers:
    - url: https://plith.ai
      description: Production
components:
  responses:
    '401':
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '500':
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    '429':
      description: Rate limited
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
      - error
      - message
      - request_id
      - status
      properties:
        error:
          type: string
          example: invalid_request
        message:
          type: string
          example: task_description is required.
        request_id:
          type: string
        status:
          type: integer
          example: 400
        fix:
          type: string
          nullable: true
        docs:
          type: string
          format: uri
        support:
          type: string
          example: support@plith.ai
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'Optional for MCP read-only tools. Required for tools that write data or cost credits. Get one free: curl -X POST https://plith.ai/api/keys'
x-refined-from:
- openapi.json
- plith-ai-openapi.json