---
updatedAt: 2025-02-28T15:41:57.000Z
agentTools:
  projectIndex: https://vectorize.readme.io/llms.txt
---

# Get pipeline events

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Vectorize API (Beta)",
    "version": "0.0.1",
    "description": "API for Vectorize services",
    "contact": {
      "name": "Vectorize",
      "url": "https://vectorize.io"
    }
  },
  "servers": [
    {
      "url": "https://api.vectorize.io/v1",
      "description": "Vectorize API"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "PipelineEvents": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "timestamp": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            }
          },
          "summary": {
            "type": "object",
            "additionalProperties": {
              "nullable": true
            }
          }
        },
        "required": [
          "id",
          "type",
          "timestamp"
        ]
      },
      "GetPipelineEventsResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "nextToken": {
            "type": "string"
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PipelineEvents"
            }
          }
        },
        "required": [
          "message",
          "data"
        ]
      }
    }
  },
  "paths": {
    "/org/{organization}/pipelines/{pipeline}/events": {
      "get": {
        "operationId": "getPipelineEvents",
        "summary": "Get pipeline events",
        "tags": [
          "Pipelines"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string"
            },
            "required": true,
            "name": "organization",
            "in": "path"
          },
          {
            "schema": {
              "type": "string"
            },
            "required": true,
            "name": "pipeline",
            "in": "path"
          },
          {
            "schema": {
              "type": "string"
            },
            "required": false,
            "name": "nextToken",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Pipeline events fetched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPipelineEventsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    },
                    "failedUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "successfulUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    },
                    "failedUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "successfulUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    },
                    "failedUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "successfulUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    },
                    "failedUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "successfulUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "details": {
                      "type": "string"
                    },
                    "failedUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "successfulUpdates": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "error"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}
```