The AI agent
The AI agent creates and evolves your APIs through a conversation: you describe what you need, it proposes an architecture, then creates the project, the endpoints and the data model. It also answers your questions about your APIs.
For a first step-by-step walkthrough, follow Your first API with the AI agent. This page details everything the agent can do.
Open the agent
In the left menu, click AI Agent · Home. The home screen shows the "What do you want to create?" field.
- Type your request, then click Generate or press Enter.
- Once the conversation has started, the bottom field (Ask Grizzly AI a question...) lets you continue the exchange, with the Send button.
- Reset, at the top of the screen, clears the current conversation so you can start over.
While the agent is working, it shows its progress: Analyzing your request..., Designing the architecture..., Generating endpoints..., etc.
What the agent can do
| You ask for | The agent replies with |
|---|---|
| A new API | An Architecture Proposal to validate, then the created API |
| A change ("add a field…") | The updated API |
| A flow (your first message mentions "flow", "flux", "workflow" or "pipeline") | A created flow, with the FLOW badge |
| An explanation ("what does this endpoint do?") | A text answer, without creating or changing anything |
| Turning an OpenAPI contract into an API | An API built from the contract (see Import an OpenAPI contract) |
The architecture proposal
For a new API, the agent doesn't create anything right away. It first shows an Architecture Proposal, marked Awaiting validation: the resources, their fields and the planned endpoints. One request can lead to several APIs: the plan lists them all.
- Adjust: the input field is pre-filled with "Je voudrais modifier le plan : " ("I'd like to change the plan:"). Complete it with your changes and send. The agent proposes a new plan.
- Validate and generate: the agent creates everything in the plan.
Adjust before validating
It's easier to fix the plan than the API once it's created. Review the fields and endpoints, and adjust as many times as needed.
What the agent creates
When you validate, the agent creates a project on the Projects page, with its release, resource groups, endpoints and data model. The result is shown in the conversation (CREATED SUCCESSFULLY):
| Element | Content |
|---|---|
| Data Source | The database used: Name, Type, Provider, Database |
| Model card | The name of the main model and its fields (FIELD and TYPE columns), with required fields marked * |
| API card | Its name, the number of endpoints, the type (MICROSERVICE or FLOW) and the list of endpoints |
From the card:
- Open in editor shows the API's contract in the right-hand panel;
- Access project opens the created project (or Access Flow for a flow).
When the plan includes several APIs, each one has its own card with Open in editor; find the created projects on the Projects page.
The API is then a project like any other: you can edit it with the forms, manage its security, its releases or share it.
Data source
The Data Source card shows the database the API was created on. To manage your databases, see Data sources.
Explore and test the contract
The right-hand panel opens automatically after each creation. It has two tabs:
- OpenAPI: the API's title, version and base URL, followed by the list of endpoints;
- Schema: the raw OpenAPI contract, in JSON.
Export OpenAPI contract downloads the contract as JSON or YAML.
To test an endpoint:
- Click the endpoint to expand it.
- Fill in the Parameters. A parameter left empty uses its default value, if it has one.
- For a
POSTorPUT, edit the Request body (JSON), pre-filled with an example. - Click Execute. The status code and the response are shown below the button.
These are real requests
Execute actually calls your API: a POST or a DELETE changes the data in the database. If the body JSON is invalid, the message Invalid JSON — fix it before executing. is shown and execution is blocked.
Target an element in your message
So that the agent knows exactly what you're talking about, attach elements to your message. They appear as tags above the input field; remove one with its cross (Remove).
| Element | How to attach it |
|---|---|
| An endpoint | Click it in the API card, or drag it from the right-hand panel into the input field |
| A field | Click its row in the model card |
| A text excerpt | Double-click a word in one of the agent's answers |
You can send attached elements without any text, or add an instruction: "make this field required", "add pagination to this endpoint".
Import an OpenAPI contract
Already have an OpenAPI contract? The agent can turn it into a Grizzly API.
- Click Import OpenAPI (or the import icon in the bottom field). The Import an OpenAPI contract window opens.
- Click Click to select a file and choose a JSON or YAML file (OpenAPI 3.x or Swagger 2.0).
- Check the preview: API, Version, Spec and number of Endpoints.
- Click Generate with AI.
The file appears in the conversation. The agent analyzes the contract and creates the matching API. The eye icon (See contract) on the file opens the imported contract, which you can copy (Copy contract) or export as JSON or YAML.
If the file isn't a valid contract, the window shows an error message: the file isn't recognized as an OpenAPI/Swagger contract, or it can't be read as valid JSON or YAML.
Voice input
Click Voice (or the microphone icon in the bottom field) and speak: the text is written into the field as you go. Click Stop to finish, review, then send. Recognition follows the application language (French or English).
Depending on your browser
The Voice button only appears if your browser supports speech recognition.
Manage your conversations
The Conversations panel lists your chats under RECENT, THIS WEEK and OLDER, with a Search field.
- New conversation starts a new chat.
- A conversation's … menu offers Rename, Export conversation (text file) and Delete. You can also click the title at the top of the screen to rename it.
Conversations are stored in your browser
The history is stored in your browser: it doesn't appear on another computer and it is lost if you clear your browser data. The APIs you created stay in your projects.
Free plan limit
The APIs created by the agent are projects like any other: they count toward the free plan limit (Community and Self-hosted), which is 3 APIs. Once the limit is reached, delete an API you no longer need, or contact us at contact@grizzly-api.com to move to the Pro plan (see License and support).
Describe your need well
A good description gives a better architecture proposal on the first try:
- Name the objects the API manages: products, orders, customers…
- Specify the important fields and which ones are required.
- Describe the links between objects: "an order contains several products".
- Mention specific needs: search, filters, endpoints not to create.
- One request at a time for changes: it's easier to check.
A few examples:
A meeting room booking API: rooms (name, capacity, floor), bookings (room, date, start time, end time, organizer). I want to list a room's bookings for a given date.
A blog API with articles (title, content, author, publication date, draft or published status) and comments linked to an article. No deleting comments.
Add an endpoint that returns a customer's orders, sorted from most recent to oldest.
Explain what this endpoint does and which parameters it expects.
What's next?
- Find and edit the created API: Manage your projects and Resource groups and endpoints.
- Protect it: Security.
- Automate processing: Flows.
- Call it from your application: Call your API.
