Krobar.ai Me API

Self-service endpoints for users

GitHub OpenAPI

Operations 7

GET /me Get Me #
PATCH /me Update Me #
GET /me/mailchimp/status Get current user's Mailchimp subscription status #
PUT /me/mailchimp/interests Update current user's Mailchimp interests #
POST /me/mailchimp/subscribe Subscribe the current user to Mailchimp #
POST /me/mailchimp/unsubscribe Unsubscribe the current user from Mailchimp #
POST /me/sign-estimation-policy Sign Estimation Policy #

Specifications

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/krobar-ai:krobar-ai-me-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

krobar-ai-me-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Krobar AI Me API
  description: '# API Krobar AI


    Welcome to the Krobar AI API! A FastAPI-based service that is the backend for Krobar.ai


    ## Authentication

    **IMPORTANT**: This API requires an API key for all endpoints except for /health. The API key must be provided in the `X-API-Key` header.


    ```bash

    curl -H "X-API-Key: your-api-key" https://api.krobar.ai/endpoint

    ```'
  contact:
    name: API Support
    email: tristan@kromatic.com
  version: 1.0.0
tags:
- name: Me
  description: Self-service endpoints for users
paths:
  /me:
    get:
      tags:
      - Me
      summary: Get Me
      description: Get your profile information.
      operationId: get_me_me_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
      security:
      - APIKeyCookie: []
    patch:
      tags:
      - Me
      summary: Update Me
      description: Update your profile information.
      operationId: update_me_me_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserMeUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyCookie: []
  /me/mailchimp/status:
    get:
      tags:
      - Me
      summary: Get current user's Mailchimp subscription status
      operationId: get_my_mailchimp_status_me_mailchimp_status_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyCookie: []
  /me/mailchimp/interests:
    put:
      tags:
      - Me
      summary: Update current user's Mailchimp interests
      operationId: update_my_mailchimp_interests_me_mailchimp_interests_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailchimpInterestsUpdateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyCookie: []
  /me/mailchimp/subscribe:
    post:
      tags:
      - Me
      summary: Subscribe the current user to Mailchimp
      operationId: subscribe_myself_me_mailchimp_subscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MailchimpSubscribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyCookie: []
  /me/mailchimp/unsubscribe:
    post:
      tags:
      - Me
      summary: Unsubscribe the current user from Mailchimp
      operationId: unsubscribe_myself_me_mailchimp_unsubscribe_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - APIKeyCookie: []
  /me/sign-estimation-policy:
    post:
      tags:
      - Me
      summary: Sign Estimation Policy
      description: Sign the estimation policy and record agreement.
      operationId: sign_estimation_policy_me_sign_estimation_policy_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Body_sign_estimation_policy_me_sign_estimation_policy_post'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyCookie: []
components:
  schemas:
    MailchimpSubscribeRequest:
      properties:
        interests:
          anyOf:
          - additionalProperties:
              type: boolean
            type: object
          - type: 'null'
          title: Interests
        tags:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Tags
      type: object
      title: MailchimpSubscribeRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MailchimpInterestsUpdateRequest:
      properties:
        interests:
          additionalProperties:
            type: boolean
          type: object
          title: Interests
          description: Dictionary of interest IDs and boolean values
      type: object
      required:
      - interests
      title: MailchimpInterestsUpdateRequest
    Body_sign_estimation_policy_me_sign_estimation_policy_post:
      properties:
        policy_id:
          type: string
          format: uuid
          title: Policy Id
          description: The ID of the policy to agree to.
      type: object
      required:
      - policy_id
      title: Body_sign_estimation_policy_me_sign_estimation_policy_post
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    UserMeUpdate:
      properties:
        first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Name
        profile_picture:
          anyOf:
          - type: string
          - type: 'null'
          title: Profile Picture
        user_prompt_bio:
          anyOf:
          - type: string
          - type: 'null'
          title: User Prompt Bio
        user_role:
          anyOf:
          - type: string
          - type: 'null'
          title: User Role
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        company_size:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Size
        referral_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Referral Source
        onboarding_completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Onboarding Completed At
      type: object
      title: UserMeUpdate
    UserResponse:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        email:
          type: string
          title: Email
        is_active:
          type: boolean
          title: Is Active
        is_verified:
          type: boolean
          title: Is Verified
        first_name:
          anyOf:
          - type: string
          - type: 'null'
          title: First Name
        last_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Name
        profile_picture:
          anyOf:
          - type: string
          - type: 'null'
          title: Profile Picture
        user_prompt_bio:
          anyOf:
          - type: string
          - type: 'null'
          title: User Prompt Bio
        estimation_policy_agreed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Estimation Policy Agreed At
        estimation_policy_signature:
          anyOf:
          - type: string
          - type: 'null'
          title: Estimation Policy Signature
        estimation_policy_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Estimation Policy Id
        onboarding_completed_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Onboarding Completed At
        user_role:
          anyOf:
          - type: string
          - type: 'null'
          title: User Role
        company_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Name
        company_size:
          anyOf:
          - type: string
          - type: 'null'
          title: Company Size
        referral_source:
          anyOf:
          - type: string
          - type: 'null'
          title: Referral Source
        last_login_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Last Login At
        login_count:
          anyOf:
          - type: integer
          - type: 'null'
          title: Login Count
        waitlist_qualified:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Waitlist Qualified
          default: false
        role:
          type: string
          title: Role
        frontend_permissions:
          items:
            type: string
          type: array
          title: Frontend Permissions
          description: List of frontend route permissions for the user
        backend_permissions:
          additionalProperties:
            items:
              type: string
            type: array
          type: object
          title: Backend Permissions
          description: Mapping of backend (API) route permissions to allowed HTTP methods for the user
      type: object
      required:
      - id
      - email
      - is_active
      - is_verified
      - role
      title: UserResponse
      description: Schema for user response including role information.
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: access_token
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key