ai-agents
GET
https://hermeticor.com /v1/ai-agents/status Whether agents can run: operator switch and workspace AI opt-in
Code samples
cURL
curl -X GET "https://hermeticor.com/v1/ai-agents/status" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"operatorEnabled": true,
"workspaceEnabled": true,
"available": true
}Schema
operatorEnabledbooleanrequiredworkspaceEnabledbooleanrequiredavailablebooleanrequired4XX Default Response
Example
{
"error": {
"code": "string",
"message": "string",
"details": {}
}
}Schema
errorobjectrequiredShow child parameters
codestringrequiredmessagestringrequireddetailsobjectGET
https://hermeticor.com /v1/ai-agents Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageCode samples
cURL
curl -X GET "https://hermeticor.com/v1/ai-agents" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"kind": "inbox_manager",
"name": "string",
"enabled": true,
"autoSend": true,
"config": {},
"lastRunAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem210[]requiredShow child parameters
idstringrequiredkindstringrequirednamestringrequiredenabledbooleanrequiredautoSendbooleanrequiredconfigobjectrequiredlastRunAtstringrequiredlastErrorstringrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/ai-agents Create an agent. It starts switched off and review-only
Request body
application/json
Example
{
"kind": "inbox_manager",
"name": "string",
"config": {
"categories": [
"positive",
"neutral",
"meeting"
],
"goal": "string",
"signature": "string"
}
}Option 1
kindstringrequirednamestringrequiredconfigobjectrequiredShow child parameters
categoriesstring[]goalstringsignaturestring{
"kind": "inbox_manager",
"name": "string",
"config": {
"categories": [
"positive",
"neutral",
"meeting"
],
"goal": "string",
"signature": "string"
}
}Option 2
kindstringrequirednamestringrequiredconfigobjectrequiredShow child parameters
offerstringrequiredaudiencestringconnectionIdstringrequireddailyLimitintegerresearchFieldstring{
"kind": "sales",
"name": "string",
"config": {
"offer": "string",
"audience": "string",
"connectionId": "string",
"dailyLimit": 10,
"researchField": "string"
}
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/ai-agents" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"kind":"inbox_manager","name":"string","config":{"categories":["positive","neutral","meeting"],"goal":"string","signature":"string"}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"kind": "inbox_manager",
"name": "string",
"enabled": true,
"autoSend": true,
"config": {},
"lastRunAt": "2024-01-01T00:00:00Z",
"lastError": "string",
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredkindstringrequirednamestringrequiredenabledbooleanrequiredautoSendbooleanrequiredconfigobjectrequiredlastRunAtstringrequiredlastErrorstringrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/ai-agents/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/ai-agents/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
DELETE
https://hermeticor.com /v1/ai-agents/{id} Parameters
idstringpathrequiredCode samples
cURL
curl -X DELETE "https://hermeticor.com/v1/ai-agents/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"ok": true
}Schema
okbooleanrequiredPATCH
https://hermeticor.com /v1/ai-agents/{id} Rename, switch on or off, turn auto-send on or off, or change its settings
Parameters
idstringpathrequiredRequest body
application/json
namestringenabledbooleanautoSendbooleanconfigobject{
"name": "string",
"enabled": true,
"autoSend": true,
"config": {}
}Code samples
cURL
curl -X PATCH "https://hermeticor.com/v1/ai-agents/{id}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"string","enabled":true,"autoSend":true,"config":{}}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
POST
https://hermeticor.com /v1/ai-agents/{id}/run Run the agent now instead of waiting for its next pass. Drafts go to the review feed unless auto-send is on
Parameters
idstringpathrequiredCode samples
cURL
curl -X POST "https://hermeticor.com/v1/ai-agents/{id}/run" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"drafted": 0,
"sent": 0,
"blocked": 0,
"skipped": 0
}Schema
draftedintegerrequiredsentintegerrequiredblockedintegerrequiredskippedintegerrequiredGET
https://hermeticor.com /v1/ai-agents/{id}/guidances Parameters
limitintegerqueryPage size; omitted returns the whole list
cursorstringqueryOpaque: the
nextCursor of the previous pageidstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/ai-agents/{id}/guidances" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 Default Response
Example
{
"items": [
{
"id": "string",
"agentId": "string",
"title": "string",
"body": "string",
"position": 0,
"createdAt": "2024-01-01T00:00:00Z"
}
],
"nextCursor": "string"
}Schema
itemsItemsItem211[]requiredShow child parameters
idstringrequiredagentIdstringrequiredtitlestringrequiredbodystringrequiredpositionintegerrequiredcreatedAtstringrequirednextCursorstringrequiredPOST
https://hermeticor.com /v1/ai-agents/{id}/guidances Add a guidance rule (at most 10 per agent)
Parameters
idstringpathrequiredRequest body
application/json
titlestringrequiredbodystringrequiredpositioninteger{
"title": "string",
"body": "string",
"position": 0
}Code samples
cURL
curl -X POST "https://hermeticor.com/v1/ai-agents/{id}/guidances" \
-H "Authorization: Bearer $HERMETICOR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title":"string","body":"string","position":0}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
201 Default Response
Example
{
"id": "string",
"agentId": "string",
"title": "string",
"body": "string",
"position": 0,
"createdAt": "2024-01-01T00:00:00Z"
}Schema
idstringrequiredagentIdstringrequiredtitlestringrequiredbodystringrequiredpositionintegerrequiredcreatedAtstringrequiredGET
https://hermeticor.com /v1/ai-agents/{id}/guidances/{guidanceId} Parameters
idstringpathrequiredguidanceIdstringpathrequiredCode samples
cURL
curl -X GET "https://hermeticor.com/v1/ai-agents/{id}/guidances/{guidanceId}" \
-H "Authorization: Bearer $HERMETICOR_API_KEY"TypeScript
Python
Go
PHP
Ruby
Java
Responses
Updated