Openai
Connector for the openai API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://api.openai.com/v1 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
listfiles— GET /files — Returns a list of files that belong to the user's organization.retrievefile— GET /files/{file_id} — Returns information about a specific file.downloadfile— GET /files/{file_id}/content — Returns the contents of the specified file-
listfinetunes— GET /fine-tunes — List your organization's fine-tuning jobs -
retrievefinetune— GET /fine-tunes/{fine_tune_id} — Gets info about the fine-tune job.
listfinetuneevents— GET /fine-tunes/{fine_tune_id}/events — Get fine-grained status updates for a fine-tune job.
Inputs
apiKey— your openai API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: listfiles
apiKey: <your key>