Create a new agent.

Create a new agent by importing data either from a sitemap or an uploaded file. This endpoint enables you to initiate the creation of a new agent by supplying the necessary agent data that will be used as the context. You can choose to import the agent knowledge and content from a sitemap url or upload a specific file format that contains the context can be any text, audio or video format. The system will process the provided data and generate a new agent based on the imported or uploaded information. Here is an example to create an agent using a sitemap: API SDK.

OpenAPI.json
View
Download

Purpose

Create a new agent by importing data either from a sitemap or an uploaded file. This endpoint enables you to initiate the creation of a new agent by supplying the necessary agent data that will be used as the context. You can choose to import the agent knowledge and content from a sitemap url or upload a specific file format that contains the context can be any text, audio or video format.

The system will process the provided data and generate a new agent based on the imported or uploaded information.

Here is an example to create an agent using a sitemap: API SDK.

Functionally, this is the primary way to spin up new agents programmatically from your own systems by ingesting a sitemap or file as the initial knowledge base.

At a high level, this is the canonical way to work with agents (your deployed CustomGPT assistants) via the CustomGPT API.

When to use

  • When you need to create a new agent as part of your backend or automation workflows.
  • When onboarding new sites, workspaces or customers and you need to automatically create agents for each of them.
  • As part of a provisioning pipeline where a sitemap or file upload kicks off ingestion without any manual steps in the UI.
Language
Credentials
Bearer
JWT
Click Try It! to start a request and see the response here!