{"service":"OpenAI API","base_url":"https://api.openai.com/v1","auth":{"type":"bearer","header":"Authorization"},"intents":[{"id":"create_chat_completion","method":"POST","path":"/chat/completions","params":{"model":"string","messages":"array"},"returns":"Chat completion response with model answer"},{"id":"create_completion","method":"POST","path":"/completions","params":{"model":"string","prompt":"string","max_tokens":"number","temperature":"number"},"returns":"Text completion from provided prompt"},{"id":"create_embedding","method":"POST","path":"/embeddings","params":{"model":"string","input":"string"},"returns":"Embedding vector for input text"},{"id":"create_transcription","method":"POST","path":"/audio/transcriptions","params":{"file":"string","model":"string"},"returns":"Audio transcribed to text in input language"},{"id":"create_translation","method":"POST","path":"/audio/translations","params":{"file":"string","model":"string"},"returns":"Audio translated to English text"},{"id":"create_image","method":"POST","path":"/images/generations","params":{"prompt":"string","n":"number","size":"string"},"returns":"Generated image URLs based on prompt"},{"id":"create_image_edit","method":"POST","path":"/images/edits","params":{"image":"string","mask":"string","prompt":"string","n":"number","size":"string"},"returns":"Edited or extended image URLs from prompt"},{"id":"create_edit","method":"POST","path":"/edits","params":{"model":"string","input":"string","instruction":"string"},"returns":"Edited text following instruction provided"},{"id":"create_fine_tune","method":"POST","path":"/fine-tunes","params":{"training_file":"string","model":"string"},"returns":"Fine-tune job details and status"},{"id":"list_fine_tunes","method":"GET","path":"/fine-tunes","returns":"List of organization fine-tuning jobs"},{"id":"retrieve_fine_tune","method":"GET","path":"/fine-tunes/{fine_tune_id}","params":{"fine_tune_id":"string"},"returns":"Fine-tune job info and status details"},{"id":"cancel_fine_tune","method":"POST","path":"/fine-tunes/{fine_tune_id}/cancel","params":{"fine_tune_id":"string"},"returns":"Cancelled fine-tune job with status"},{"id":"list_fine_tune_events","method":"GET","path":"/fine-tunes/{fine_tune_id}/events","params":{"fine_tune_id":"string","stream":"boolean"},"returns":"Fine-grained status updates for job"},{"id":"list_files","method":"GET","path":"/files","returns":"List of files in user organization"},{"id":"create_file","method":"POST","path":"/files","params":{"file":"string","purpose":"string"},"returns":"Uploaded file with metadata and ID"},{"id":"retrieve_file","method":"GET","path":"/files/{file_id}","params":{"file_id":"string"},"returns":"File information and metadata details"},{"id":"delete_file","method":"DELETE","path":"/files/{file_id}","params":{"file_id":"string"},"returns":"Deleted file confirmation status"},{"id":"download_file","method":"GET","path":"/files/{file_id}/content","params":{"file_id":"string"},"returns":"File contents in original format"},{"id":"list_engines","method":"GET","path":"/engines","returns":"Available non-finetuned models list"},{"id":"retrieve_engine","method":"GET","path":"/engines/{engine_id}","params":{"engine_id":"string"},"returns":"Engine information and availability status"}]}