Skip to main content
GET
/
v1
/
agents
/
{agentId}
/
stages
/
{stageId}
Obtener detalle de un stage específico
curl --request GET \
  --url https://agents.studio.getsupervisor.ai/v1/agents/{agentId}/stages/{stageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-workspace-id: <x-workspace-id>'
{
  "id": "0f44f6d1-f466-4367-bf25-37ce49b0d9c8",
  "agentId": "38f62697-0f4b-49bc-8a0c-67256f5af6ff",
  "blueprintId": "c09f3fa9-5082-4b0e-96b8-7426e672d88a",
  "name": "welcome",
  "title": "Bienvenida",
  "goalPrompt": "Saluda, valida que el lead hable español y confirma disponibilidad para asistirlo.",
  "promptInstructions": [
    "Identifica el idioma del usuario",
    "Confirma que está listo para la siguiente etapa"
  ],
  "order": 0,
  "triggers": [
    {
      "id": "72bf4f36-9d60-4f2f-94d9-5a52e5411ae9",
      "stageId": "0f44f6d1-f466-4367-bf25-37ce49b0d9c8",
      "blueprintId": "c09f3fa9-5082-4b0e-96b8-7426e672d88a",
      "condition": {
        "type": "intent",
        "value": "schedule_call"
      },
      "nextStageName": "schedule_call",
      "createdAt": "2025-10-01T14:07:11.000Z",
      "updatedAt": "2025-10-01T14:07:11.000Z"
    }
  ],
  "metadata": {
    "channel": "voice"
  },
  "createdAt": "2025-10-01T14:07:11.000Z",
  "updatedAt": "2025-10-05T09:32:42.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Path Parameters

agentId
string<uuid>
required

Identificador del agente

stageId
string<uuid>
required

Identificador del stage dentro del blueprint del agente

Response

Stage encontrado

id
string<uuid>
required
agentId
string<uuid>
required
blueprintId
string<uuid>
required
name
string
required

Nombre estable del stage (slug amigable para referencias entre triggers).

Minimum string length: 1
goalPrompt
string
required

Objetivo del stage expresado como prompt de alto nivel.

Minimum string length: 1
promptInstructions
string[]
required

Lista ordenada de instrucciones que contextualizan el goal prompt.

order
integer
required

Posición del stage dentro del blueprint.

triggers
object[]
required

Triggers asociados al stage.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
title
string | null

Título legible que se muestra en el editor.

metadata
object

Campos adicionales definidos por el workspace.