Import an API spec
import_specSaves API endpoints into a project from OpenAPI, Postman, or other documents, merging by method and path or replacing the full list. Preview and confirm before import.
Instructions
Saves endpoints into an API project from an OpenAPI, Postman or other document (merged by method and path; replace swaps the whole list). Call preview_import first and confirm with the user. May start an AI reading of the API, which uses allowance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| content | No | ||
| project | Yes | Project ref (e.g. payments-kqzxm) or numeric id | |
| replace | No |