List Workspace Operations

Page committed operations newest first. Filter by the original request ID to reconcile an uncertain mutation response.

OAuth scope: api:read.

GET/api/v2/workspaces/{workspaceId}/operations
X-API-Key<token>

Sua API key do Studio, pessoal ou com escopo de workspace. Gere uma em Settings e depois API Keys. As operações que rejeitam API keys de workspace dizem isso na própria descrição.

Em: header

Parâmetros de path

workspaceId*string

Explicit current workspace scope.

Tamanho1 <= length <= 128

Parâmetros de query

limit?integer

Maximum items to return per page. Must be a whole number from 1 to 100. Defaults to 50.

Padrão50
Intervalo1 <= value <= 100
cursor?string

Cursor opaco da página anterior. Devolva-o com a mesma ordenação e os mesmos filtros; apenas limit pode mudar. Altere qualquer outra coisa e a paginação precisa recomeçar sem cursor.

Tamanho1 <= length
requestId?string

Stable client request ID for reconciliation and identical retries.

Tamanho1 <= length <= 128

Corpo da resposta

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://agent-studio.seeyu.ai/api/v2/workspaces/string/operations" \  -H "X-API-Key: YOUR_API_KEY"
{
  "data": [
    {
      "operationId": "string",
      "requestId": "string",
      "workspaceId": "string",
      "kind": "workflow_import",
      "applied": true,
      "status": "processing",
      "resourceIds": [
        "string"
      ],
      "issues": [
        {
          "code": "string",
          "message": "string",
          "workflowId": "string",
          "blockId": "string",
          "subBlockKey": "string"
        }
      ],
      "idMap": {
        "property1": "string",
        "property2": "string"
      },
      "deploymentOperationIds": [
        "string"
      ],
      "deployments": [
        {
          "operationId": "string",
          "workflowId": "string",
          "version": 1,
          "status": "preparing",
          "ready": true,
          "pendingComponents": [
            "string"
          ]
        }
      ],
      "triggerUrlChanges": [
        {
          "workflowName": "string",
          "path": "string"
        }
      ],
      "backgroundWorkId": "string",
      "copyProgress": {
        "status": "pending",
        "copied": 0,
        "failed": 0
      }
    }
  ],
  "nextCursor": "string"
}
{
  "error": {
    "code": "BAD_REQUEST",
    "message": "Invalid request"
  }
}
{
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Authentication required"
  }
}
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Insufficient workspace permissions",
    "details": {
      "code": "INSUFFICIENT_WORKSPACE_ROLE"
    }
  }
}
{
  "error": {
    "code": "NOT_FOUND",
    "message": "Not found"
  }
}
{
  "error": {
    "code": "CONFLICT",
    "message": "Webhook path already in use"
  }
}
{
  "error": {
    "code": "PAYLOAD_TOO_LARGE",
    "message": "Request body is too large"
  }
}
{
  "error": {
    "code": "RATE_LIMITED",
    "message": "API rate limit exceeded",
    "details": {
      "retryAfter": "2026-01-01T00:00:30.000Z"
    }
  }
}
{
  "error": {
    "code": "INTERNAL_ERROR",
    "message": "Internal server error"
  }
}
{
  "error": {
    "code": "SERVICE_UNAVAILABLE",
    "message": "Service temporarily unavailable"
  }
}