Import from OpenAPI file
This endpoint supports the OpenAPI V3 Specification (previously known as Swagger). We have introduced some new fields to the OpenAPI specification that are custom to Open. These fields are:
-
x-open-execute-after: string[]
This field is useful when you want to execute other operation(s) before the current operation/action. it takes an array of operation IDs. The AI will execute the operations in the order they are listed in the array.Example
Suppose you have an action with the operation ID
deleteUserCourses
. Before performing this action, you want to force the AI to list all the courses the user has and then delete them.You can achieve this by adding
['listUserCourses']
to thex-open-execute-after
field. The AI will first execute thelistUserCourses
operation and then proceed to execute thedeleteUserCourses
operation.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Was this page helpful?