Harvis Meta API

Checking that a credential works.

GitHub OpenAPI

Operations 2

GET /api/v1 Check that a credential works #
GET /api/v1/me The account a credential belongs to #

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/harvis-dev:harvis-dev-meta-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

harvis-dev-meta-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: harvis.dev Meta API
  version: '1'
  description: Everything an account can control, over HTTP. This document is generated from lib/api/contract.ts, which is also what the dashboard's server actions call — so what the harvis CLI can do and what the web app can do are the same list by construction. Do not edit this file by hand; run `bun run api:generate`.
servers:
- url: https://harvis.dev
tags:
- name: Meta
  description: Checking that a credential works.
paths:
  /api/v1:
    get:
      operationId: meta.index
      summary: Check that a credential works
      description: 'The first call to make after creating a key: it does nothing, costs nothing, and says which kind of credential answered.'
      tags:
      - Meta
      security:
      - apiKey: []
      - session: []
      responses:
        '200':
          description: Check that a credential works.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiIndex'
        '401':
          description: '`unauthorized`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: '`suspended`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
  /api/v1/me:
    get:
      operationId: me.get
      summary: The account a credential belongs to
      tags:
      - Meta
      security:
      - apiKey: []
      - session: []
      responses:
        '200':
          description: The account a credential belongs to.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeResult'
        '401':
          description: '`unauthorized`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: '`suspended`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    MeResult:
      type: object
      properties:
        user:
          $ref: '#/components/schemas/Account'
      required:
      - user
      additionalProperties: false
    Account:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        email:
          type: string
        image:
          anyOf:
          - type: string
          - type: 'null'
      required:
      - id
      - name
      - email
      - image
      additionalProperties: false
    ApiIndex:
      type: object
      properties:
        ok:
          type: boolean
          const: true
        via:
          description: Which credential the request was accepted on.
          type: string
          enum:
          - key
          - session
        endpoints:
          type: array
          items:
            type: string
        documentation:
          type: string
      required:
      - ok
      - via
      - endpoints
      - documentation
      additionalProperties: false
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              description: A stable machine code — see docs/api.md for the full list.
              type: string
            message:
              description: English prose, for a human reading a log.
              type: string
          required:
          - code
          - message
          additionalProperties: false
      required:
      - error
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: hvs_…
      description: An account key, created at https://harvis.dev/dashboard/keys and shown once.
    session:
      type: apiKey
      in: cookie
      name: better-auth.session_token
      description: The dashboard's own sign-in cookie. Listed because the browser calls these same endpoints; a CLI or a server should use apiKey instead.