# PyAI Agents API

**Canonical:** https://apis.io/apis/pyai-com/pyai-com-agents-api/  
**Provider:** PyAI — https://apis.io/providers/pyai-com/  
**Base URL:** https://api.pyai.com  
**Documentation:** https://docs.pyai.com/api-reference

PyAI Agents API is one of 23 APIs that [PyAI](https://apis.io/providers/pyai-com/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 2 JSON Schema definitions. Tagged areas include Agents. The published artifact set on APIs.io includes an OpenAPI specification and 2 JSON Schemas.

Agent profiles used by the live Agents Beta console and available directly through the API. Store Omni session config (persona, greeting, voice, conversation knobs) and reference it by id instead of sending a full `configure` frame each call. Profiles remain optional for direct `/v1/omni` integrations.

## Operations (22)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/agents` | List agent profiles |
| POST | `/v1/agents` | Create an agent profile |
| GET | `/v1/agents/{id}` | Get an agent |
| POST | `/v1/agents/{id}` | Update an agent |
| DELETE | `/v1/agents/{id}` | Delete an agent |
| GET | `/v1/agents/widgets` | Find published website widgets and embed snippets |
| GET | `/v1/agents/{id}/widget` | Preview a managed website voice widget |
| PUT | `/v1/agents/{id}/widget/draft` | Save an unpublished website widget |
| POST | `/v1/agents/{id}/widget/publish` | Publish an approved widget revision |
| PUT | `/v1/agents/{id}/tools` | Bind tools to an agent |
| GET | `/v1/tools` | List tools |
| POST | `/v1/tools` | Create or update a custom tool |
| GET | `/v1/tools/{id}` | Get a tool |
| POST | `/v1/tools/{id}` | Update a tool |
| DELETE | `/v1/tools/{id}` | Delete a custom tool |
| POST | `/v1/tools/{id}/test` | Test a tool configuration |
| GET | `/v1/tools/calls` | List recent tool calls |
| GET | `/v1/webhooks/signing-secret` | Get webhook signing secret status |
| POST | `/v1/webhooks/signing-secret` | Mint or rotate the webhook signing secret |
| PUT | `/v1/agents/{id}/knowledgebases` | Bind knowledge bases to an agent |
| GET | `/public/widgets/{publicId}` | Resolve a hosted website widget |
| POST | `/public/widgets/{publicId}/session` | Mint a hosted widget voice session |

## Machine-readable artifacts (4)

- **OpenAPI** — https://artifacts.apis.io/pyai-com/openapi/pyai-com-agents-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/pyai-com/json-schema/pyai-com-agent-config-schema.json
- **JSONSchema** — https://artifacts.apis.io/pyai-com/json-schema/pyai-com-agent-schema.json
- **APIsJSON** — https://artifacts.apis.io/pyai-com/apis.yml

## Other PyAI APIs (12)

- [PyAI AMD API](https://apis.io/apis/pyai-com/pyai-com-amd-api/)
- [PyAI Call Integrations API](https://apis.io/apis/pyai-com/pyai-com-call-integrations-api/)
- [PyAI Cast API](https://apis.io/apis/pyai-com/pyai-com-cast-api/)
- [PyAI Clone API](https://apis.io/apis/pyai-com/pyai-com-clone-api/)
- [PyAI Console creations API](https://apis.io/apis/pyai-com/pyai-com-console-creations-api/)
- [PyAI Dub API](https://apis.io/apis/pyai-com/pyai-com-dub-api/)
- [PyAI Identity API](https://apis.io/apis/pyai-com/pyai-com-identity-api/)
- [PyAI Integrations API](https://apis.io/apis/pyai-com/pyai-com-integrations-api/)
- [PyAI Interpretation API](https://apis.io/apis/pyai-com/pyai-com-interpretation-api/)
- [PyAI Knowledge Bases API](https://apis.io/apis/pyai-com/pyai-com-knowledge-bases-api/)
- [PyAI MCP API](https://apis.io/apis/pyai-com/pyai-com-mcp-api/)
- [PyAI Models API](https://apis.io/apis/pyai-com/pyai-com-models-api/)

## Tags

Agents

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/pyai-com` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/pyai-com/pyai-com-agents-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/pyai-com/.
