Contextual AI Agents API

Create, configure, and manage RAG agents.

GitHub OpenAPI
Business capability
Artificial Intelligence Management BC-610.60

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /agents List agents · List Agents #
Ask an LLM
“Which agents have I created?”
“Can I page through all my agents?”
Tell an agent
List all my agents.
Show {limit} agents starting from cursor {cursor}.
POST /agents Create an agent · Create Agent #
Ask an LLM
“How do I create an agent that queries my datastores?”
“Can I set suggested queries and a filter prompt when creating an agent?”
Tell an agent
Create an agent named {name} from template {template_name}.
Create agent {name} using datastores {datastore_ids}.
DELETE /agents/{agent_id} Delete an agent · Delete Agent #
Ask an LLM
“How do I delete an agent?”
“Is deleting an agent permanent?”
Tell an agent destructive · confirm first
Delete agent {agent_id}.
Permanently remove agent {agent_id}.
PUT /agents/{agent_id} Edit an agent · Edit Agent #
Ask an LLM
“How do I change the system prompt on an existing agent?”
“Can I add suggested queries to an agent I already created?”
Tell an agent
Change the system prompt of agent {agent_id} to {system_prompt}.
Set suggested queries {suggested_queries} on agent {agent_id}.
GET /agents/{agent_id}/metadata Get an agent's metadata · Get Agent Metadata #
Ask an LLM
“What configuration does a particular agent have?”
“Can I see the suggested queries and datastores of one agent?”
Tell an agent
Show the metadata of agent {agent_id}.
Get the configuration of agent {agent_id}.
PUT /agents/{agent_id}/reset Reset an agent to defaults · Reset Agent #
Ask an LLM
“How do I restore an agent to its default configuration?”
“Can I undo all my edits to an agent?”
Tell an agent destructive · confirm first
Reset agent {agent_id} to default configuration.
Restore agent {agent_id} to its original settings.
POST /agents/{agent_id}/template Save an agent as a template · Save Template #
Ask an LLM
“How do I save an agent's configuration as a reusable template?”
“Can I give a saved agent template a custom name?”
Tell an agent
Save agent {agent_id} as a template named {name}.
Save the configuration of agent {agent_id} as template {name}.
GET /agents/templates List agent templates · List Templates #
Ask an LLM
“What agent templates are available?”
“Which built-in templates can I use to create an agent?”
Tell an agent
List all agent templates.
Show every available agent template.
GET /agents/templates/acl List Agent Composer templates · List Agent Composer Templates #
Ask an LLM
“Which Agent Composer templates exist?”
“Can I see the templates designed for the Agent Composer UI?”
Tell an agent
List Agent Composer templates.
Show the templates available in the Agent Composer.
GET /agents/templates/{template} Get a template's configuration · Get Template Configuration #
Ask an LLM
“What does a particular agent template include?”
“Can I view the configuration of a built-in template?”
Tell an agent
Show the configuration of template {template}.
Get the settings of agent template {template}.
POST /agents/{agent_id}/copy Copy an agent · Copy Agent #
Ask an LLM
“How do I duplicate an existing agent?”
“Will a copied agent keep the same datastore associations?”
Tell an agent
Copy agent {agent_id}.
Duplicate agent {agent_id} with all its configurations.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/contextual-ai:contextual-ai-agents-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

contextual-ai-agents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Endpoints /agents API
  version: '1.0'
servers:
- url: https://api.contextual.ai/v1
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/contextual-ai/openapi/contextual-ai-agents-api-openapi.yml