Saltar al contenido principal

Endpoint

GET /v1/workflows/{workflowId}

Solicitud

curl -X GET "http://client-omni-api.argosidentity.com/v1/workflows/{workflowId}" \
  -H "x-api-key: your-api-key-here"

Respuesta

id
string
requerido
Identificador único del workflow
name
string
requerido
Nombre del workflow
policy
string
requerido
Texto de la policy en lenguaje natural
engines
array
requerido
Lista de engines seleccionados para ese workflow
outputSchema
object
requerido
JSON schema que define la estructura de los resultados del análisis
{
  "success": true,
  "data": {
    "id": "wf_nowap27l46b2",
    "name": "KYB Business Verification",
    "policy": "Verify the business entity by extracting company data from registration documents, screening against AML watchlists, and validating registration details.",
    "engines": [
      { "id": "id_autoparser", "name": "ID AutoParser" },
      { "id": "aml_business", "name": "AML Business" },
      { "id": "text_verifier", "name": "Text Verifier" },
      { "id": "web_search", "name": "Web Search" }
    ],
    "outputSchema": {
      "company": {
        "name": "string",
        "registrationNumber": "string",
        "country": "string"
      },
      "verification": {
        "amlResult": "string",
        "registrationValid": "boolean"
      },
      "decision": {
        "result": "string",
        "verificationStatus": "pending_review | approved | rejected"
      }
    },
    "createdAt": "2026-01-15T09:00:00Z"
  }
}

GET /workflows/:workflowId/summary

Versión resumida que devuelve solo el metadata esencial del workflow, optimizada para listados.
curl -X GET "http://client-omni-api.argosidentity.com/v1/workflows/{workflowId}/summary" \
  -H "x-api-key: your-api-key-here"
{
  "success": true,
  "data": {
    "id": "wf_nowap27l46b2",
    "name": "KYB Business Verification",
    "engineCount": 4,
    "profileCount": 128,
    "createdAt": "2026-01-15T09:00:00Z"
  }
}