Cloudinary People API

APIs for accessing and managing face recognition results.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v1_1/{cloud_name}/people List people recognized in images · List recognized people #
Ask an LLM
“Which people have been recognized in my images?”
“Can I list only people whose names are set?”
Tell an agent
List recognized people in {cloud_name}.
List people in {cloud_name} named {name_prefix}.
GET /v1_1/{cloud_name}/people/{person_id} Get a recognized person · Get person details #
Ask an LLM
“What details are stored for one recognized person?”
“Can I look up a person by ID?”
Tell an agent
Get person {person_id} in {cloud_name}.
Show details of recognized person {person_id}.
PUT /v1_1/{cloud_name}/people/{person_id} Rename or change a person's thumbnail · Update a person #
Ask an LLM
“How do I rename a person Cloudinary already recognized?”
“Can I change the thumbnail image for a person?”
Tell an agent
Rename person {person_id} in {cloud_name} to {name}.
Set the thumbnail of person {person_id} to {thumbnail_asset_id}.
POST /v1_1/{cloud_name}/people/inspect Check my permissions on people · Inspect the caller's permitted actions on people #
Ask an LLM
“Am I allowed to update or delete the people in my environment?”
“Can I check permissions for several people at once?”
Tell an agent
Check my permissions on people {inspections} in {cloud_name}.
Inspect whether I can edit people {inspections}.

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/cloudinary:cloudinary-people-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

cloudinary-people-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudinary People API
  version: 0.7.10
  contact:
    name: Cloudinary Support
    email: support@cloudinary.com
    url: https://support.cloudinary.com
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  termsOfService: https://cloudinary.com/tou
  description: 'Operations tagged people across 3 of this provider''s published API definitions: cloudinary-api-schema.yml, cloudinary-asset-management-openapi.yml, cloudinary-platform-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{region}.cloudinary.com
  description: Regional API endpoints for optimal performance.
  variables:
    region:
      default: api
      description: Regional endpoint selection
      enum:
      - api
      - api-eu
      - api-ap
- url: https://{host}
  description: Custom domains for enterprise deployments.
  variables:
    host:
      default: api.cloudinary.com
      description: API host domain.
security:
- basicAuth: []
- oauth2:
  - asset_management
  - upload
  - media_generation
tags:
- name: People
  description: APIs for accessing and managing face recognition results.
