Kairos AR Galleries API

Manage galleries and the subjects/face templates enrolled in them.

Operations 5

POST /gallery/list_all List all galleries #
POST /gallery/view View subjects in a gallery #
POST /gallery/view_subject View face templates for a subject #
POST /gallery/remove Remove a gallery #
POST /gallery/remove_subject Remove a subject or face template #

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/kairos-ar-galleries-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

kairos-ar-galleries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kairos Face Recognition & Emotion Analysis Galleries API
  version: '2.0'
  description: Kairos is a human-analytics platform that integrates facial recognition, emotion, and demographic data into apps and services over a REST-style API. The Face Recognition group enrolls, verifies, recognizes and detects faces against galleries you create; the Emotion Analysis group processes media (images/video) and returns the six universal emotions, demographics and attention tracking. Requests and responses are JSON; every request is authenticated with an app_id + app_key header pair.
  contact:
    name: Kairos Support
    url: https://www.kairos.com/support
    email: support@kairos.com
  x-apievangelist-generated: true
  x-apievangelist-source: https://kairos.docs.apiary.io/api-description-document
servers:
- url: https://api.kairos.com
  description: Kairos production API
security:
- app_id: []
  app_key: []
tags:
- name: Galleries
  description: Manage galleries and the subjects/face templates enrolled in them.
paths:
  /gallery/list_all:
    post:
      operationId: listGalleries
      tags:
      - Galleries
      summary: List all galleries
      description: Lists all of the galleries you have created. Requires no parameters.
      responses:
        '200':
          description: List of gallery ids.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryList'
  /gallery/view:
    post:
      operationId: viewGallery
      tags:
      - Galleries
      summary: View subjects in a gallery
      description: Lists all of the subjects you have enrolled in a gallery.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryNameRequest'
      responses:
        '200':
          description: List of subject ids (or an error envelope).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/SubjectList'
                - $ref: '#/components/schemas/ErrorEnvelope'
  /gallery/view_subject:
    post:
      operationId: viewSubject
      tags:
      - Galleries
      summary: View face templates for a subject
      description: Displays all face_ids and enrollment timestamps for each template enrolled from a given gallery_name and subject_id.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubjectRequest'
      responses:
        '200':
          description: List of face templates (or an error envelope).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/FaceTemplateList'
                - $ref: '#/components/schemas/ErrorEnvelope'
  /gallery/remove:
    post:
      operationId: removeGallery
      tags:
      - Galleries
      summary: Remove a gallery
      description: Removes a gallery and all of its enrolled subjects.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryNameRequest'
      responses:
        '200':
          description: Removal status (or an error envelope).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/StatusMessage'
                - $ref: '#/components/schemas/ErrorEnvelope'
  /gallery/remove_subject:
    post:
      operationId: removeSubject
      tags:
      - Galleries
      summary: Remove a subject or face template
      description: Removes a subject from a gallery. If a face_id is supplied only that individual enrolled template is removed. Once the last subject is removed the gallery is removed automatically.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoveSubjectRequest'
      responses:
        '200':
          description: Removal status (or an error envelope).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/StatusMessage'
                - $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    StatusMessage:
      type: object
      properties:
        status:
          type: string
        message:
          type: string
    FaceTemplateList:
      type: object
      properties:
        status:
          type: string
        face_ids:
          type: array
          items:
            type: object
            properties:
              face_id:
                type: string
              enrollment_timestamp:
                type: string
    SubjectRequest:
      type: object
      required:
      - gallery_name
      - subject_id
      properties:
        gallery_name:
          type: string
        subject_id:
          type: string
    ErrorEnvelope:
      type: object
      description: Kairos error envelope, returned (typically with HTTP 200) on failure.
      properties:
        Errors:
          type: array
          items:
            type: object
            properties:
              Message:
                type: string
                example: no faces found in the image
              ErrCode:
                type: integer
                example: 5002
    GalleryList:
      type: object
      properties:
        status:
          type: string
        gallery_ids:
          type: array
          items:
            type: string
    SubjectList:
      type: object
      properties:
        status:
          type: string
        subject_ids:
          type: array
          items:
            type: string
    GalleryNameRequest:
      type: object
      required:
      - gallery_name
      properties:
        gallery_name:
          type: string
    RemoveSubjectRequest:
      type: object
      required:
      - gallery_name
      - subject_id
      properties:
        gallery_name:
          type: string
        subject_id:
          type: string
        face_id:
          type: string
          description: Optional. Remove only the individual template matching this face_id.
  securitySchemes:
    app_id:
      type: apiKey
      in: header
      name: app_id
      description: Your Kairos APP_ID, from https://developer.kairos.com.
    app_key:
      type: apiKey
      in: header
      name: app_key
      description: Your Kairos APP_KEY, from https://developer.kairos.com.