> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/es/funciones/api/puntos-de-conexion.md).

# Puntos de conexión

## Primeros pasos

Primero, necesitarás [Genere una clave de API](/es/funciones/api/genere-una-clave-de-api.md).

A continuación, tu endpoint de API es uno de los siguientes:

* `https://[YOUR-TENANT-NAME].violetlabs.com/api/` para clientes de Violet
* `https://[YOUR-TENANT-NAME].violetgov.com/api/` para clientes de VioletGov

*Nota: Si deseas acceder a un endpoint de API en tu entorno sandbox de Violet Staging, utiliza el* `https://[YOUR-TENANT-NAME].staging.violetlabs.com/api/` o `https://[YOUR-TENANT-NAME].staging.violetgov.com/api/`  *endpoints*.

### Endpoints disponibles

* [Explorar](/es/funciones/api/puntos-de-conexion/explorar.md) – Consulta tus datos de Violet usando los mismos filtros y columnas disponibles en el Explorador de datos.
* [Entidades](/es/funciones/api/puntos-de-conexion/entidades.md) – Recupera un amplio conjunto de propiedades y metadatos para una o más entidades por ID, incluidas las URL de miniaturas.
* [Relaciones](/es/funciones/api/puntos-de-conexion/relaciones.md) – Consulta relaciones entre entidades, como las líneas de pedido de compra en una orden de compra o las piezas en un ensamblaje.
* [Actividades](/es/funciones/api/puntos-de-conexion/actividades.md) – Consulta la actividad y el historial de cambios en todo tu tenant de Violet o para una entidad específica.

### Pruébalo en Postman

Para probar en [Postman](https://postman.com/):

1. Crea una nueva solicitud en Postman, selecciona el `POST` método y completa tu URL (por ejemplo, <https://magictoaster.violetlabs.com/api/explore/>)
2. En la pestaña Authorization, selecciona **API Key** en el menú desplegable Auth Type. Ingresa `x-api-key` como Key y completa tu clave de API como Value.

<figure><img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2F8ffvA6smXgSFdqQ5TVh4%2FScreenshot%202026-03-10%20at%2012.34.04%E2%80%AFPM.png?alt=media&amp;token=926d847c-382e-4be3-835b-7e406adc0613" alt="" width="563"><figcaption></figcaption></figure>

3. En la pestaña Body, selecciona **raw**, luego pega la carga útil de la API que generaste para uno de los endpoints compatibles. Haz clic en **Send**.

<figure><img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FTsjGDFIRXqgxfzcofZLG%2FScreenshot%202026-03-10%20at%2012.18.01%E2%80%AFPM.png?alt=media&amp;token=765072ff-19e8-46c9-ac8f-bab1a8aa7156" alt="" width="563"><figcaption></figcaption></figure>

4. Tus resultados deberían aparecer abajo.

<figure><img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FDuls4cJ9GjkggjMW6gTk%2FScreenshot%202026-03-10%20at%2012.37.07%E2%80%AFPM.png?alt=media&amp;token=38cead0b-37f5-4f23-ba96-763384eaea00" alt="" width="563"><figcaption></figcaption></figure>

5. Nos encanta usar el [Visualizer](https://learning.postman.com/docs/sending-requests/response-data/visualizer) de Postman para generar visualizaciones de tus datos:

<figure><img src="https://3116332745-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FYJtrOjtzSYnbyg0A5AjT%2FPostman%20visualizer.png?alt=media&amp;token=fd13b0bd-86d9-448c-adf7-6c58fda02656" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.violetlabs.com/es/funciones/api/puntos-de-conexion.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
