Skip to main content
GET
/
data-lists
/
{typeOrId}
Obtener lista por UUID o listas por tipo
curl --request GET \
  --url http://api.gu1.ai/data-lists/{typeOrId} \
  --header 'Authorization: Bearer <token>'

Documentation Index

Fetch the complete documentation index at: https://docs.gu1.ai/llms.txt

Use this file to discover all available pages before exploring further.

Resumen

  • Si {typeOrId} es un UUID, devuelve una lista con ese id (visible para el tenant o global permitida).
  • Si no es UUID, se interpreta como tipo de lista (p. ej. custom, company_blocklist) y devuelve todas las listas activas de ese tipo.

Endpoint

GET https://api.gu1.ai/data-lists/{typeOrId}

Autenticación

Authorization: Bearer YOUR_API_KEY

Respuesta

  • By UUID: { "success": true, "data": { ...list } }
  • By type: { "success": true, "data": { "type", "lists", "total" } }
Errors: 400 invalid type, 404 list not found, 403 for marketplace-only lists not exposed via this API.