paths:
  /v1_1/{cloud_name}/people:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    get:
      x-speakeasy-mcp:
        disabled: true
        name: list-people
        scopes:
        - admin
        title: List People
        readOnlyHint: true
        idempotentHint: true
      operationId: listPeople
      summary: List recognized people
      description: 'Returns a list of all recognized people in your product environment.

        People Search must be enabled for this product environment.'
      tags:
      - People
      parameters:
      - name: max_results
        in: query
        required: false
        description: 'The maximum number of people to return. Default: 50.'
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 50
        example: 20
      - $ref: '#/components/parameters/next_cursor_query'
      - name: name_status
        in: query
        required: false
        description: 'Filter by whether the person has been named. Default: all.'
        schema:
          type: string
          enum:
          - all
          - named
          - unnamed
          default: all
        example: named
      - name: name_prefix
        in: query
        required: false
        description: Filter people whose names start with the given prefix (case insensitive).
        schema:
          type: string
        example: Alice
      - name: status
        in: query
        required: false
        description: Filter by person status.
        schema:
          $ref: '#/components/schemas/person_status'
        example: active
      - name: sort_by
        in: query
        required: false
        description: 'The field to sort results by. Default: name (ascending).

          '
        schema:
          type: string
          enum:
          - name
          - created_at
          - updated_at
          default: name
        example: created_at
      - $ref: '#/components/parameters/direction'
      responses:
        '200':
          description: People retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/people_list_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid sort_by value
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '403':
          description: Feature not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: People Search is not enabled for this customer
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/people/{person_id}:
    parameters:
    - $ref: '#/components/parameters/cloud_name'
    - name: person_id
      in: path
      required: true
      description: The unique identifier of the person.
      schema:
        type: string
      example: f10f893da5a1586dca6764b22514aa0d25e6b867baffc4fb43a2318a25d8e5b2
    get:
      x-speakeasy-mcp:
        disabled: true
        name: get-person
        scopes:
        - admin
        title: Get Person
        readOnlyHint: true
        idempotentHint: true
      operationId: getPerson
      summary: Get person details
      description: 'Returns details of a specific recognized person.

        People Search must be enabled for this product environment.'
      tags:
      - People
      responses:
        '200':
          description: Person retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/person_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Missing person_id
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '403':
          description: Feature not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: People Search is not enabled for this customer
        '404':
          description: Person not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Can't find Person with id nonexistent
    put:
      x-speakeasy-mcp:
        disabled: true
        name: update-person
        scopes:
        - admin
        title: Update Person
        idempotentHint: true
      operationId: updatePerson
      summary: Update a person
      description: 'Updates a recognized person''s name, status, or thumbnail image.

        At least one of name, status, or thumbnail_asset_id must be provided.

        People Search must be enabled for this product environment.'
      tags:
      - People
      requestBody:
        description: The updated person attributes.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update_person_request'
      responses:
        '200':
          description: Person updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update_person_response'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              examples:
                name_too_long:
                  value:
                    error:
                      message: Name is too long, maximum is 255
                invalid_status:
                  value:
                    error:
                      message: Invalid status value, must be one of active, hidden
                missing_params:
                  value:
                    error:
                      message: Missing required parameter
                no_face:
                  value:
                    error:
                      message: No faces detected in the provided Asset
                wrong_person:
                  value:
                    error:
                      message: The provided Asset does not contain a face for this Person
        '401':
          description: Authentication error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Invalid credentials
        '403':
          description: Feature not enabled
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: People Search is not enabled for this customer
        '404':
          description: Person not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
              example:
                error:
                  message: Can't find Person with id nonexistent
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
  /v1_1/{cloud_name}/people/inspect:
    post:
      x-speakeasy-mcp:
        name: inspect-people-permissions
        scopes:
        - admin
        title: Inspect People Permissions
        readOnlyHint: true
        idempotentHint: true
        disabled: true
      summary: Inspect the caller's permitted actions on people
      description: Returns, for each requested person and action, whether the authenticated caller is permitted to perform that action.
      tags:
      - People
      operationId: inspectPeoplePermissions
      parameters:
      - $ref: '#/components/parameters/cloud_name'
      requestBody:
        description: The people and actions to inspect.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/people_inspect_request'
      responses:
        '200':
          description: The permission inspection results were successfully computed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/people_inspect_response'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/api_error'
    servers:
    - url: https://{region}.cloudinary.com
      description: Regional API endpoints for optimal performance.
      variables:
        region:
          default: api
          description: Regional endpoint selection
          enum:
          - api
          - api-eu
          - api-ap
    - url: https://{host}
      description: Custom domains for enterprise deployments.
      variables:
        host:
          default: api.cloudinary.com
          description: API host domain.
