For the complete documentation index, see llms.txt. This page is also available as Markdown.

[STAGING] Documentación de endpoints de la API

El endpoint de API de su organización será accesible en https://[YOUR-TENANT-NAME].staging.violetlabs.com/api/ o https://[YOUR-TENANT-NAME].staging.violetgov.com/api/ para clientes de Violet Gov.

post
Autorizaciones
AuthorizationstringRequerido
Bearer authentication header of the form Bearer <token>.
Cuerpo
keywordstringOpcional

Search keyword to filter entities

Example: part number
groupKeysarrayOpcional

Array of group keys (strings or objects)

sortobjectOpcional

Elasticsearch sort configuration

pagenumber · mín: 1Opcional

Page number (1-indexed)

Example: 1
limitnumber · mín: 1Opcional

Number of items per page

Example: 50
includeParametersbooleanOpcional

Whether to include parameters in the response

Default: false
includeSubEntitiesbooleanOpcional

Whether to include sub-entities in the response

Default: false
includeSchemasbooleanOpcional

Whether to include entity schemas in the response

Default: false
Respuestas
200

Search for entities

application/json
post/api/explore
200

Search for entities

get

Get all Violet Relationships, or relationship graph from a source entity. When sourceId is provided, returns a graph (entityNodes, requirementNodes, links) for traversal: Assembly → BOM → Parts, Part/BOM line → PO line → PO, PO ↔ Invoice ↔ Bill, PO/line → receipts/delivery. Use recursiveRelationshipTypes / nonRecursiveRelationshipTypes to restrict traversal; see GET /model for types.

Autorizaciones
AuthorizationstringRequerido
Bearer authentication header of the form Bearer <token>.
Parámetros de consulta
sourceIdstring · uuidOpcional

Violet entity ID to start graph traversal from. If omitted, returns all relationships.

recursiveRelationshipTypesstringOpcional

Comma-separated relationship types to follow recursively (e.g. assemblyContains,contains for BOM; containsPOLine,receipts,linkedTo for PO/delivery/3-way match). See GET /model for all types.

Example: assemblyContains,contains
nonRecursiveRelationshipTypesstringOpcional

Comma-separated relationship types to include only one level.

Example: contains
afterIdstring · uuidOpcional

When sourceId is omitted, cursor for keyset pagination: relationship id from the last item of the previous response. Omit for the first page. Ignored when sourceId is provided.

limitinteger · mín: 1 · máx: 500Opcional

When sourceId is omitted, max readable relationships per page (default 100, max 500). Ignored when sourceId is provided.

Default: 100
Respuestas
200

Without sourceId: array of relationships (paginated). With sourceId: graph of nodes and links.

application/json
o
get/api/violet-relationships
200

Without sourceId: array of relationships (paginated). With sourceId: graph of nodes and links.

Última actualización

¿Te fue útil?