> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vibraniumlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connections

A connection is an HTTP endpoint your organization registers so Vibe OnCall can call it: an address and a method, request headers whose secret values are stored encrypted, a timeout, and — optionally — the endpoint's own documentation. What stands behind the address is your choice: one of your own internal services, or a third party's API. The connection is the registration, not the system behind it.

**Where to find it:** Settings → Global → Connections

***

## Who calls a connection

One registration, two callers. Each decides for itself what to send and what to do with the answer.

| **Caller** | **What it does** |
| - | - |
| **An automation** | The **Invoke REST connection** action sends alert or incident data to the endpoint when an automation fires. On the **Alert is created** trigger it can also read values out of the response and write them onto the alert. |
| **Vibe OnCall, in conversation** | Asked something it cannot answer from its own records, Vibe OnCall can send a request to a registered endpoint and read the reply. It composes that request from the endpoint's **Documentation**. |

Vibe OnCall can list your registered endpoints, read one together with its document, and send a request — always on behalf of a person who asked, never on its own. It cannot create, change, or delete a connection; that stays in Settings. Header values are attached to the request on the server and are never shown to it, and a response is treated as data to read, not as instructions to follow.

***

## Create a connection

![](https://mintcdn.com/vibranium-labs/z6cYEzz6lasH-USn/images/alerts/21-Screenshot_2026-11-13_at_11.32.18_AM.png?fit=max\&auto=format\&n=z6cYEzz6lasH-USn\&q=85\&s=7c2b57c85225de51f712ab87c29df743)

1. Go to **Settings → Global → Connections** and select **Create connection**.
2. Name the connection. The name must be unique in your organization. The optional description is a one-line note for whoever picks it from a list later.
3. Under **Endpoint**, choose the HTTP method and enter the base URL. Add a path if the endpoint always needs one. Leave query strings out of it — a stored path containing `?` cannot have a path appended to it later, which rules the connection out of both automation path templates and requests Vibe OnCall composes. Put query parameters on the caller instead.
4. Under **Headers**, add whatever the endpoint requires: `Authorization`, `Content-Type`, an API key. Turn on **Secret** for any value that is a credential.
5. Under **Documentation**, paste the endpoint's own API documentation. See below for what this changes.
6. Set **Timeout (ms)** — how long to wait for a response before the request is treated as failed.
7. Optionally, under **Signing secret**, select **Set secret** and paste a secret your endpoint also knows. See below for what this changes.
8. Leave **Connection enabled** on and select **Create**.

### Field reference

| **Field** | **What it controls** |
| - | - |
| **Method** | `GET`, `POST`, `PUT`, `PATCH`, or `DELETE`. Fixed on the connection; callers cannot change it. |
| Base URL | The address. Must be `https://` — an `http://` address saves but fails on every request. |
| Path | Optional, appended to the base URL. It cannot contain a query string or fragment if anything will append a path to it — an automation's path template or a request Vibe OnCall composes both fail against a stored path holding `?`. Query parameters belong on the caller. |
| **Headers** | Sent with every request. A value marked **Secret** is encrypted at rest and never returned — when you edit the connection later, leave it blank to keep the stored value. |
| **Documentation** | The endpoint's own manual. Optional, and the difference between an endpoint that can be asked new questions and one that cannot. |
| **Timeout (ms)** | How long to wait before the request fails. Between 100 and 10,000. The connection itself does not retry; an **Invoke REST connection** automation action retries some failures on its own. |
| **Signing secret** | Optional, 32–256 characters. When set, every request is signed with HMAC-SHA256 so your endpoint can verify it came from Vibe. Encrypted at rest and never shown again — the card reads **Not configured** or a masked value, with **Replace** and **Remove**. |
| **Connection enabled** | When off, the connection is paused and sends no requests. Callers fail immediately rather than waiting. |

***

## Documentation: what it changes

The **Documentation** field is the endpoint's own manual, in your organization's words — what it serves, how a request is shaped, what comes back. None of that is derivable from the address, which is why it is a field rather than something the platform can work out.

It decides what can be asked of the endpoint:

* **With a document**, Vibe OnCall can compose a request nobody has written before — a different path, a different query, a body built for the question in front of it.
* **Without one**, the endpoint still works, but only for the exact requests your automations were already built for. Nothing composes a new one.

Paste the real documentation rather than a summary: the paths, the parameters, the shape of what comes back, and any rule a caller has to respect. Up to 50,000 characters.

> [!NOTE]
>
> A document is not a permission boundary. Anything the endpoint will do for the credentials stored on this connection, it will do for a request composed from the document. Register endpoints scoped to what you want reachable, and give the connection the narrowest credentials that work.

***

## Signing secret: proving a request came from Vibe

An endpoint on the public internet cannot tell a request from Vibe OnCall apart from one anybody else sends — unless the connection has a **Signing secret**. With one set, every request the connection sends — from an automation, a dry run, or Vibe OnCall in conversation — is signed with HMAC-SHA256, keyed with the secret. Your endpoint recomputes the signature with the same secret and rejects a request that does not match.

### Signature headers

| Header | Value |
| - | - |
| `X-Vibe-Timestamp` | Unix seconds when the request was sent. A request that is sent again gets a new timestamp and a new signature. |
| `X-Vibe-Signature` | `v1=` followed by 64 lowercase hexadecimal characters — the HMAC-SHA256 described below. |

A connection without a signing secret sends neither header.

### How the signature is computed

1. Take the `X-Vibe-Timestamp` value exactly as sent — a whole number of seconds, such as `1794536567`.
2. Take the request body exactly as it arrived, byte for byte. A request without a body has an empty body.
3. Join them with a single period: the timestamp, then `.`, then the body. With no body, the text is the timestamp followed by a period, such as `1794536567.`.
4. Compute HMAC-SHA256 over that text (UTF-8). The key is the signing secret exactly as you entered it, as UTF-8 text — not decoded from Base64 or hex.
5. Write the result as lowercase hexadecimal and put `v1=` in front.

Only the timestamp and the body are signed. The method, URL, path, query string, and other headers are not part of the signature.

### Test values

Check your implementation against these before connecting a real endpoint:

| Input | Value |
| - | - |
| Signing secret | `test_secret_0123456789abcdef0123456789` |
| `X-Vibe-Timestamp` | `1794536567` |
| Body | `{"eventType":"ALERT_CREATED","alertId":42}` |
| Signed text | `1794536567.{"eventType":"ALERT_CREATED","alertId":42}` |
| `X-Vibe-Signature` | `v1=4ceb7a2de1856da529c6b5cf43806d9d8c43c750d97eb2bbb4a419efecb328b0` |

With the same secret and timestamp and no body, the signed text is `1794536567.` and the header is `v1=c181f90636f3d5cc82b7e59dba5a9ef82619be5e4213f32d6dde9ea40b626fe2`.

### Verify on your endpoint

1. Read the raw body before any JSON parsing. A body that has been parsed and serialized again can differ in spacing or key order and will not match.
2. Compute the signature as above and compare it to `X-Vibe-Signature` with a constant-time comparison.
3. Reject a timestamp more than five minutes away from your clock, so a captured request cannot be replayed later.

### Manage the secret

Open the connection:

* **Set secret** adds one. The form refuses fewer than 32 or more than 256 characters.
* **Replace** swaps it for a new value. Update your endpoint at the same time, or it will reject requests signed with the new secret.
* **Remove** stops signing once you save. Until then, **Undo** keeps the stored secret.

A stored secret cannot be read back. If you lose it, replace it.

***

## Enriching an alert from a connection

Alert enrichment is configured as an automation, not as a routing rule. Create an automation on the **Alert is created** trigger with an **Invoke REST connection** action, then declare **response mappings** on that action: named paths out of the response are written onto the alert.

Two rules make an ordered chain of steps behave like one lookup with fallbacks — a step whose path is absent from the response writes nothing rather than failing, and a value an earlier step already wrote is left alone, so the first step that answers wins. Full detail, including how to project a list of records into a shape your responders can read, is on [the Invoke REST connection page](https://docs.vibraniumlabs.ai/automations/invoke-rest-connection.md).

> [!NOTE]
>
> Earlier versions configured this as an "Enrich from connection" action on a routing rule. That action has been retired — enrichment now lives on the automation action, where the request and the mappings are configured together.

***

## Test a connection with a dry run

Open a saved connection and select **Dry run** to send its stored request as-is and see what comes back: the status code, how long it took, and the raw response body. Save any pending edits first — a dry run tests what is stored, not what is on screen.

A dry run sends no request body, so it exercises the address, the headers, and the credentials rather than a full call. An endpoint that requires a body may answer with an error; that still tells you the request reached it.

If the connection has a signing secret, the dry run is signed too — over an empty body — so it also checks that your endpoint verifies signatures. A dry run is sent once and never retried.

***

## History

The History tab records changes to a connection's name, description, method, base URL, path, timeout and enabled state, along with each header added, changed, or removed — and whether it was created or deleted. Secret headers are recorded by key only; a secret value never appears in the history. A signing secret is recorded only as set, replaced, or removed.

***

## Limits and safeguards

| **Rule** | **Detail** |
| - | - |
| HTTPS only | A base URL must use `https://`. |
| Credentials | Secret header values and the signing secret are encrypted at rest, decrypted only at the moment a request is sent, never returned by the API, and never written to logs. |
| Signing secret | 32–256 characters. |
| Timeout | 100–10,000 ms. The form suggests 5,000 for a new connection. |
| Response size | Capped at 1 MB. A larger response is treated as a failure. |
| Headers | Up to 50 per connection. |
| Documentation | Up to 50,000 characters. |
| Name | Unique within your organization. |

***

## Troubleshooting

The connection saved, but every call fails with a URL error.

* The base URL must be `https://`. A plain `http://` address passes the form and saves, and is rejected when the first request is sent — so the symptom is a connection that looks healthy and never works. Edit the base URL and dry run again.
* Some deployments additionally restrict which hostnames may be called, and that is checked at the same moment. If a valid HTTPS address still fails, contact us.

**A secret header stopped working after I edited the connection.**

* On edit, a secret value comes back blank. Leaving it blank keeps the stored secret; typing anything replaces it. Re-enter the credential in full, or cancel and edit again without touching the field.

**Every call times out.**

* Raise **Timeout (ms)**, up to 10,000. If the endpoint genuinely needs longer than ten seconds, it is not a good fit for a connection — put a faster endpoint in front of it.
* Confirm the endpoint is reachable from the public internet.

**Vibe OnCall says it cannot compose a request for this endpoint.**

* The connection has no **Documentation**. Add the endpoint's API documentation and try again. Until then only the requests your automations were built for will run.

**An automation ran but nothing landed on the alert.**

* Response mappings live on the **Invoke REST connection** action, not on the connection. Check them on the action — see the [Invoke REST connection](https://docs.vibraniumlabs.ai/automations/invoke-rest-connection.md) page.
* Mappings run on the **Alert is created** trigger only. On any other trigger the response is discarded.

**The signature does not match.**

* Verify against the raw body bytes, before any JSON parsing.
* Use the `X-Vibe-Timestamp` from the same request. A request sent again has its own timestamp and signature.
* Use the secret as plain text. Do not decode it from Base64 or hex.
* Make sure your secret matches the connection's exactly. A stored secret cannot be read back — if unsure, select **Replace** and update your endpoint with the new value.

**Nothing happens at all.**

* Check that **Connection enabled** is on. A disabled connection sends no requests and every caller fails immediately.

***

## Related

* [Invoke REST connection](https://docs.vibraniumlabs.ai/automations/invoke-rest-connection.md) — call this endpoint from an automation, and write the response back onto the alert
* [Automation Actions overview](https://docs.vibraniumlabs.ai/automations/automation-actions-overview.md) — triggers, conditions, and the full list of actions
* [Routing](https://docs.vibraniumlabs.ai/alerts/routing.md) — severity, service mapping, and metadata rules applied as an alert arrives


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.