Connect AI/ML API to your AI agent

AI Tools 30 actions available

AI/ML API provides a suite of AI models and solutions for various tasks, including text generation, image processing, and more.

We set up the connection using your own AI/ML API account, with keys you control, and keep it running. Your agent picks it up and starts doing the work.

What your agent can do in AI/ML API

Each one is a real action the agent can take on its own, the same things a person clicking around AI/ML API could do. Read-only by default; write actions are confirmed against your policy.

  • 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 intera…
  • 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.

How we connect it

  1. 1

    Connect your account

    You create a key in AI/ML API, a key you create and control, and paste it in once. It lives in a secrets store on your server, not with us.

  2. 2

    Set the guardrails

    Read-only by default. You choose which write actions the agent may take, and anything outside that policy gets confirmed with you first.

  3. 3

    We keep it running

    Health checks on every connection, updates handled for you, and we watch the first week of activity to make sure the work lands.

AI/ML API questions, answered.

With a key you create and control. You paste it in once, it is stored in a secrets store on your server, permissions are scoped to the minimum the agent needs, and you can revoke it at any time.
The actions AI/ML API's API allows, the same things a person clicking around the app could do. Connections start read-only by default; write actions are confirmed against the policy you set before the agent takes them.
Connections are priced per tool on top of the base plan. Some are included, some are premium. See pricing for how connection charges work.
Standard tools are ready inside 7 business days of the setup call. We test the connection end to end, walk you through how the agent uses it, and watch the first week of activity.

Ready to put AI/ML API to work?

Tell us what your team runs on. We set up the connection, secure it, and your agent takes it from there.

All product names, logos, and brands are property of their respective owners; used for identification only. ZeroToClaw is not affiliated with or endorsed by AI/ML API.