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

# Publish an intention (status → active)



## OpenAPI

````yaml /openapi.yaml post /v1/intentions/{id}/publish
openapi: 3.1.0
info:
  title: Inviolet Gateway API
  description: |
    Intent-based access control for AI agents. Every endpoint lives under
    `/v1/*` and authenticates via `Authorization: Bearer <api-key>`. Keys
    are provisioned in the UI at `/developer/api-keys`.
  version: 0.6.0
  contact:
    name: Inviolet
    url: https://inviolet.ai
  license:
    name: Proprietary
servers:
  - url: https://gateway.inviolet.ai
    description: Production
  - url: http://localhost:8080
    description: Local development
security:
  - BearerAuth: []
tags:
  - name: Intent
    description: Core evaluation loop.
  - name: Intentions
    description: Declarative intent patterns.
  - name: Approvals
    description: Human-in-the-loop approvals.
  - name: Webhooks
    description: Outbound HMAC-signed event delivery.
paths:
  /v1/intentions/{id}/publish:
    post:
      tags:
        - Intentions
      summary: Publish an intention (status → active)
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Published.
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: ApiKey
      description: |
        API key minted at /developer/api-keys. Three scopes: `read_only`,
        `policy_write`, `admin`.

````