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

# Execute Discovery Intent

> Execute the real tool bound to an intent and return a normalized payload.

Ideação a4f526df — this is what closes the "semantic fallback masking
real tool" gap observed in the v1 catalog. Body shape::

    {"board_id": "<uuid>", "params": {"topic": "...", ...}}

Missing required params listed by `intent.params_schema` yield 400 with
the specific field name. Unknown tool_binding yields 400 too so drift is
caught at runtime (a CI parity test is tracked in a separate ideation).



## OpenAPI

````yaml /openapi.json post /api/v1/discovery/intents/{intent_id}/execute
openapi: 3.1.0
info:
  description: >-
    Okto Pulse REST API schema generated from okto-pulse-core 0.2.0 source for
    docs.oktolabs.ai.
  title: Okto Pulse
  version: 0.2.0
servers: []
security: []
paths:
  /api/v1/discovery/intents/{intent_id}/execute:
    post:
      tags:
        - discovery
      summary: Execute Discovery Intent
      description: >-
        Execute the real tool bound to an intent and return a normalized
        payload.


        Ideação a4f526df — this is what closes the "semantic fallback masking

        real tool" gap observed in the v1 catalog. Body shape::

            {"board_id": "<uuid>", "params": {"topic": "...", ...}}

        Missing required params listed by `intent.params_schema` yield 400 with

        the specific field name. Unknown tool_binding yields 400 too so drift is

        caught at runtime (a CI parity test is tracked in a separate ideation).
      operationId: >-
        execute_discovery_intent_api_v1_discovery_intents__intent_id__execute_post
      parameters:
        - in: path
          name: intent_id
          required: true
          schema:
            title: Intent Id
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              title: Payload
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: >-
                  Response Execute Discovery Intent Api V1 Discovery Intents 
                  Intent Id  Execute Post
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````