Affectiva event instances API

The event instances API from Affectiva — 2 operation(s) for event instances.

Operations 5

GET /data_collection_projects/{projectID}/event_configs/{configID}/event_instances Get the project's event instance #
POST /data_collection_projects/{projectID}/event_configs/{configID}/event_instances Add a new event instance to the project #
GET /data_collection_projects/{projectID}/event_configs/{configsID}/event_instances/{instanceID} Find an event instance by ID #
PUT /data_collection_projects/{projectID}/event_configs/{configsID}/event_instances/{instanceID} Updates an event instance #
DELETE /data_collection_projects/{projectID}/event_configs/{configsID}/event_instances/{instanceID} Delete event instance by ID #

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/affectiva-event-instances-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

affectiva-event-instances-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is a documentation for Eaas api-experiments
  version: 0.1.0
  title: Eaas event instances API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: /
tags:
- name: event instances
  externalDocs:
    description: Find out more
    url: http://swagger.io
paths:
  /data_collection_projects/{projectID}/event_configs/{configID}/event_instances:
    get:
      tags:
      - event instances
      summary: Get the project's event instance
      responses:
        '200':
          description: Success
        '404':
          description: Not found
        '405':
          description: Invalid input
      parameters:
      - in: path
        name: projectID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: configID
        required: true
        schema:
          type: integer
          format: int64
      security:
      - basicAuth: []
      operationId: getDataCollectionProjectsByProjectIDEventConfigsByConfigIDEventInstances
      x-operation-id-source: derived
    post:
      tags:
      - event instances
      summary: Add a new event instance to the project
      parameters:
      - in: path
        name: projectID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: configID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '201':
          description: Success,created
        '422':
          description: Unprocessable Entity
      security:
      - basicAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - parent_entry_id
              properties:
                parent_entry_id:
                  type: integer
                start_frame_num:
                  type: integer
                  example: 20
                end_frame_num:
                  type: integer
                  example: 40
                start_ts_ms:
                  type: integer
                  example: 16433976073929140
                end_ts_ms:
                  type: integer
                  example: 16433976073929170
      operationId: postDataCollectionProjectsByProjectIDEventConfigsByConfigIDEventInstances
      x-operation-id-source: derived
  /data_collection_projects/{projectID}/event_configs/{configsID}/event_instances/{instanceID}:
    get:
      tags:
      - event instances
      summary: Find an event instance by ID
      description: Returns a single event instance
      parameters:
      - in: path
        name: projectID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: configsID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: instanceID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Success
        '400':
          description: Bad request
        '404':
          description: Not found
      security:
      - basicAuth: []
      operationId: getDataCollectionProjectsByProjectIDEventConfigsByConfigsIDEventInstancesByInstanceID
      x-operation-id-source: derived
    put:
      tags:
      - event instances
      summary: Updates an event instance
      description: ''
      parameters:
      - name: projectID
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - name: configsID
        in: path
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: instanceID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          description: Updated successfully
        '400':
          description: Bad request
        '404':
          description: Not found
        '422':
          description: Unprocessable Entity
      security:
      - basicAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                start_frame_num:
                  type: integer
                  example: 20
                end_frame_num:
                  type: integer
                  example: 40
                start_ts_ms:
                  type: integer
                  example: 16433976073929140
                end_ts_ms:
                  type: integer
                  example: 16433976073929170
      operationId: putDataCollectionProjectsByProjectIDEventConfigsByConfigsIDEventInstancesByInstanceID
      x-operation-id-source: derived
    delete:
      tags:
      - event instances
      summary: Delete event instance by ID
      parameters:
      - in: path
        name: projectID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: configsID
        required: true
        schema:
          type: integer
          format: int64
      - in: path
        name: instanceID
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          description: Deleted successfully
        '400':
          description: Bad request
        '404':
          description: Not found
      security:
      - basicAuth: []
      operationId: deleteDataCollectionProjectsByProjectIDEventConfigsByConfigsIDEventInstancesByInstanceID
      x-operation-id-source: derived
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
externalDocs:
  description: Find out more about Swagger
  url: http://swagger.io