provider Insights deployments (beta) POST /api/v2/engineering-insights/deployment-events
@utdk/launchdarkly /api/v2/engineering-insights/deployment-events
Create deployment event
Create deployment event

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createdeploymentevent
POST/api/v2/engineering-insights/deployment-events
Create deployment event

Input

required

The project key

required

The environment key

required

The application key. This defines the granularity at which you want to view your insights metrics. Typically it is the name of one of the GitHub repositories that you use in this project.<br/><br/>LaunchDarkly automatically creates a new application each time you send a unique application key.

The application name. This defines how the application is displayed

The kind of application. Default: <code>server</code>

required

The application version. You can set the application version to any string that includes only letters, numbers, periods (<code>.</code>), hyphens (<code>-</code>), or underscores (<code>_</code>).<br/><br/>We recommend setting the application version to at least the first seven characters of the SHA or to the tag of the GitHub commit for this deployment.

The version name. This defines how the version is displayed

required

The event type

A JSON object containing metadata about the event

A JSON object containing metadata about the deployment

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.createdeploymentevent()