Services

List recent events that occurred for the service with the provided ID.

get/services/{serviceId}/events

Request

  • Base URL
    https://api.render.com/v1
  • Auth
    HTTP bearer

Path parameters

serviceIdstring required

The ID of the service

Query parameters

type'artifact_fetch_failed' | 'artifact_source_changed' | 'autoscaling_config_changed' | 'autoscaling_ended' | 'autoscaling_started' | 'branch_deleted' | 'build_ended' | 'build_started' | 'commit_ignored' | 'cron_job_run_ended' | 'cron_job_run_started' | 'deploy_ended' | 'deploy_started' | 'disk_created' | 'disk_updated' | 'disk_deleted' | 'disk_snapshot_restored' | 'service_disk_usage_high' | 'service_disk_usage_recovered' | 'image_pull_failed' | 'initial_deploy_hook_ended' | 'initial_deploy_hook_started' | 'instance_count_changed' | 'job_run_ended' | 'maintenance_mode_enabled' | 'maintenance_mode_uri_updated' | 'maintenance_ended' | 'maintenance_started' | 'pipeline_minutes_exhausted' | 'plan_changed' | 'pre_deploy_ended' | 'pre_deploy_started' | 'server_available' | 'server_failed' | 'server_hardware_failure' | 'server_restarted' | 'service_resumed' | 'service_suspended' | 'suspender_added' | 'suspender_removed' | 'zero_downtime_redeploy_ended' | 'zero_downtime_redeploy_started' | 'auto_deploy_disabled' | 'auto_deploy_enabled'

The type of event to filter to

startTimestring date-time
Example:2021-06-17T08:15:30Z

Epoch/Unix timestamp of start of time range to return. Defaults to now() - 1 hour.

endTimestring date-time
Example:2021-06-17T08:30:30Z

Epoch/Unix timestamp of end of time range to return. Defaults to now().

cursorstring

The position in the result list to start from when fetching paginated results. For details, see Pagination.

limitinteger

Defaults to 20

The maximum number of items to return. For details, see Pagination.

Response

Successful response

cursorstring required

Changes

    • breaking

      added subschema #17: Disk Snapshot Restored subschema #18: Service Disk Usage High subschema #19: Service Disk Usage Recovered to the // response property oneOf list for the response status

    • breaking

      the //// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to string for status

    • breaking

      the //// response's property type changed from no type to string for status

    • breaking

      the // response's property type changed from no type to string for status

    • breaking

      removed the required property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      removed the optional property //// from the response with the status

    • warning

      added the new canceled enum value to the //// response property for the response status

    • warning

      added the new disk_snapshot_restored enum value to the // response property for the response status

    • warning

      added the new failed enum value to the //// response property for the response status

    • warning

      added the new pending enum value to the //// response property for the response status

    • warning

      added the new running enum value to the //// response property for the response status

    • warning

      added the new service_disk_usage_high enum value to the // response property for the response status

    • warning

      added the new service_disk_usage_recovered enum value to the // response property for the response status

    • warning

      added the new succeeded enum value to the //// response property for the response status

    • info

      added the enum value disk_snapshot_restored to the property anyOf[subschema #1]/ of the query request parameter type

    • info

      added the enum value service_disk_usage_high to the property anyOf[subschema #1]/ of the query request parameter type

    • info

      added the enum value service_disk_usage_recovered to the property anyOf[subschema #1]/ of the query request parameter type

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      the //// response's property pattern ^dsk-[0-9a-z]{20}$ was added for the status

    • info

      the //// response's property pattern ^dsk-[0-9a-z]{20}$ was added for the status

    • info

      the //// response's property pattern ^dsk-[0-9a-z]{20}$ was added for the status

    • info

      the //// response's property pattern ^job-[0-9a-z]{20}$ was added for the status

    • info

      the // response's property pattern ^evt-[0-9a-z]{20}$ was added for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property //// to the response with the status