---
title: "GET /api/v1/selphid/identify/obsolete/{galleryId}/{intervalSeconds}"
method: GET
path: "/api/v1/selphid/identify/obsolete/{galleryId}/{intervalSeconds}"
tags: ["Gallery 1:n"]
---

# GET /api/v1/selphid/identify/obsolete/{galleryId}/{intervalSeconds}

`GET /api/v1/selphid/identify/obsolete/{galleryId}/{intervalSeconds}`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/facephi/apis/selphid-sdk-rest-api/docs/api/v1/selphid/identify/obsolete/:galleryId/:intervalSeconds/get.ts> (a function with typed inputs; its response is checked against the schema)

Lista todas las plantillas faciales anteriores a un intervalo de tiempo determinado.

## Path parameters

- `galleryId` string, required: El nombre de una galería de plantillas faciales.
- `intervalSeconds` integer, required: Intervalo de tiempo en segundos, utilizado normalmente para comprobar las marcas de tiempo de templateRaw.

## Response `200`

Un array de templateIDs cuya marca de tiempo es anterior al intervalo proporcionado.

- FacialTemplateIds: Una lista de templateId.
  - `templateIds` FacialTemplateId[]

## Other responses

- `400`: Parámetros incorrectos en la solicitud.
- `500`: Se ha producido un error en la llamada al backend de SelphID-SDK.

---

[API](https://skmtc.dev/facephi/apis/selphid-sdk-rest-api.md) - [All operations](https://skmtc.dev/facephi/apis/selphid-sdk-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/facephi/apis/selphid-sdk-rest-api/revisions/acc985032f98?raw)
