Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Discover - Amazon EventBridge Schemas

Discover

Allows you get the discovered schemas that have been inferred from events on an event bus.

Note

Discoverer will only infer events that are nested up to 255 levels. Any events past 255 levels are ignored.

URI

/v1/discover

HTTP methods

POST

Operation ID: GetDiscoveredSchema

Get the discovered schema that was generated based on sampled events.

Responses
Status codeResponse modelDescription
200GetDiscoveredSchemaOutput

200 response

400ErrorOutput

400 response

401ErrorOutput

401 response

403ErrorOutput

403 response

500ErrorOutput

500 response

503ErrorOutput

503 response

OPTIONS

Responses
Status codeResponse modelDescription
200None

200 response

Schemas

Request bodies

{ "Type": enum, "Events": [ "string" ] }

POST schema

{ "Type": enum, "Events": [ "string" ] }

Response bodies

{ "Content": "string" }

GetDiscoveredSchemaOutput schema

{ "Content": "string" }
{ "Message": "string", "Code": "string" }

ErrorOutput schema

{ "Message": "string", "Code": "string" }

Properties

ErrorOutput

PropertyTypeRequiredDescription
Code

string

True

The error code.

Message

string

True

The message string of the error output.

GetDiscoveredSchemaInput

PropertyTypeRequiredDescription
Events

Array of type string

True

An array of strings where each string is a JSON event. These are the events that were used to generate the schema. The array includes a single type of event and has a maximum size of 10 events.

Type

Type

True

The type of event.

GetDiscoveredSchemaOutput

PropertyTypeRequiredDescription
Content

string

False

The source of the schema definition.

Type

The type of schema to export.

  • OpenApi3

  • JSONSchemaDraft4

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.