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

Endpoints

Getting started

First, you'll need to Generate an API key.

Next, your API endpoint is either:

  • https://[YOUR-TENANT-NAME].violetlabs.com/api/ for Violet customers

  • https://[YOUR-TENANT-NAME].violetgov.com/api/ for VioletGov customers

Note: If you wish to access an API endpoint to your Violet Staging sandbox environment, use the https://[YOUR-TENANT-NAME].staging.violetlabs.com/api/ or https://[YOUR-TENANT-NAME].staging.violetgov.com/api/ endpoints.

Available Endpoints

  • Explore – Query your Violet data using the same filters and columns available in the Data Explorer.

  • Entities – Retrieve a broad set of properties and metadata for one or more entities by ID, including thumbnail URLs.

  • Relationships – Query relationships between entities, such as the PO Lines on a Purchase Order or the Parts in an Assembly.

  • Activities – Query activity and change history across your Violet tenant or for a specific entity.

Try it out in Postman

To test in Postman:

  1. Create a new Postman request, select the POST method, and populate your URL (eg. https://magictoaster.violetlabs.com/api/explore/)

  2. In the Authorization tab, select API Key in the Auth Type dropdown. Enter x-api-key for the Key, and populate your API key for the Value.

  1. In the Body tab, select raw, then paste the API payload you generated for one of the supported endpoints. Click Send.

  1. Your results should appear below.

  1. We love using Postman's Visualizer to generate visualizations of your data:

Last updated

Was this helpful?