Upwind Events API

The events API from Upwind — 3 operation(s) for events.

Operations 3

POST /v1/organizations/{organization-id}/events Create an event #
POST /v1/organizations/{organization-id}/events/shift-left/search Search ShiftLeft events #
POST /v2/organizations/{organization-id}/events/shift-left/search Search ShiftLeft events #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/upwind-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

upwind-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Upwind Events API
  contact:
    name: Upwind Support
    email: support@upwind.io
    url: https://docs.upwind.io/
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged events across 2 of this provider''s published API definitions: upwind-management-v1-openapi.yml, upwind-management-v2-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.upwind.io
  description: Production endpoint (US)
- url: https://api.eu.upwind.io
  description: Production endpoint (EU)
- url: https://api.me.upwind.io
  description: Production endpoint (ME)
security:
- OAuth2ClientCredentials: []
tags:
- name: Events
paths:
  /v1/organizations/{organization-id}/events:
    post:
      operationId: createEvent
      summary: Create an event
      description: A `POST` request sent to the endpoint root creates an Event object that is associated with the specified organization. To learn more about Events, refer to the Continuous Integration (CI) page.
      tags:
      - Events
      parameters:
      - description: The unique identifier for the Upwind organization.
        example: org_Xk9mPq7RtYwN2vLs
        in: path
        name: organization-id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  oneOf:
                  - allOf:
                    - circular(EventData)
                    - type: object
                      properties:
                        branch:
                          type: string
                          description: The name of the branch involved in the event.
                        build_time:
                          type: string
                          format: date-time
                          description: Build time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                        commit_sha:
                          type: string
                          description: The SHA of the commit involved in the event.
                        image:
                          type: string
                          description: The name of the image involved in the event.
                        image_sha:
                          type: string
                          description: The SHA of the image involved in the event.
                        pull_request_ids:
                          type: array
                          description: The identifiers of the Pull Requests involved in the event.
                          items:
                            type: integer
                            format: int32
                        repository:
                          type: string
                          description: The name of the repository involved in the event.
                        user:
                          type: string
                        version_control_platform:
                          type: string
                          description: The name of the version control platform.
                    title: CiEventData
                  - allOf:
                    - circular(EventData)
                    - type: object
                      properties:
                        cluster_id:
                          type: string
                          description: The unique identifier for the cluster associated with the resource involved in the event.
                        end_time:
                          type: string
                          format: date-time
                          description: End time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                        initiator:
                          type: string
                          description: The initiator of the event.
                        resource_kind:
                          type: string
                          description: The kind of the resource involved in the event.
                        resource_name:
                          type: string
                          description: The name of the resource involved in the event.
                        resource_namespace:
                          type: string
                          description: The namespace of the resource involved in the event.
                        start_time:
                          type: string
                          format: date-time
                          description: Start time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                    title: CdEventData
                  title: EventData
                reporter:
                  type: string
                  enum:
                  - circle_ci
                  - CIRCLE_CI
                  - github_actions
                  - GITHUB_ACTIONS
                  - CUSTOM_CI
                  - custom_ci
                  - CUSTOM_CD
                type:
                  type: string
                  enum:
                  - IMAGE_BUILD
                  - image_build
                  - IMAGE_DEPLOY
              title: EventRequest
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    oneOf:
                    - allOf:
                      - circular(EventData)
                      - type: object
                        properties:
                          branch:
                            type: string
                            description: The name of the branch involved in the event.
                          build_time:
                            type: string
                            format: date-time
                            description: Build time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                          commit_sha:
                            type: string
                            description: The SHA of the commit involved in the event.
                          image:
                            type: string
                            description: The name of the image involved in the event.
                          image_sha:
                            type: string
                            description: The SHA of the image involved in the event.
                          pull_request_ids:
                            type: array
                            description: The identifiers of the Pull Requests involved in the event.
                            items:
                              type: integer
                              format: int32
                          repository:
                            type: string
                            description: The name of the repository involved in the event.
                          user:
                            type: string
                          version_control_platform:
                            type: string
                            description: The name of the version control platform.
                      title: CiEventData
                    - allOf:
                      - circular(EventData)
                      - type: object
                        properties:
                          cluster_id:
                            type: string
                            description: The unique identifier for the cluster associated with the resource involved in the event.
                          end_time:
                            type: string
                            format: date-time
                            description: End time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                          initiator:
                            type: string
                            description: The initiator of the event.
                          resource_kind:
                            type: string
                            description: The kind of the resource involved in the event.
                          resource_name:
                            type: string
                            description: The name of the resource involved in the event.
                          resource_namespace:
                            type: string
                            description: The namespace of the resource involved in the event.
                          start_time:
                            type: string
                            format: date-time
                            description: Start time in date-time notation as defined by RFC 3339, section 5.6, for example, 2022-08-22T17:32:28Z
                      title: CdEventData
                    title: EventData
                  id:
                    type: string
                    description: ID of the event
                  reporter:
                    type: string
                    description: The entity creating the event.
                    enum:
                    - circle_ci
                    - CIRCLE_CI
                    - github_actions
                    - GITHUB_ACTIONS
                    - CUSTOM_CI
                    - custom_ci
                    - CUSTOM_CD
                  type:
                    type: string
                    description: The type of event.
                    enum:
                    - IMAGE_BUILD
                    - image_build
                    - IMAGE_DEPLOY
                title: EventList
          description: Created
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '429':
          description: Rate Limit Exceeded
      security:
      - OAuth2ClientCredentials: []
    servers:
    - url: https://api.upwind.io
      description: Production endpoint (US)
    - url: https://api.eu.upwind.io
      description: Production endpoint (EU)
    - url: https://api.me.upwind.io
      description: Production endpoint (ME)
  /v1/organizations/{organization-id}/events/shift-left/search:
    post:
      operationId: searchShiftLeftEvents
      summary: Search ShiftLeft events
      description: A `POST` request sent to the endpoint searches for ShiftLeft Events between the start_time and end_time.
      tags:
      - Events
      parameters:
      - description: The unique identifier for the Upwind organization.
        example: org_Xk9mPq7RtYwN2vLs
        in: path
        name: organization-id
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              description: Request body for searching shift-left events
              properties:
                end_time:
                  type: integer
                  format: int64
                  description: End of the time range filter as Unix timestamp in milliseconds.
                start_time:
                  type: integer
                  format: int64
                  description: Start of the time range filter as Unix timestamp in milliseconds.
              title: ShiftLeftListEventSearchRequest
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    description: ShiftLeft Events
                    items:
                      type: object
                      properties:
                        architecture:
                          type: string
                        branch:
                          type: string
                        commit_sha:
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                        fingerprint:
                          type: string
                        image:
                          type: string
                        image_sha:
                          type: string
                        image_size:
                          type: integer
                          format: int64
                        initiator:
                          type: string
                        os:
                          type: string
                        repository:
                          type: string
                        repository_scan_details:
                          type: object
                          properties:
                            main_branch_name:
                              type: string
                            pr_id:
                              type: string
                            pr_link:
                              type: string
                          title: ShiftLeftRepositoryEventData
                        source:
                          type: string
                        type:
                          type: string
                        updatedAt:
                          type: string
                          format: date-time
                        variant:
                          type: string
                      title: ShiftLeftEventData
                  metadata:
                    description: Pagination metadata
                    type: object
                    properties:
                      limit:
                        type: integer
                        format: int32
                        description: The maximum number of items returned per page
                        example: 20
                      next_cursor:
                        type: string
                        description: Cursor for fetching the next page of results. Absent if there are no more pages.
                        example: eyJvZmZzZXQiOjIwfQ
                      previous_cursor:
                        type: string
                        description: Cursor for fetching the previous page of results. Absent if this is the first page.
                        example: eyJvZmZzZXQiOjB9
                    title: ApiPaginationMetadata
                title: ShiftLeftSearchEventsData
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '429':
          description: Rate Limit Exceeded
      security:
      - OAuth2ClientCredentials: []
    servers:
    - url: https://api.upwind.io
      description: Production endpoint (US)
    - url: https://api.eu.upwind.io
      description: Production endpoint (EU)
    - url: https://api.me.upwind.io
      description: Production endpoint (ME)
  /v2/organizations/{organization-id}/events/shift-left/search:
    post:
      operationId: searchShiftLeftEvents
      summary: Search ShiftLeft events
      description: A POST request sent to the search endpoint returns a filtered list of ShiftLeft events that are associated with the specified organization based on the specified search criteria.
      tags:
      - Events
      parameters:
      - description: The unique identifier for the Upwind organization.
        example: org_Xk9mPq7RtYwN2vLs
        in: path
        name: organization-id
        required: true
        schema:
          type: string
      - description: Specifies the maximum number of items to be returned.
        in: query
        name: limit
        required: false
        schema:
          type: integer
          format: int32
          default: 50
          maximum: 100
          minimum: 1
      - description: A cursor for pagination to retrieve the next set of results.
        example: eyJvZmZzZXQiOjIwfQ
        in: query
        name: cursor
        required: false
        schema:
          type: string
      - description: 'Sort results by one or more fields. Format: `field` or `field:asc` or `field:desc`. Multiple fields: `field1,field2:desc`. Allowed fields: `update_time`, `create_time`. Default: `update_time:asc`.'
        example: update_time:asc
        in: query
        name: sort
        required: false
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              description: Search request body.
              properties:
                conditions:
                  type: array
                  description: List of filter conditions to apply to the search
                  items:
                    type: object
                    description: A filter condition for search queries
                    properties:
                      field:
                        type: string
                        description: The field name to filter on.
                        enum:
                        - architecture
                        - branch
                        - image
                        - update_time
                        - create_time
                        example: architecture
                      operator:
                        type: string
                        description: The comparison operator to apply.
                        enum:
                        - eq
                        - contains
                        - like
                        - in
                        - gte
                        - lte
                        example: eq
                      value:
                        type: array
                        description: The values to compare against.
                        example:
                        - linux/amd64
                        items: {}
                    required:
                    - operator
                    - value
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                description: Successful paginated API response containing items and pagination metadata
                properties:
                  items:
                    type: array
                    description: The list of items in the response
                    items:
                      type: object
                      properties:
                        architecture:
                          type: string
                        branch:
                          type: string
                        commit_sha:
                          type: string
                        create_time:
                          type: string
                          format: date-time
                        fingerprint:
                          type: string
                        image:
                          type: string
                        image_sha:
                          type: string
                        image_size_bytes:
                          type: integer
                          format: int64
                        initiator:
                          type: string
                        os:
                          type: string
                        repository:
                          type: string
                        repository_scan_details:
                          type: object
                          properties:
                            main_branch_name:
                              type: string
                            pr_id:
                              type: string
                            pr_link:
                              type: string
                          title: ApiShiftLeftRepositoryEventData
                        source:
                          type: string
                        type:
                          type: string
                        update_time:
                          type: string
                          format: date-time
                        variant:
                          type: string
                      title: ApiShiftLeftEventData
                  metadata:
                    description: Pagination metadata containing cursor information for navigating results
                    type: object
                    properties:
                      limit:
                        type: integer
                        format: int32
                        description: The maximum number of items returned per page
                        example: 20
                      next_cursor:
                        type: string
                        description: Cursor for fetching the next page of results. Absent if there are no more pages.
                        example: eyJvZmZzZXQiOjIwfQ
                      previous_cursor:
                        type: string
                        description: Cursor for fetching the previous page of results. Absent if this is the first page.
                        example: eyJvZmZzZXQiOjB9
                    title: ApiPaginationMetadata
                title: RestApiPaginatedResponseApiShiftLeftEventData
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
        '429':
          description: Rate Limit Exceeded
      security:
      - OAuth2ClientCredentials: []
    servers:
    - url: https://api.upwind.io
      description: Production endpoint (US)
    - url: https://api.eu.upwind.io
      description: Production endpoint (EU)
    - url: https://api.me.upwind.io
      description: Production endpoint (ME)
components:
  securitySchemes:
    OAuth2ClientCredentials:
      type: oauth2
      description: 'OAuth 2.0 client credentials grant. Obtain client credentials in the Upwind Management Console, then exchange them for a JWT access token at https://auth.upwind.io/oauth/token with an audience matching the regional API host (https://api.upwind.io, https://api.eu.upwind.io, or https://api.me.upwind.io). Send the token as Authorization: Bearer <token>.'
      flows:
        clientCredentials:
          tokenUrl: https://auth.upwind.io/oauth/token
          scopes: {}
x-refined-from:
- upwind-management-v1-openapi.yml
- upwind-management-v2-openapi.yml