Skip to main content
POST
Spec Operation Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'

Path Parameters

api_name
string
required

Body

application/json

Payload model for generating examples for a specific operation of the specified spec.

operations_name
string[]

The name of the operation for which examples are to be generated.

context
Context · object

Additional context parameters that may include relevant info for the LLM

count
integer
default:5

The number of examples to generate.

index
boolean
default:false

Flag indicating whether to use the generated examples to index.

force
boolean
default:false

Flag indicating whether to force re-generation of examples.

Response

Successful Response