> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deepface.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Prepare an optional agent integration check

> Use the application's standard API key for a confirmed account, with the owner's agreement, immediately before one already authorized compute call through the integrated backend. This declaration alone does not record a completed integration. The server must observe a matching successful completion with the same key and request ID within 30 minutes.



## OpenAPI

````yaml /openapi/deepface.openapi.yaml post /api/integration-check
openapi: 3.1.0
info:
  title: deepface.dev API
  version: v1
  summary: Managed API for face verification, embeddings, and vector comparison.
  description: >
    Canonical OpenAPI contract for the public deepface.dev gateway. This covers
    the public surface: health, readiness, capabilities, verify, represent, and
    compare. Account spending alerts and integration checks use the per-path
    www.deepface.dev server. After the coordinated gateway release, anonymous
    accounts are limited to 2 requests/minute across Machines, one active
    inference and no waiting queue. Full account rate tiers are 15
    requests/minute by default, 30 with positive paid wallet funding, and
    60/100/200/300 strictly above $10/$20/$50/$100 lifetime USD wallet funding.
    Enterprise accounts receive 300. Only verified live non-test credited
    top-ups count. Counters are per gateway process unless Redis is shared. Paid
    prepaid wallets with active auto-topup and a valid saved card receive up to
    20 percent off the starting rate. Image calls start at USD 2 per 1,000,
    including photo-to-vector checks; vector-only requests start at USD 0.20 per
    1,000 pairs. Volume discounts approach final floors of USD 1 and USD 0.10
    per 1,000 respectively. Priority processing is twice the discounted rate.
  license:
    name: Proprietary
    url: https://deepface.dev/terms
servers:
  - url: https://api.deepface.dev
    description: Production gateway
security:
  - BearerAuth: []
  - ApiKeyHeader: []
tags:
  - name: Service
    description: Read-only service metadata and health routes.
  - name: Compute
    description: Authenticated face verification and vector-comparison endpoints.
  - name: Account
    description: Account settings and optional integration checks on the website origin.
paths:
  /api/integration-check:
    servers:
      - url: https://www.deepface.dev
        description: Account API (separate from the compute gateway)
    post:
      tags:
        - Account
      summary: Prepare an optional agent integration check
      description: >-
        Use the application's standard API key for a confirmed account, with the
        owner's agreement, immediately before one already authorized compute
        call through the integrated backend. This declaration alone does not
        record a completed integration. The server must observe a matching
        successful completion with the same key and request ID within 30
        minutes.
      operationId: prepareAgentIntegrationCheck
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - performed_by
              properties:
                performed_by:
                  type: string
                  enum:
                    - agent
                agent_client:
                  type:
                    - string
                    - 'null'
                  enum:
                    - codex
                    - claude-code
                    - cursor
                    - github-copilot
                    - gemini-cli
                    - devin
                    - antigravity
                    - other
                    - null
                  description: Optional coding client. Omit when unknown.
      responses:
        '200':
          description: >-
            For ready, pass the issued UUID as X-Request-Id on that single
            compute call. Pending indicates an outstanding check, and recorded
            indicates a previously confirmed check. Neither returns a request
            ID.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    required:
                      - state
                      - request_id
                      - expires_at
                    properties:
                      state:
                        type: string
                        enum:
                          - ready
                      request_id:
                        type: string
                        format: uuid
                      expires_at:
                        type: string
                        format: date-time
                  - type: object
                    required:
                      - state
                    properties:
                      state:
                        type: string
                        enum:
                          - pending
                          - recorded
        '400':
          description: Invalid JSON or declaration
        '401':
          description: An active standard API key is required
        '403':
          description: Account is ineligible or request origin is forbidden
        '408':
          description: Request body timed out
        '413':
          description: Request body exceeds 1024 bytes
        '415':
          description: Content-Type must be application/json
        '429':
          description: Integration-check request rate limit exceeded
        '503':
          description: Integration tracking is unavailable
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: Use your API key as a bearer token.
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: Alternative header for API key authentication.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.