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

# http

> Contract, placement, related fields and source examples for this Nika YAML field.

[Language reference](/reference/language/overview) / `http`

## Meaning and placement

### → permits → net

The schema declares this field at the location below.

| Property        | Declaration                                          |
| --------------- | ---------------------------------------------------- |
| Requirement     | Optional in this object                              |
| Schema location | `/properties/permits/properties/net/properties/http` |
| type            | "array"                                              |

[Schema source (use the pointer above)](https://github.com/supernovae-st/nika-spec/blob/c5ebbb7b862b68bc6cf7235efba61173b844afc6/schemas/workflow.schema.json)

## In a source template

Excerpt from `templates/gate-and-act.nika.yaml`, source lines 32–41. This is a fragment, not a runnable workflow.

```yaml illustration theme={"system"}
permits:                            # the blast radius · default-deny once present
  tools: ["nika:fetch", "nika:notify"]
  net:
    http:
      - "api.example.com"           # SLOT: the watched host from const.source_url
      - "hooks.slack.com"           # SLOT: the host ALERTS_WEBHOOK_URL points at.
                                    #   `host_from_self` below means the host is not
                                    #   knowable at check — it is judged at RUN against
                                    #   this list, so an unnamed host fails mid-flight.

```

### Templates containing this field

| Template                           | Source                                                                                                                                   |
| ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `templates/gate-and-act.nika.yaml` | [Line 35](https://github.com/supernovae-st/nika-spec/blob/c5ebbb7b862b68bc6cf7235efba61173b844afc6/templates/gate-and-act.nika.yaml#L35) |

These are literal key occurrences in the source files, not an execution or conformance claim. [How to instantiate a template](/guides/templates).

## Contract and implementation

This page projects the named specification revision. Check [released engine status](/reference/status) and [the validation workflow](/guides/agent-authoring) before running a file. An optional field is not evidence that every engine supports every value.

Canonical identity: `language:word:http`. Spec revision: [`c5ebbb7b862b`](https://github.com/supernovae-st/nika-spec/tree/c5ebbb7b862b68bc6cf7235efba61173b844afc6).

[How documentation stays connected](/reference/knowledge-system).
