# Affectiva Facial Coding API

**Canonical:** https://apis.io/apis/affectiva/affectiva-facial-coding-api/  
**Provider:** Affectiva — https://apis.io/providers/affectiva/  
**Base URL:** https://index.affectiva.com  
**Documentation:** https://index.affectiva.com/swagger/index.html

Affectiva Facial Coding API is published by [Affectiva](https://apis.io/providers/affectiva/) on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. Tagged areas include Emotion AI, Facial Coding, Video Analysis, and Machine-Learning. The published artifact set on APIs.io includes an OpenAPI specification and an API reference.

The Affectiva Facial Coding API — branded internally as "EaaS" (Emotion as a Service) — is the cloud service behind Affectiva's facial-coding products. A consumer uploads video and receives frame-by-frame expression and Action Unit metrics as JSON or CSV. The published contract surface is thirteen Swagger 2.0 documents served from the Swagger UI at index.affectiva.com/swagger covering data collection projects, jobs, entries and their annotations, representations and representation storages, event configs and event instances, frame sampling jobs, video frames, video segments, and the labeling jobs / tasks / annotations trio. The live API answers HTTP Basic with WWW-Authenticate realm "Affectiva Facial Coding API"; all 51 operations require an account and there is no public self-service sign-up.

## Operations (5)

| Method | Path | Summary |
|---|---|---|
| GET | `/data_collection_projects` | Get all existing data collection projects |
| POST | `/data_collection_projects` | Add a new data collection project |
| GET | `/data_collection_projects/{id}` | Find data collection project by ID |
| PUT | `/data_collection_projects/{id}` | Updates a data collection project info |
| DELETE | `/data_collection_projects/{id}` | Delete data collection project by ID |

## Machine-readable artifacts (16)

- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-data_collection_projects.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-jobs.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-entries.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-representations.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-representation_storages.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-event_configs.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-event_instances.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-frame_sampling_jobs.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-video_frames.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-video_segments.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-labeling_jobs.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-labeling_tasks.json
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/openapi/affectiva-eaas-labeling_job_annotations.json
- **APIReference** — https://index.affectiva.com/swagger/index.html
- **Login** — https://index.affectiva.com/users/sign_in
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/affectiva/refs/heads/main/apis.yml

## Tags

Emotion AI, Facial Coding, Video Analysis, Machine-Learning

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/affectiva/affectiva-facial-coding-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/affectiva/.
