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

# Check that a face can be used

> A face can be used by the account that created it, and, when it is public, by any account that has its face ID. Public faces are not discoverable: no endpoint lists or searches other accounts' faces, so another account can use a public face only if it has been given the ID.



## OpenAPI

````yaml https://api.simli.ai/openapi.yaml get /face/{id}
openapi: 3.1.0
info:
  title: Simli
  version: 1.0.0
servers:
  - url: https://api.simli.ai/
    description: API server
security:
  - ApiKeyAuth: []
paths:
  /face/{id}:
    parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
    get:
      summary: Check that a face can be used
      description: >-
        A face can be used by the account that created it, and, when it is
        public, by any account that has its face ID. Public faces are not
        discoverable: no endpoint lists or searches other accounts' faces, so
        another account can use a public face only if it has been given the ID.
      responses:
        '200':
          description: The face is yours or public
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FaceAccess'
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '403':
          description: The face is neither yours nor public
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: >-
                  Face dd57684f-2a27-495b-acee-917a2e5c5ad5 is not yours and is
                  not public
        '404':
          description: No such face
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    FaceAccess:
      type: object
      additionalProperties: false
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        simli_version:
          type: integer
          description: Version of the Simli model used for the face
          example: 1
        is_public:
          type: boolean
          description: >-
            Whether the face is public: usable by any account that has its face
            ID, though not listed or discoverable
        is_owner:
          type: boolean
          description: >-
            Whether the face is your own. When false, you can use it because it
            is public and you have its ID
      required:
        - id
        - name
        - simli_version
        - is_public
        - is_owner
    Error:
      type: object
      properties:
        error:
          type: string
          description: Error message
        code:
          type: string
          description: Error code
      required:
        - error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-simli-api-key

````

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