OpenAI Activities
Use the OpenAI group to work with the models available to your OpenAI account. The activities call the OpenAI REST API and return its response to the workflow.
Available activities
| Activity | Purpose |
|---|---|
| List Models | Returns the models available to the account |
| Retrieve Model | Returns details of a single model |
| Delete Model | Deletes a fine-tuned model |
Configure an OpenAI call
- Add the activity to the workflow.
- Supply the OpenAI API key as an
Authorizationheader on the Headers tab. - For Retrieve Model and Delete Model, enter the Model Name.
- Map the request on the Input tab and the response on the Output tab.
These activities build on the REST Client, so their Input and Output are the generic HTTP request and response rather than an OpenAI-shaped payload.
Recommended practices
- Store the API key in a vault-backed variable rather than as literal text in a header.
- Deleting a model cannot be undone; only fine-tuned models the account owns can be deleted.