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

# Get the latest completion per clearance

> For each clearance type that has been completed, when it was last completed and by whom — read from the events trail.



## OpenAPI

````yaml api-reference/doc-tool/ipd-api/ipd-sdk-openapi.json get /ipd/v1/sdk/admissions/{admission_id}/events/latest-clearance-meta
openapi: 3.1.0
info:
  title: Eka IPD Admission API
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /ipd/v1/sdk/admissions/{admission_id}/events/latest-clearance-meta:
    get:
      tags:
        - IPD API
      summary: Get the latest completion per clearance
      description: >-
        For each clearance type that has been completed, when it was last
        completed and by whom — read from the events trail.
      operationId: IpdSdkGetTheLatestCompletionPerClearance
      parameters:
        - name: auth
          in: header
          required: true
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
        - schema:
            minLength: 1
            type: string
          in: path
          name: admission_id
          required: true
          description: Id of the IPD admission.
      responses:
        '200':
          description: Latest completion per clearance type, keyed by type.
          content:
            application/json:
              schema:
                description: Latest completion per clearance type, keyed by type.
                type: object
                additionalProperties:
                  additionalProperties: true
                  type: object
                  required:
                    - at
                  properties:
                    at:
                      description: When it was last completed (ISO date-time).
                      type: string
                    actorName:
                      description: Who completed it.
                      type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string
        '404':
          description: >-
            Not Found — the admission (or the addressed record) does not exist
            in your workspace.
          content:
            application/json:
              schema:
                type: object
                required:
                  - message
                properties:
                  message:
                    type: string

````

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