Affectiva Video Segments API

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

Operations 2

POST /video_segments New Video Segments #
DELETE /video_segments/{id} Delete video segment object #

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-video-segments-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-video-segments-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: This is a documentation for Eaas api-experiments
  version: 0.1.0
  title: Eaas api's Video Segments API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: /
tags:
- name: video_segments
  externalDocs:
    description: Find out more
    url: http://swagger.io
paths:
  /video_segments:
    post:
      tags:
      - video_segments
      summary: New Video Segments
      description: Each video segment entry represents a scenario
      responses:
        '201':
          description: Created
        '422':
          description: Unprocessable Entity
        '500':
          description: Internal Server Error
      security:
      - basicAuth: []
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - segment_sampling_job_id
              - segment_entry_id
              - start_ts_ms
              - end_ts_ms
              - start_frame_index
              - end_frame_index
              - start_frame_num
              - end_frame_num
              properties:
                segment_sampling_job_id:
                  type: integer
                  format: int64
                  description: Sampling job id
                  example: 4305
                segment_entry_id:
                  description: entry id
                  type: integer
                  format: int64
                  example: 7435900914230181163
                start_ts_ms:
                  description: start timestamp
                  type: integer
                  format: int64
                  example: 16433976073929140
                end_ts_ms:
                  description: end timestamp, must be greater than 0
                  type: integer
                  format: int64
                  example: 16433976568614800
                start_frame_index:
                  description: start frame index
                  type: integer
                  format: int64
                  example: 112
                end_frame_index:
                  description: end frame index,  must be greater than 0
                  type: integer
                  format: int64
                  example: 308
                start_frame_num:
                  description: start frame number
                  type: integer
                  format: int64
                  example: 567390
                end_frame_num:
                  description: end frame number,  must be greater than 0
                  type: integer
                  format: int64
                  example: 570358
        required: true
      operationId: postVideoSegments
      x-operation-id-source: derived
  /video_segments/{id}:
    delete:
      tags:
      - video_segments
      summary: Delete video segment object
      description: Delete video segment object using video segment id
      parameters:
      - name: id
        in: path
        description: Video segment object id
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          description: Not content
        '404':
          description: Video segment not found
      security:
      - basicAuth: []
      operationId: deleteVideoSegmentsById
      x-operation-id-source: derived
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
externalDocs:
  description: Find out more about Swagger
  url: http://swagger.io