Two Kinds of Key
Velatir has two key types, and they are not interchangeable. Both are created on the same settings page, which is why it is worth being precise about which one a task needs.If you are rolling Velatir out to people’s devices, you want an ingestion key, not an API key. Start
from the quickstart instead.
What You Can Do With an API Key
An API key reaches the organisation endpoints as an administrator. In practice that covers reading your traces, assessments, and agents, and managing instructions — the main reason customers automate against Velatir. Some things are deliberately closed to an API key:- Creating keys. Only a signed-in person can create a key, so a leaked key cannot mint itself a replacement or quietly widen its own foothold.
- Submitting activity. An API key is rejected by the ingestion endpoints, and an ingestion key is rejected by the organisation endpoints. Neither can stand in for the other.
Changes Are Attributed to the Key
Anything an API key changes is recorded against the name you gave the key, not against a person and not as an anonymous system actor. A key namedroadmap-sync produces an audit trail that reads clearly a
year later; one named test does not.
Give each integration its own key, named for the system that holds it.
Authentication
Create a key, send it with a request, and find your organisation id.
Instructions over the API
Create, update, and remove instructions programmatically.