---
title: "Execute a raw LLM call for a script workflow"
method: POST
path: "/api/internal/raw-llm"
tags: ["Script Runs"]
---

# Execute a raw LLM call for a script workflow

`POST /api/internal/raw-llm`

## Request body

- object
  - `prompt` string, required
  - `model` string
  - `schema` object
  - `fallbackPort` string

## Response `200`

LLM call completed

## Other responses

- `500` — LLM call failed

---

[API](https://skmtc.dev/desplega-ai/apis/agent-swarm-api.md) · [All operations](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/desplega-ai/apis/agent-swarm-api/revisions/4f62e32be8ec?raw)
