AI/ML API
artificial intelligence 30 tools availableAI/ML API provides a suite of AI models and solutions for various tasks, including text generation, image processing, and more.
About this integration
Connect AI/ML API to Definable to route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas call AI/ML API's 30 tools directly from chat or scheduled flows. Add it to your persona's available models and route requests to it where it fits best.
Connect AI/ML API to Definable and it becomes a set of typed tools your agents plan with — triggered by events, run on schedules, or invoked mid-conversation. Every write is checked by the verifier before it lands.
AI/ML API · in workflows
What teams actually run.
Three patterns teams run with AI/ML API on day one. Each one is a plain-English prompt — no canvas, no glue code — and you can remix them into anything.
Specialised pipeline
30 tools available
The AI/ML API toolbox.
Every AI/ML API capability your agents can call, each with a typed schema the planner reads. The router picks the right tool per step; the verifier checks the result.
Cancel Run Tool to cancel a run that is currently in progress. Use when you need to stop an assistant run before it completes.
Create Assistant Tool to create an AI assistant with configurable model, instructions, and tools. Use when you need to set up a new assistant that can maintain conversation context and use tools like code_interpreter or file_search.
Create Message Tool to create a new message in a thread. Use when you need to add a user or assistant message to an existing conversation thread.
Create Run Tool to create a run that executes an assistant on a thread. The assistant processes messages in the thread and generates responses based on its instructions and available tools.
Create Thread Tool to create a new thread for conversation with an assistant. Threads store messages and maintain context across interactions. Use when starting a new conversation or when you need a fresh context for assistant interactions.
Delete Assistant Tool to delete an assistant by ID. Use when you need to remove an assistant that is no longer needed.
Delete Message Tool to delete a specific message from a thread. Use when you need to remove an unwanted or erroneous message from a conversation thread.
Delete Thread Tool to delete a thread by its ID. Use when you need to remove an existing thread from the system.
Get Assistant Tool to retrieve details of a specific assistant by ID. Use when you need to fetch configuration, model settings, instructions, or available tools for an existing assistant.
Get Billing Balance Tool to retrieve the current billing balance for the account. Use when you need to check available credits, balance status, or auto-debit configuration.
Get Luma Generation Tool to fetch Luma AI video generation results by generation IDs. Use after creating a generation to check its status and retrieve the generated video URL when completed.
Get Message Tool to retrieve information about a specific message by its ID. Use when you need to fetch details of a particular message in a thread.
Get Response by ID Tool to retrieve a previously generated model response by its unique ID. Use when you need to access details of a specific response, including its output, status, and usage statistics.
Get Run Tool to retrieve a specific run by ID from a thread. Use when you need to check the status, results, or details of a previously created run.
Get Run Step Tool to retrieve a specific run step by its ID within a thread and run. Use when you need detailed information about a particular step's execution status and results.
Get Thread Tool to retrieve information about a specific thread by ID. Use when you need to fetch thread details, metadata, or available tool resources for an existing conversation thread.
List Assistants Tool to list all assistants associated with the account. Use when you need to retrieve available assistants with pagination support.
List Batches Tool to get the status or results of a batch processing job. Use when you need to check the progress or retrieve results of a previously submitted batch.
List Luma AI Generations Tool to fetch user's Luma AI video generations. Use when you need to retrieve a list of all Luma AI video generation tasks for the authenticated user.
List Thread Messages Tool to retrieve a list of messages from a specific thread. Use when you need to fetch conversation history or message content from an AI assistant thread.
List Models Tool to list all available AI models from the AI/ML API. Use when you need to retrieve the complete catalog of 400+ models including chat, image, video, voice, and other model types.
List Models With Details Tool to list all available AI/ML models with detailed information including pricing, features, and capabilities. Use when you need to discover available models or get comprehensive model metadata.
List Runs Tool to list all runs for a specific thread. Use when you need to retrieve runs with pagination support.
List Run Steps Tool to list the steps in a run. Use when you need to retrieve and examine the execution steps of a specific run within a thread.
Submit Tool Outputs Tool to submit tool outputs for a run that requires action. Use when a run has status 'requires_action' and needs tool call results to continue execution.
Text Chat Completion Tool to generate text completions or chat responses using a specified LLM model. Use after assembling the conversation history to produce the next response.
Update Assistant Tool to modify an existing assistant's properties including name, instructions, model, and tools. Use when you need to update an assistant's configuration or behavior after it has been created.
Update Message Tool to modify metadata for a specific message in a thread. Use when you need to update message metadata such as tags or custom fields.
Update Run Tool to update a run's metadata with key-value pairs. Use when you need to attach or modify additional information for a specific run.
Update Thread Tool to update thread metadata and tool resources in the AI/ML API. Use when you need to modify existing thread properties or attach resources.
See it run
One prompt, start to finish.
A real prompt, the AI/ML API tools it calls, and what comes back. This is the whole interface — describe the outcome, agents handle the rest.
Run a real AI/ML API task end-to-end — plan it, execute across the API, and hand back a verified result.
ai_ml_api.cancel_run Tool to cancel a run that is currently in progress. Use when you need to stop an assistant ai_ml_api.create_assistant Tool to create an AI assistant with configurable model, instructions, and tools. Use when ai_ml_api.create_message Tool to create a new message in a thread. Use when you need to add a user or assistant mes · verified Done. AI/ML API responded across 3 calls, the verifier signed off, and the result is logged with every payload.
FAQ · AI/ML API
Questions, answered.
What teams ask before connecting AI/ML API.
01 What can I automate with AI/ML API on Definable?
Anything AI/ML API exposes through its API. Common artificial intelligence workflows on Definable include route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas can call any of the 30 AI/ML API tools directly, then chain the result into another integration without you writing code.
02 How does AI/ML API authentication work?
AI/ML API uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.
03 Is the AI/ML API integration included in my Definable plan?
Yes — every Definable plan, including Starter, includes access to all 30 AI/ML API tools. You only need a separate AI/ML API subscription if AI/ML API itself charges per seat or per API call.
04 Is using AI/ML API through Definable secure?
Every call from a persona to AI/ML API is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.
05 How do I get started with AI/ML API on Definable?
Sign up for Definable, open the integrations page, find AI/ML API, and connect via OAuth or API key. You can immediately attach AI/ML API to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.
06 What AI/ML API actions does Definable expose?
Definable exposes all 30 AI/ML API actions as callable tools — including `Cancel Run`, `Create Assistant`, `Create Message`, plus 27 more. Each tool gets a typed parameter schema so personas know exactly how to call it.
Put AI/ML API to work tonight.
Connect in two clicks, describe an outcome, and your first workflow is live in minutes. Free plan included — no card required.