Skip to content

Tasks: API endpoint to run recipes #19358

@BrunoQuaresma

Description

@BrunoQuaresma

User story

As a developer, I want to use an API to run a recipe programaticaly, so I can run a recipe from my client or external script.

Acceptance criteria

  • API endpoint to run a recipe

API details

POST /ai/tasks/recipes//run

It creates a task based in a given recipe. When success, it should return the created recipe.

Body fields

  • Parameter values

Recipe fields

  • Name
  • Prompt
  • Parameters
  • Template display name or name, and version

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions