API Reference
Trunk APIs for building custom integrations.
Last updated
Trunk APIs for building custom integrations.
Last updated
Trunk provides HTTP REST APIs for each of our features. The APIs use status codes to indicate the success or failure of requests, return JSON from all requests, and use standard HTTP response codes. All API requests must be authenticated.
: for accessing information like quarantined tests in your repo.
: for controlling the Trunk Merge Queue
: for submitting events to be tracked by the CI Analytics engine.
Authenticate to the API with an API key using the header x-api-token
.
You can find your API token in the .
To submit an empty list of events to be tracked, do the following from the command line.