components:
  schemas:
    person_details:
      type: object
      description: Detailed information about a recognized person.
      properties:
        id:
          type: string
          description: The unique identifier of the person.
          example: a1b2c3d4e5f6
        name:
          type: string
          description: The display name of the person, or null if not named.
          example: Jane Doe
        status:
          $ref: '#/components/schemas/person_status'
          example: active
        thumbnail:
          $ref: '#/components/schemas/thumbnail'
        created_at:
          type: string
          format: date-time
          description: The date and time when the person was first detected.
          example: '2025-01-15T10:30:00Z'
        updated_at:
          type: string
          format: date-time
          description: The date and time when the person was last updated.
          example: '2025-01-20T14:45:00Z'
    person_response:
      type: object
      properties:
        person:
          $ref: '#/components/schemas/person_details'
    thumbnail:
      type: object
      description: The thumbnail image for a person.
      properties:
        asset_id:
          type: string
          description: The external ID of the asset used for the thumbnail.
          example: 2262b0b5eb88f1fd7724e29b0e57d730
        bounding_box:
          type: array
          description: The bounding box coordinates [x, y, width, height] of the face in the asset.
          items:
            type: integer
          minItems: 4
          maxItems: 4
          example:
          - 10
          - 20
          - 100
          - 150
        url:
          type: string
          format: uri
          description: The secure URL of the thumbnail asset.
          example: https://res.cloudinary.com/demo/image/upload/v1234567890/sample.jpg
        resource_type:
          type: string
          description: The resource type of the asset.
          example: image
        type:
          type: string
          description: The kind/type of the asset.
          example: upload
        public_id:
          type: string
          description: The public ID of the asset.
          example: sample
        version:
          type: integer
          description: The version number of the asset.
          example: 1234567890
    people_inspection_targets:
      type: object
      description: A map of inspectable types to the items and actions to inspect.
      properties:
        Person:
          $ref: '#/components/schemas/people_inspection_group'
      additionalProperties: true
    api_error:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
          - message
      required:
      - error
    update_person_request:
      type: object
      properties:
        name:
          type: string
          description: The display name for the person. Maximum 255 characters.
          maxLength: 255
          example: Jane Doe
        status:
          $ref: '#/components/schemas/person_status'
        thumbnail_asset_id:
          type: string
          description: The external ID of an asset containing this person's face to use as the thumbnail.
          example: 2262b0b5eb88f1fd7724e29b0e57d730
    direction_enum:
      type: string
      enum:
      - asc
      - desc
      description: Sort direction.
    update_person_response:
      type: object
      properties:
        person_id:
          type: string
          description: The unique identifier of the person.
          example: f10f893da5a1586dca6764b22514aa0d25e6b867baffc4fb43a2318a25d8e5b2
        name:
          type: string
          description: The display name of the person.
          example: Jane Doe
        status:
          $ref: '#/components/schemas/person_status'
    person_status:
      type: string
      description: The status of a person.
      enum:
      - active
      - hidden
    people_list_response:
      type: object
      properties:
        people:
          type: array
          description: A list of recognized person objects.
          items:
            $ref: '#/components/schemas/person_details'
        next_cursor:
          type: string
          description: The cursor to use for the next page of results.
    people_inspect_response:
      type: object
      description: The permission inspection results.
      properties:
        message:
          type: string
          description: A status message for the inspection request.
          example: ok
        inspections:
          type: object
          additionalProperties: true
          description: A map of inspected type to per-item, per-action permission results (true if permitted).
      required:
      - inspections
    people_inspection_group:
      type: object
      description: The items to inspect for a type and the actions to check against them.
      properties:
        items:
          type: object
          additionalProperties: true
          description: A map of caller-supplied cache keys to the person identifier to inspect.
        actions:
          type: object
          additionalProperties: true
          description: A map of action names to optional action context to inspect.
      required:
      - items
      - actions
    people_inspect_request:
      type: object
      description: The people and actions to inspect.
      properties:
        inspections:
          $ref: '#/components/schemas/people_inspection_targets'
      required:
      - inspections
  parameters:
    cloud_name:
      name: cloud_name
      in: path
      required: true
      schema:
        type: string
      description: The cloud name of your product environment.
      example: my_cloud
    next_cursor_query:
      name: next_cursor
      in: query
      required: false
      schema:
        type: string
      description: The cursor for pagination. Use the next_cursor value from a previous response to get the next page of results.
    direction:
      name: direction
      in: query
      required: false
      schema:
        $ref: '#/components/schemas/direction_enum'
      description: The sort direction for the results. Default is "desc".
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Basic authentication using Cloudinary API Key and API Secret.
    oauth2:
      type: oauth2
      description: OAuth2 Authorization Code flow for user authentication
      flows:
        authorizationCode:
          authorizationUrl: https://oauth.cloudinary.com/oauth2/auth
          tokenUrl: https://oauth.cloudinary.com/oauth2/token
          scopes:
            asset_management: Allows managing assets, including reading, updating, and deleting.
            upload: Allows uploading new assets.
            media_generation: Generate media
x-refined-from:
- cloudinary-api-schema.yml
- cloudinary-asset-management-openapi.yml
- cloudinary-platform-openapi.yml