Aveco Ai Agent API
The Ai Agent API from Aveco — 23 operation(s) for ai agent.
The Ai Agent API from Aveco — 23 operation(s) for ai agent.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/aveco-app:aveco-app-ai-agent-api"
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.
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: 3.2.0
info:
title: Aveco Ai Agent API
version: 0.1.0
tags:
- name: Ai Agent
paths:
/api/ai-agent/providers:
get:
summary: Ai Agent Providers
operationId: ai_agent_providers_api_ai_agent_providers_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Ai Agent
/api/ai-agent/metrics:
get:
summary: Ai Agent Metrics
description: 'Rollup over the project''s agents for the last 30 days
(docs/ai_sales_agent_master_plan.md §14 Фаза 4).'
operationId: ai_agent_metrics_api_ai_agent_metrics_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Ai Agent
/api/ai-agent/agents:
get:
summary: Ai Agent List
operationId: ai_agent_list_api_ai_agent_agents_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Ai Agent
post:
summary: Ai Agent Create
operationId: ai_agent_create_api_ai_agent_agents_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/AgentCreateBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/agents/{agent_id}:
get:
summary: Ai Agent Detail
operationId: ai_agent_detail_api_ai_agent_agents__agent_id__get
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
patch:
summary: Ai Agent Update
operationId: ai_agent_update_api_ai_agent_agents__agent_id__patch
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AgentUpdateBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
delete:
summary: Ai Agent Delete
operationId: ai_agent_delete_api_ai_agent_agents__agent_id__delete
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/keys/connect:
post:
summary: Ai Agent Key Connect
operationId: ai_agent_key_connect_api_ai_agent_keys_connect_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KeyConnectBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/keys/{provider}/test:
post:
summary: Ai Agent Key Test
operationId: ai_agent_key_test_api_ai_agent_keys__provider__test_post
parameters:
- name: provider
in: path
required: true
schema:
type: string
title: Provider
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/keys/{provider}/disconnect:
post:
summary: Ai Agent Key Disconnect
operationId: ai_agent_key_disconnect_api_ai_agent_keys__provider__disconnect_post
parameters:
- name: provider
in: path
required: true
schema:
type: string
title: Provider
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/knowledge:
post:
summary: Ai Agent Knowledge Create
operationId: ai_agent_knowledge_create_api_ai_agent_knowledge_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeCreateBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/knowledge/{source_id}:
patch:
summary: Ai Agent Knowledge Update
operationId: ai_agent_knowledge_update_api_ai_agent_knowledge__source_id__patch
parameters:
- name: source_id
in: path
required: true
schema:
type: integer
title: Source Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeUpdateBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
delete:
summary: Ai Agent Knowledge Delete
operationId: ai_agent_knowledge_delete_api_ai_agent_knowledge__source_id__delete
parameters:
- name: source_id
in: path
required: true
schema:
type: integer
title: Source Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/agents/{agent_id}/assignments:
post:
summary: Ai Agent Assignment Create
operationId: ai_agent_assignment_create_api_ai_agent_agents__agent_id__assignments_post
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssignmentCreateBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/assignments/{assignment_id}:
patch:
summary: Ai Agent Assignment Update
description: 'Per-channel autonomy override (plan §4.5 / §5.2). Empty string or
null clears it back to "inherit the profile".'
operationId: ai_agent_assignment_update_api_ai_agent_assignments__assignment_id__patch
parameters:
- name: assignment_id
in: path
required: true
schema:
type: integer
title: Assignment Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AssignmentUpdateBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
delete:
summary: Ai Agent Assignment Delete
operationId: ai_agent_assignment_delete_api_ai_agent_assignments__assignment_id__delete
parameters:
- name: assignment_id
in: path
required: true
schema:
type: integer
title: Assignment Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/inbox:
get:
summary: Ai Agent Inbox
operationId: ai_agent_inbox_api_ai_agent_inbox_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Ai Agent
/api/ai-agent/dialogs/{dialog_id}:
get:
summary: Ai Agent Dialog Detail
operationId: ai_agent_dialog_detail_api_ai_agent_dialogs__dialog_id__get
parameters:
- name: dialog_id
in: path
required: true
schema:
type: integer
title: Dialog Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/escalations/{esc_id}/answer:
post:
summary: Ai Agent Escalation Answer
operationId: ai_agent_escalation_answer_api_ai_agent_escalations__esc_id__answer_post
parameters:
- name: esc_id
in: path
required: true
schema:
type: integer
title: Esc Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/EscalationAnswerBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/escalations/{esc_id}/dismiss:
post:
summary: Ai Agent Escalation Dismiss
operationId: ai_agent_escalation_dismiss_api_ai_agent_escalations__esc_id__dismiss_post
parameters:
- name: esc_id
in: path
required: true
schema:
type: integer
title: Esc Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/dialogs/{dialog_id}/takeover:
post:
summary: Ai Agent Dialog Takeover
operationId: ai_agent_dialog_takeover_api_ai_agent_dialogs__dialog_id__takeover_post
parameters:
- name: dialog_id
in: path
required: true
schema:
type: integer
title: Dialog Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/dialogs/{dialog_id}/release:
post:
summary: Ai Agent Dialog Release
operationId: ai_agent_dialog_release_api_ai_agent_dialogs__dialog_id__release_post
parameters:
- name: dialog_id
in: path
required: true
schema:
type: integer
title: Dialog Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/drafts/{log_id}/resolve:
post:
summary: Ai Agent Draft Resolve
description: 'Shadow mode: the manager sends the reply themselves in the channel,
then marks the draft resolved here (optionally with the text they
actually sent, so draft-vs-sent divergence is captured — plan §3).'
operationId: ai_agent_draft_resolve_api_ai_agent_drafts__log_id__resolve_post
parameters:
- name: log_id
in: path
required: true
schema:
type: integer
title: Log Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DraftResolveBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/drafts/{log_id}/cancel-send:
post:
summary: Ai Agent Draft Cancel Send
description: '`semi` review window: client hit "отменить". Nothing was sent; the
draft drops back into the inbox for manual editing (plan §4.2 / §5.3).'
operationId: ai_agent_draft_cancel_send_api_ai_agent_drafts__log_id__cancel_send_post
parameters:
- name: log_id
in: path
required: true
schema:
type: integer
title: Log Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/drafts/{log_id}/send-now:
post:
summary: Ai Agent Draft Send Now
description: '`semi` review window: client hit "отправить сейчас" — the next
scheduler tick promotes the draft immediately (plan §5.3).'
operationId: ai_agent_draft_send_now_api_ai_agent_drafts__log_id__send_now_post
parameters:
- name: log_id
in: path
required: true
schema:
type: integer
title: Log Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/agents/{agent_id}/training-imports:
get:
summary: Ai Agent Training List
operationId: ai_agent_training_list_api_ai_agent_agents__agent_id__training_imports_get
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
post:
summary: Ai Agent Training Create
operationId: ai_agent_training_create_api_ai_agent_agents__agent_id__training_imports_post
parameters:
- name: agent_id
in: path
required: true
schema:
type: integer
title: Agent Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TrainingImportBody'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/compliance:
get:
summary: Ai Agent Compliance List
operationId: ai_agent_compliance_list_api_ai_agent_compliance_get
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Ai Agent
post:
summary: Ai Agent Compliance Upsert
operationId: ai_agent_compliance_upsert_api_ai_agent_compliance_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ComplianceRuleBody'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
/api/ai-agent/compliance/{rule_id}:
delete:
summary: Ai Agent Compliance Delete
operationId: ai_agent_compliance_delete_api_ai_agent_compliance__rule_id__delete
parameters:
- name: rule_id
in: path
required: true
schema:
type: integer
title: Rule Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Ai Agent
components:
schemas:
AgentUpdateBody:
properties:
name:
anyOf:
- type: string
- type: 'null'
title: Name
agent_kind:
anyOf:
- type: string
- type: 'null'
title: Agent Kind
webhook_url:
anyOf:
- type: string
- type: 'null'
title: Webhook Url
webhook_secret:
anyOf:
- type: string
- type: 'null'
title: Webhook Secret
provider:
anyOf:
- type: string
- type: 'null'
title: Provider
model:
anyOf:
- type: string
- type: 'null'
title: Model
style:
anyOf:
- type: string
- type: 'null'
title: Style
style_notes:
anyOf:
- type: string
- type: 'null'
title: Style Notes
persona_gender:
anyOf:
- type: string
- type: 'null'
title: Persona Gender
language_mode:
anyOf:
- type: string
- type: 'null'
title: Language Mode
fixed_language:
anyOf:
- type: string
- type: 'null'
title: Fixed Language
mode:
anyOf:
- type: string
- type: 'null'
title: Mode
autonomous_send_enabled:
anyOf:
- type: boolean
- type: 'null'
title: Autonomous Send Enabled
autonomy_level:
anyOf:
- type: string
- type: 'null'
title: Autonomy Level
semi_confidence_threshold:
anyOf:
- type: number
- type: 'null'
title: Semi Confidence Threshold
semi_max_turns:
anyOf:
- type: integer
- type: 'null'
title: Semi Max Turns
semi_review_window_minutes:
anyOf:
- type: integer
- type: 'null'
title: Semi Review Window Minutes
train_on_history_enabled:
anyOf:
- type: boolean
- type: 'null'
title: Train On History Enabled
daily_message_cap:
anyOf:
- type: integer
- type: 'null'
title: Daily Message Cap
work_timezone:
anyOf:
- type: string
- type: 'null'
title: Work Timezone
quiet_hours_start:
anyOf:
- type: string
- type: 'null'
title: Quiet Hours Start
quiet_hours_end:
anyOf:
- type: string
- type: 'null'
title: Quiet Hours End
status:
anyOf:
- type: string
- type: 'null'
title: Status
digest_frequency:
anyOf:
- type: string
- type: 'null'
title: Digest Frequency
type: object
title: AgentUpdateBody
ComplianceRuleBody:
properties:
country_code:
type: string
title: Country Code
channel:
type: string
title: Channel
default: '*'
autonomous_send_allowed:
type: boolean
title: Autonomous Send Allowed
default: false
disclosure_required:
type: boolean
title: Disclosure Required
default: true
notes:
anyOf:
- type: string
- type: 'null'
title: Notes
type: object
required:
- country_code
title: ComplianceRuleBody
KnowledgeUpdateBody:
properties:
title:
anyOf:
- type: string
- type: 'null'
title: Title
content:
anyOf:
- type: string
- type: 'null'
title: Content
type: object
title: KnowledgeUpdateBody
EscalationAnswerBody:
properties:
answer_text:
type: string
title: Answer Text
feed_back_to_agent:
type: boolean
title: Feed Back To Agent
default: true
type: object
required:
- answer_text
title: EscalationAnswerBody
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
DraftResolveBody:
properties:
sent_text:
anyOf:
- type: string
- type: 'null'
title: Sent Text
type: object
title: DraftResolveBody
AgentCreateBody:
properties:
name:
type: string
title: Name
provider:
type: string
title: Provider
model:
type: string
title: Model
style:
type: string
title: Style
default: friendly
type: object
required:
- name
- provider
- model
title: AgentCreateBody
KnowledgeCreateBody:
properties:
title:
type: string
title: Title
content:
type: string
title: Content
kind:
type: string
title: Kind
default: manual_text
agent_id:
anyOf:
- type: integer
- type: 'null'
title: Agent Id
type: object
required:
- title
- content
title: KnowledgeCreateBody
TrainingImportBody:
properties:
source_channel:
type: string
title: Source Channel
default: telegram
type: object
title: TrainingImportBody
AssignmentCreateBody:
properties:
channel:
type: string
title: Channel
channel_account_id:
anyOf:
- type: integer
- type: 'null'
title: Channel Account Id
campaign_id:
anyOf:
- type: integer
- type: 'null'
title: Campaign Id
autonomy_level_override:
anyOf:
- type: string
- type: 'null'
title: Autonomy Level Override
type: object
required:
- channel
title: AssignmentCreateBody
KeyConnectBody:
properties:
provider:
type: string
title: Provider
api_key:
type: string
title: Api Key
label:
anyOf:
- type: string
- type: 'null'
title: Label
type: object
required:
- provider
- api_key
title: KeyConnectBody
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
AssignmentUpdateBody:
properties:
autonomy_level_override:
anyOf:
- type: string
- type: 'null'
title: Autonomy Level Override
type: object
title: AssignmentUpdateBody